;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0x2b7f
lri $IX1,    #0xdea4
lri $WR1,    #0xe7e6
cw 0xd
call send_back  ; 4152 (0x1038)

lri $AR1,    #0xd99d
lri $IX1,    #0x5318
lri $WR1,    #0x9dca
cw 0xd
call send_back  ; 4153 (0x1039)

lri $AR1,    #0x443f
lri $IX1,    #0x1b3c
lri $WR1,    #0xcc75
cw 0xd
call send_back  ; 4154 (0x103a)

lri $AR1,    #0xdc0d
lri $IX1,    #0xb6b6
lri $WR1,    #0x39a6
cw 0xd
call send_back  ; 4155 (0x103b)

lri $AR1,    #0x7282
lri $IX1,    #0xe9ec
lri $WR1,    #0xa711
cw 0xd
call send_back  ; 4156 (0x103c)

lri $AR1,    #0x6f84
lri $IX1,    #0x209a
lri $WR1,    #0xa30d
cw 0xd
call send_back  ; 4157 (0x103d)

lri $AR1,    #0x41ff
lri $IX1,    #0x4ff4
lri $WR1,    #0x86c3
cw 0xd
call send_back  ; 4158 (0x103e)

lri $AR1,    #0x8b64
lri $IX1,    #0x7688
lri $WR1,    #0x6702
cw 0xd
call send_back  ; 4159 (0x103f)

lri $AR1,    #0x7d54
lri $IX1,    #0x8bc0
lri $WR1,    #0xa224
cw 0xd
call send_back  ; 4160 (0x1040)

lri $AR1,    #0xac49
lri $IX1,    #0xd85a
lri $WR1,    #0xbf3f
cw 0xd
call send_back  ; 4161 (0x1041)

lri $AR1,    #0x9990
lri $IX1,    #0x2c9e
lri $WR1,    #0x600b
cw 0xd
call send_back  ; 4162 (0x1042)

lri $AR1,    #0x4a58
lri $IX1,    #0x1890
lri $WR1,    #0x78a3
cw 0xd
call send_back  ; 4163 (0x1043)

lri $AR1,    #0xc939
lri $IX1,    #0x0e16
lri $WR1,    #0x35b5
cw 0xd
call send_back  ; 4164 (0x1044)

lri $AR1,    #0xcafa
lri $IX1,    #0x0c48
lri $WR1,    #0xd316
cw 0xd
call send_back  ; 4165 (0x1045)

lri $AR1,    #0xbed6
lri $IX1,    #0xfeac
lri $WR1,    #0x826e
cw 0xd
call send_back  ; 4166 (0x1046)

lri $AR1,    #0x3632
lri $IX1,    #0x3ad8
lri $WR1,    #0xc2ee
cw 0xd
call send_back  ; 4167 (0x1047)

lri $AR1,    #0x26f3
lri $IX1,    #0x5a24
lri $WR1,    #0x90b4
cw 0xd
call send_back  ; 4168 (0x1048)

lri $AR1,    #0x7759
lri $IX1,    #0xf4ca
lri $WR1,    #0x7bdd
cw 0xd
call send_back  ; 4169 (0x1049)

lri $AR1,    #0x61ab
lri $IX1,    #0x5f4c
lri $WR1,    #0x64e6
cw 0xd
call send_back  ; 4170 (0x104a)

lri $AR1,    #0xf172
lri $IX1,    #0x5a66
lri $WR1,    #0xad59
cw 0xd
call send_back  ; 4171 (0x104b)

lri $AR1,    #0x83b4
lri $IX1,    #0x894e
lri $WR1,    #0x8168
cw 0xd
call send_back  ; 4172 (0x104c)

lri $AR1,    #0x2ee4
lri $IX1,    #0x59bc
lri $WR1,    #0x587d
cw 0xd
call send_back  ; 4173 (0x104d)

lri $AR1,    #0xa6e1
lri $IX1,    #0xb464
lri $WR1,    #0x484a
cw 0xd
call send_back  ; 4174 (0x104e)

lri $AR1,    #0x74d0
lri $IX1,    #0x2c30
lri $WR1,    #0x2777
cw 0xd
call send_back  ; 4175 (0x104f)

lri $AR1,    #0x922d
lri $IX1,    #0x5634
lri $WR1,    #0xa271
cw 0xd
call send_back  ; 4176 (0x1050)

lri $AR1,    #0x81cf
lri $IX1,    #0x5b78
lri $WR1,    #0x2e6f
cw 0xd
call send_back  ; 4177 (0x1051)

lri $AR1,    #0xc142
lri $IX1,    #0x918c
lri $WR1,    #0x9441
cw 0xd
call send_back  ; 4178 (0x1052)

lri $AR1,    #0xc03d
lri $IX1,    #0xd62a
lri $WR1,    #0x7df0
cw 0xd
call send_back  ; 4179 (0x1053)

lri $AR1,    #0xd383
lri $IX1,    #0x6db0
lri $WR1,    #0x67c5
cw 0xd
call send_back  ; 4180 (0x1054)

lri $AR1,    #0x3404
lri $IX1,    #0x1bc8
lri $WR1,    #0x6ecc
cw 0xd
call send_back  ; 4181 (0x1055)

lri $AR1,    #0x6a91
lri $IX1,    #0xf91c
lri $WR1,    #0x9452
cw 0xd
call send_back  ; 4182 (0x1056)

lri $AR1,    #0xebe1
lri $IX1,    #0x0840
lri $WR1,    #0x8f86
cw 0xd
call send_back  ; 4183 (0x1057)

lri $AR1,    #0x8056
lri $IX1,    #0x9fd2
lri $WR1,    #0x8bb4
cw 0xd
call send_back  ; 4184 (0x1058)

lri $AR1,    #0xbe2b
lri $IX1,    #0x46f6
lri $WR1,    #0x9b3e
cw 0xd
call send_back  ; 4185 (0x1059)

lri $AR1,    #0x3c88
lri $IX1,    #0x7d1e
lri $WR1,    #0x94d6
cw 0xd
call send_back  ; 4186 (0x105a)

lri $AR1,    #0x991d
lri $IX1,    #0xf552
lri $WR1,    #0x6213
cw 0xd
call send_back  ; 4187 (0x105b)

lri $AR1,    #0x51b9
lri $IX1,    #0xf0e2
lri $WR1,    #0x5be6
cw 0xd
call send_back  ; 4188 (0x105c)

lri $AR1,    #0xae9e
lri $IX1,    #0x7cbe
lri $WR1,    #0x8b0c
cw 0xd
call send_back  ; 4189 (0x105d)

lri $AR1,    #0x69d9
lri $IX1,    #0x4058
lri $WR1,    #0x6001
cw 0xd
call send_back  ; 4190 (0x105e)

lri $AR1,    #0x4387
lri $IX1,    #0x2c3a
lri $WR1,    #0x9787
cw 0xd
call send_back  ; 4191 (0x105f)

lri $AR1,    #0xaa3d
lri $IX1,    #0x8a60
lri $WR1,    #0x6659
cw 0xd
call send_back  ; 4192 (0x1060)

lri $AR1,    #0x6a70
lri $IX1,    #0x9958
lri $WR1,    #0x9013
cw 0xd
call send_back  ; 4193 (0x1061)

lri $AR1,    #0xd72e
lri $IX1,    #0xd744
lri $WR1,    #0x9ade
cw 0xd
call send_back  ; 4194 (0x1062)

lri $AR1,    #0x71f2
lri $IX1,    #0x50cc
lri $WR1,    #0x42eb
cw 0xd
call send_back  ; 4195 (0x1063)

lri $AR1,    #0x9ee8
lri $IX1,    #0x8c04
lri $WR1,    #0x8665
cw 0xd
call send_back  ; 4196 (0x1064)

lri $AR1,    #0x4e70
lri $IX1,    #0xde70
lri $WR1,    #0x7bc9
cw 0xd
call send_back  ; 4197 (0x1065)

lri $AR1,    #0x142b
lri $IX1,    #0x0918
lri $WR1,    #0x8250
cw 0xd
call send_back  ; 4198 (0x1066)

lri $AR1,    #0xc765
lri $IX1,    #0xb4d2
lri $WR1,    #0x9d61
cw 0xd
call send_back  ; 4199 (0x1067)

lri $AR1,    #0x6038
lri $IX1,    #0xbcbe
lri $WR1,    #0x51b8
cw 0xd
call send_back  ; 4200 (0x1068)

lri $AR1,    #0xb022
lri $IX1,    #0xfc2e
lri $WR1,    #0x043a
cw 0xd
call send_back  ; 4201 (0x1069)

lri $AR1,    #0xb467
lri $IX1,    #0x70c0
lri $WR1,    #0x8813
cw 0xd
call send_back  ; 4202 (0x106a)

lri $AR1,    #0x741f
lri $IX1,    #0xd10c
lri $WR1,    #0x1b23
cw 0xd
call send_back  ; 4203 (0x106b)

lri $AR1,    #0x8323
lri $IX1,    #0x1bb8
lri $WR1,    #0x655b
cw 0xd
call send_back  ; 4204 (0x106c)

lri $AR1,    #0xbec0
lri $IX1,    #0xfa30
lri $WR1,    #0x890d
cw 0xd
call send_back  ; 4205 (0x106d)

lri $AR1,    #0x8877
lri $IX1,    #0xfde0
lri $WR1,    #0x4fb9
cw 0xd
call send_back  ; 4206 (0x106e)

lri $AR1,    #0x869a
lri $IX1,    #0x9e36
lri $WR1,    #0x6080
cw 0xd
call send_back  ; 4207 (0x106f)

lri $AR1,    #0xaa17
lri $IX1,    #0x5152
lri $WR1,    #0x92ac
cw 0xd
call send_back  ; 4208 (0x1070)

lri $AR1,    #0x4440
lri $IX1,    #0x008c
lri $WR1,    #0xb87d
cw 0xd
call send_back  ; 4209 (0x1071)

lri $AR1,    #0xb6e4
lri $IX1,    #0x55d4
lri $WR1,    #0x8bb0
cw 0xd
call send_back  ; 4210 (0x1072)

lri $AR1,    #0x1c86
lri $IX1,    #0xce04
lri $WR1,    #0x96e3
cw 0xd
call send_back  ; 4211 (0x1073)

lri $AR1,    #0x8df9
lri $IX1,    #0x0022
lri $WR1,    #0x6c64
cw 0xd
call send_back  ; 4212 (0x1074)

lri $AR1,    #0x464d
lri $IX1,    #0x00d0
lri $WR1,    #0x9460
cw 0xd
call send_back  ; 4213 (0x1075)

lri $AR1,    #0xb531
lri $IX1,    #0x14b0
lri $WR1,    #0xba38
cw 0xd
call send_back  ; 4214 (0x1076)

lri $AR1,    #0x73ca
lri $IX1,    #0xe41c
lri $WR1,    #0xa1ce
cw 0xd
call send_back  ; 4215 (0x1077)

lri $AR1,    #0x672b
lri $IX1,    #0xf5fa
lri $WR1,    #0x338f
cw 0xd
call send_back  ; 4216 (0x1078)

lri $AR1,    #0x874d
lri $IX1,    #0x3f04
lri $WR1,    #0xd724
cw 0xd
call send_back  ; 4217 (0x1079)

lri $AR1,    #0xa0d8
lri $IX1,    #0xee42
lri $WR1,    #0xc26d
cw 0xd
call send_back  ; 4218 (0x107a)

lri $AR1,    #0x5b88
lri $IX1,    #0x2f24
lri $WR1,    #0xb3d9
cw 0xd
call send_back  ; 4219 (0x107b)

lri $AR1,    #0x3680
lri $IX1,    #0x3ce2
lri $WR1,    #0xa498
cw 0xd
call send_back  ; 4220 (0x107c)

lri $AR1,    #0x675b
lri $IX1,    #0xbaa2
lri $WR1,    #0x38cd
cw 0xd
call send_back  ; 4221 (0x107d)

lri $AR1,    #0x784b
lri $IX1,    #0xaf0e
lri $WR1,    #0x7144
cw 0xd
call send_back  ; 4222 (0x107e)

lri $AR1,    #0x8518
lri $IX1,    #0xa1b4
lri $WR1,    #0xc3b5
cw 0xd
call send_back  ; 4223 (0x107f)

lri $AR1,    #0x6e47
lri $IX1,    #0x0c1a
lri $WR1,    #0xa43c
cw 0xd
call send_back  ; 4224 (0x1080)

lri $AR1,    #0xa54c
lri $IX1,    #0x77a6
lri $WR1,    #0x93fa
cw 0xd
call send_back  ; 4225 (0x1081)

lri $AR1,    #0xb3f4
lri $IX1,    #0x1d4e
lri $WR1,    #0x5686
cw 0xd
call send_back  ; 4226 (0x1082)

lri $AR1,    #0xb508
lri $IX1,    #0x8b60
lri $WR1,    #0x612b
cw 0xd
call send_back  ; 4227 (0x1083)

lri $AR1,    #0x7b48
lri $IX1,    #0x991c
lri $WR1,    #0xcc92
cw 0xd
call send_back  ; 4228 (0x1084)

lri $AR1,    #0x7fab
lri $IX1,    #0xa778
lri $WR1,    #0x6adf
cw 0xd
call send_back  ; 4229 (0x1085)

lri $AR1,    #0xbf36
lri $IX1,    #0xb9f6
lri $WR1,    #0x81d8
cw 0xd
call send_back  ; 4230 (0x1086)

lri $AR1,    #0xd423
lri $IX1,    #0x31b2
lri $WR1,    #0x6a1e
cw 0xd
call send_back  ; 4231 (0x1087)

lri $AR1,    #0x2dbe
lri $IX1,    #0xc894
lri $WR1,    #0x5a0b
cw 0xd
call send_back  ; 4232 (0x1088)

lri $AR1,    #0xb5be
lri $IX1,    #0xb204
lri $WR1,    #0x4c4a
cw 0xd
call send_back  ; 4233 (0x1089)

lri $AR1,    #0x516b
lri $IX1,    #0x61b6
lri $WR1,    #0x9fb5
cw 0xd
call send_back  ; 4234 (0x108a)

lri $AR1,    #0x6068
lri $IX1,    #0x492a
lri $WR1,    #0x9f86
cw 0xd
call send_back  ; 4235 (0x108b)

lri $AR1,    #0x8261
lri $IX1,    #0xbf70
lri $WR1,    #0x786c
cw 0xd
call send_back  ; 4236 (0x108c)

lri $AR1,    #0x687f
lri $IX1,    #0x1ea4
lri $WR1,    #0x989f
cw 0xd
call send_back  ; 4237 (0x108d)

lri $AR1,    #0xa6e5
lri $IX1,    #0xcdf0
lri $WR1,    #0x766f
cw 0xd
call send_back  ; 4238 (0x108e)

lri $AR1,    #0xbe0f
lri $IX1,    #0x4e44
lri $WR1,    #0x9a73
cw 0xd
call send_back  ; 4239 (0x108f)

lri $AR1,    #0x4b60
lri $IX1,    #0x53ca
lri $WR1,    #0x6fd6
cw 0xd
call send_back  ; 4240 (0x1090)

lri $AR1,    #0xdba4
lri $IX1,    #0x5d32
lri $WR1,    #0x26dc
cw 0xd
call send_back  ; 4241 (0x1091)

lri $AR1,    #0x99ee
lri $IX1,    #0xf5c0
lri $WR1,    #0x4332
cw 0xd
call send_back  ; 4242 (0x1092)

lri $AR1,    #0x6889
lri $IX1,    #0xbe74
lri $WR1,    #0xa111
cw 0xd
call send_back  ; 4243 (0x1093)

lri $AR1,    #0x3960
lri $IX1,    #0x5e00
lri $WR1,    #0xb1bf
cw 0xd
call send_back  ; 4244 (0x1094)

lri $AR1,    #0x1699
lri $IX1,    #0x6ef8
lri $WR1,    #0x4996
cw 0xd
call send_back  ; 4245 (0x1095)

lri $AR1,    #0x1bc9
lri $IX1,    #0x4efa
lri $WR1,    #0x7703
cw 0xd
call send_back  ; 4246 (0x1096)

lri $AR1,    #0x837f
lri $IX1,    #0x3120
lri $WR1,    #0x5ba0
cw 0xd
call send_back  ; 4247 (0x1097)

lri $AR1,    #0xc480
lri $IX1,    #0xe99e
lri $WR1,    #0x45f8
cw 0xd
call send_back  ; 4248 (0x1098)

lri $AR1,    #0x6582
lri $IX1,    #0x6fc0
lri $WR1,    #0xb3fb
cw 0xd
call send_back  ; 4249 (0x1099)

lri $AR1,    #0x8db0
lri $IX1,    #0xef2a
lri $WR1,    #0xd3ba
cw 0xd
call send_back  ; 4250 (0x109a)

lri $AR1,    #0x4bcf
lri $IX1,    #0x50ae
lri $WR1,    #0x6979
cw 0xd
call send_back  ; 4251 (0x109b)

lri $AR1,    #0x7557
lri $IX1,    #0x466e
lri $WR1,    #0x17a7
cw 0xd
call send_back  ; 4252 (0x109c)

lri $AR1,    #0x3a3c
lri $IX1,    #0xfec6
lri $WR1,    #0xbed0
cw 0xd
call send_back  ; 4253 (0x109d)

lri $AR1,    #0x79d5
lri $IX1,    #0x8c96
lri $WR1,    #0x690c
cw 0xd
call send_back  ; 4254 (0x109e)

lri $AR1,    #0x6893
lri $IX1,    #0xb376
lri $WR1,    #0x560c
cw 0xd
call send_back  ; 4255 (0x109f)

lri $AR1,    #0x8df0
lri $IX1,    #0xf972
lri $WR1,    #0x224b
cw 0xd
call send_back  ; 4256 (0x10a0)

lri $AR1,    #0x6d5a
lri $IX1,    #0x87c2
lri $WR1,    #0x0d71
cw 0xd
call send_back  ; 4257 (0x10a1)

lri $AR1,    #0xac62
lri $IX1,    #0x5f3a
lri $WR1,    #0x7184
cw 0xd
call send_back  ; 4258 (0x10a2)

lri $AR1,    #0x9c1a
lri $IX1,    #0x94cc
lri $WR1,    #0x6de6
cw 0xd
call send_back  ; 4259 (0x10a3)

lri $AR1,    #0x92d5
lri $IX1,    #0x8dde
lri $WR1,    #0x7ebd
cw 0xd
call send_back  ; 4260 (0x10a4)

; We're done, DO NOT DELETE THIS LINE
jmp end_of_test