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

lri $AR1,    #0xb460
lri $IX1,    #0x5faa
lri $WR1,    #0x30ae
cw 0x5
call send_back  ; 1153 (0x0481)

lri $AR1,    #0xf960
lri $IX1,    #0x4ef4
lri $WR1,    #0x968e
cw 0x5
call send_back  ; 1154 (0x0482)

lri $AR1,    #0x60a0
lri $IX1,    #0x322a
lri $WR1,    #0x7734
cw 0x5
call send_back  ; 1155 (0x0483)

lri $AR1,    #0x207a
lri $IX1,    #0x4b5e
lri $WR1,    #0x26ec
cw 0x5
call send_back  ; 1156 (0x0484)

lri $AR1,    #0x8e7c
lri $IX1,    #0xbc74
lri $WR1,    #0x8a76
cw 0x5
call send_back  ; 1157 (0x0485)

lri $AR1,    #0x0714
lri $IX1,    #0x9224
lri $WR1,    #0x4f9a
cw 0x5
call send_back  ; 1158 (0x0486)

lri $AR1,    #0x5728
lri $IX1,    #0xed12
lri $WR1,    #0x607e
cw 0x5
call send_back  ; 1159 (0x0487)

lri $AR1,    #0x3616
lri $IX1,    #0x379c
lri $WR1,    #0xf67c
cw 0x5
call send_back  ; 1160 (0x0488)

lri $AR1,    #0x1062
lri $IX1,    #0x5c78
lri $WR1,    #0x52be
cw 0x5
call send_back  ; 1161 (0x0489)

lri $AR1,    #0x68bc
lri $IX1,    #0x233c
lri $WR1,    #0xc9aa
cw 0x5
call send_back  ; 1162 (0x048a)

lri $AR1,    #0x7276
lri $IX1,    #0xca30
lri $WR1,    #0xd988
cw 0x5
call send_back  ; 1163 (0x048b)

lri $AR1,    #0xc14e
lri $IX1,    #0x3c7a
lri $WR1,    #0x57da
cw 0x5
call send_back  ; 1164 (0x048c)

lri $AR1,    #0x71e4
lri $IX1,    #0x26aa
lri $WR1,    #0xa992
cw 0x5
call send_back  ; 1165 (0x048d)

lri $AR1,    #0xbf84
lri $IX1,    #0x9a92
lri $WR1,    #0x4816
cw 0x5
call send_back  ; 1166 (0x048e)

lri $AR1,    #0x4360
lri $IX1,    #0x8668
lri $WR1,    #0xdd88
cw 0x5
call send_back  ; 1167 (0x048f)

lri $AR1,    #0xbada
lri $IX1,    #0x30a6
lri $WR1,    #0x0456
cw 0x5
call send_back  ; 1168 (0x0490)

lri $AR1,    #0x4eec
lri $IX1,    #0x6f9c
lri $WR1,    #0x9818
cw 0x5
call send_back  ; 1169 (0x0491)

lri $AR1,    #0x5b64
lri $IX1,    #0x4626
lri $WR1,    #0xa746
cw 0x5
call send_back  ; 1170 (0x0492)

lri $AR1,    #0x6192
lri $IX1,    #0x540c
lri $WR1,    #0x6964
cw 0x5
call send_back  ; 1171 (0x0493)

lri $AR1,    #0xf06e
lri $IX1,    #0xddf4
lri $WR1,    #0x85d8
cw 0x5
call send_back  ; 1172 (0x0494)

lri $AR1,    #0xd3a2
lri $IX1,    #0xd540
lri $WR1,    #0x5d5c
cw 0x5
call send_back  ; 1173 (0x0495)

lri $AR1,    #0xb490
lri $IX1,    #0x9d34
lri $WR1,    #0x61e2
cw 0x5
call send_back  ; 1174 (0x0496)

lri $AR1,    #0x3bf0
lri $IX1,    #0xc9d8
lri $WR1,    #0x8eca
cw 0x5
call send_back  ; 1175 (0x0497)

lri $AR1,    #0x2b62
lri $IX1,    #0x6d30
lri $WR1,    #0x535c
cw 0x5
call send_back  ; 1176 (0x0498)

lri $AR1,    #0x46fa
lri $IX1,    #0xff18
lri $WR1,    #0x0dae
cw 0x5
call send_back  ; 1177 (0x0499)

lri $AR1,    #0xed7a
lri $IX1,    #0x9a4e
lri $WR1,    #0xe292
cw 0x5
call send_back  ; 1178 (0x049a)

lri $AR1,    #0x0366
lri $IX1,    #0x826a
lri $WR1,    #0x75c0
cw 0x5
call send_back  ; 1179 (0x049b)

lri $AR1,    #0x8bf8
lri $IX1,    #0x3478
lri $WR1,    #0xc5e0
cw 0x5
call send_back  ; 1180 (0x049c)

lri $AR1,    #0x0bce
lri $IX1,    #0xfafa
lri $WR1,    #0x5c7c
cw 0x5
call send_back  ; 1181 (0x049d)

lri $AR1,    #0xd540
lri $IX1,    #0x93f6
lri $WR1,    #0x5a30
cw 0x5
call send_back  ; 1182 (0x049e)

lri $AR1,    #0x0840
lri $IX1,    #0x6434
lri $WR1,    #0x64cc
cw 0x5
call send_back  ; 1183 (0x049f)

lri $AR1,    #0xd10c
lri $IX1,    #0xc018
lri $WR1,    #0x5dea
cw 0x5
call send_back  ; 1184 (0x04a0)

lri $AR1,    #0xb074
lri $IX1,    #0x6e38
lri $WR1,    #0xe8a2
cw 0x5
call send_back  ; 1185 (0x04a1)

lri $AR1,    #0x62a8
lri $IX1,    #0xabb6
lri $WR1,    #0xd286
cw 0x5
call send_back  ; 1186 (0x04a2)

lri $AR1,    #0x620a
lri $IX1,    #0x0a00
lri $WR1,    #0x677a
cw 0x5
call send_back  ; 1187 (0x04a3)

lri $AR1,    #0xc450
lri $IX1,    #0x6ddc
lri $WR1,    #0x5174
cw 0x5
call send_back  ; 1188 (0x04a4)

lri $AR1,    #0x24de
lri $IX1,    #0x536a
lri $WR1,    #0xe346
cw 0x5
call send_back  ; 1189 (0x04a5)

lri $AR1,    #0x1f9e
lri $IX1,    #0x6bb2
lri $WR1,    #0xb57e
cw 0x5
call send_back  ; 1190 (0x04a6)

lri $AR1,    #0x39dc
lri $IX1,    #0x43d8
lri $WR1,    #0xab84
cw 0x5
call send_back  ; 1191 (0x04a7)

lri $AR1,    #0x8302
lri $IX1,    #0x72ea
lri $WR1,    #0xda68
cw 0x5
call send_back  ; 1192 (0x04a8)

lri $AR1,    #0xaf2a
lri $IX1,    #0x7c92
lri $WR1,    #0x6932
cw 0x5
call send_back  ; 1193 (0x04a9)

lri $AR1,    #0x7d20
lri $IX1,    #0xaac8
lri $WR1,    #0x80e2
cw 0x5
call send_back  ; 1194 (0x04aa)

lri $AR1,    #0x8f3e
lri $IX1,    #0x288c
lri $WR1,    #0x2c5a
cw 0x5
call send_back  ; 1195 (0x04ab)

lri $AR1,    #0xdb22
lri $IX1,    #0xa41a
lri $WR1,    #0x3d9c
cw 0x5
call send_back  ; 1196 (0x04ac)

lri $AR1,    #0xb6b8
lri $IX1,    #0x91e6
lri $WR1,    #0x66ae
cw 0x5
call send_back  ; 1197 (0x04ad)

lri $AR1,    #0x87c2
lri $IX1,    #0x4f24
lri $WR1,    #0xde8e
cw 0x5
call send_back  ; 1198 (0x04ae)

lri $AR1,    #0xcf76
lri $IX1,    #0xafa4
lri $WR1,    #0xc54a
cw 0x5
call send_back  ; 1199 (0x04af)

lri $AR1,    #0x7530
lri $IX1,    #0xd8d4
lri $WR1,    #0x0242
cw 0x5
call send_back  ; 1200 (0x04b0)

lri $AR1,    #0xfdd0
lri $IX1,    #0xc4fe
lri $WR1,    #0x5dd0
cw 0x5
call send_back  ; 1201 (0x04b1)

lri $AR1,    #0xf49c
lri $IX1,    #0x0758
lri $WR1,    #0xd92e
cw 0x5
call send_back  ; 1202 (0x04b2)

lri $AR1,    #0x176a
lri $IX1,    #0x4bd6
lri $WR1,    #0x420c
cw 0x5
call send_back  ; 1203 (0x04b3)

lri $AR1,    #0x0260
lri $IX1,    #0x405a
lri $WR1,    #0x51ea
cw 0x5
call send_back  ; 1204 (0x04b4)

lri $AR1,    #0x61a6
lri $IX1,    #0xf090
lri $WR1,    #0xe75a
cw 0x5
call send_back  ; 1205 (0x04b5)

lri $AR1,    #0xfec8
lri $IX1,    #0x91f4
lri $WR1,    #0x656e
cw 0x5
call send_back  ; 1206 (0x04b6)

lri $AR1,    #0x77ee
lri $IX1,    #0x7e02
lri $WR1,    #0x85e2
cw 0x5
call send_back  ; 1207 (0x04b7)

lri $AR1,    #0x2752
lri $IX1,    #0x81b0
lri $WR1,    #0xf8f0
cw 0x5
call send_back  ; 1208 (0x04b8)

lri $AR1,    #0xb906
lri $IX1,    #0x5ca2
lri $WR1,    #0x4610
cw 0x5
call send_back  ; 1209 (0x04b9)

lri $AR1,    #0x0d5c
lri $IX1,    #0xaba0
lri $WR1,    #0xf7b8
cw 0x5
call send_back  ; 1210 (0x04ba)

lri $AR1,    #0x14a2
lri $IX1,    #0xd8a8
lri $WR1,    #0x612a
cw 0x5
call send_back  ; 1211 (0x04bb)

lri $AR1,    #0x5b48
lri $IX1,    #0xfde6
lri $WR1,    #0xff7a
cw 0x5
call send_back  ; 1212 (0x04bc)

lri $AR1,    #0xe95a
lri $IX1,    #0xdf4e
lri $WR1,    #0xe490
cw 0x5
call send_back  ; 1213 (0x04bd)

lri $AR1,    #0x99d8
lri $IX1,    #0x3bb0
lri $WR1,    #0x5e6e
cw 0x5
call send_back  ; 1214 (0x04be)

lri $AR1,    #0x7548
lri $IX1,    #0x6be4
lri $WR1,    #0x2d78
cw 0x5
call send_back  ; 1215 (0x04bf)

lri $AR1,    #0x73e6
lri $IX1,    #0x0cfe
lri $WR1,    #0x52ee
cw 0x5
call send_back  ; 1216 (0x04c0)

lri $AR1,    #0xca52
lri $IX1,    #0x91ea
lri $WR1,    #0x15ac
cw 0x5
call send_back  ; 1217 (0x04c1)

lri $AR1,    #0x4f2c
lri $IX1,    #0xd742
lri $WR1,    #0x989a
cw 0x5
call send_back  ; 1218 (0x04c2)

lri $AR1,    #0xe19c
lri $IX1,    #0x11dc
lri $WR1,    #0xc830
cw 0x5
call send_back  ; 1219 (0x04c3)

lri $AR1,    #0x155c
lri $IX1,    #0x8d36
lri $WR1,    #0x77ea
cw 0x5
call send_back  ; 1220 (0x04c4)

lri $AR1,    #0xeff0
lri $IX1,    #0xd2d0
lri $WR1,    #0xef40
cw 0x5
call send_back  ; 1221 (0x04c5)

lri $AR1,    #0xd920
lri $IX1,    #0x32d0
lri $WR1,    #0xe12c
cw 0x5
call send_back  ; 1222 (0x04c6)

lri $AR1,    #0x1fae
lri $IX1,    #0x93c2
lri $WR1,    #0x039c
cw 0x5
call send_back  ; 1223 (0x04c7)

lri $AR1,    #0xbf32
lri $IX1,    #0x9ce8
lri $WR1,    #0xbcc0
cw 0x5
call send_back  ; 1224 (0x04c8)

lri $AR1,    #0xf324
lri $IX1,    #0xcb8a
lri $WR1,    #0x978a
cw 0x5
call send_back  ; 1225 (0x04c9)

lri $AR1,    #0x5c5c
lri $IX1,    #0x9a4c
lri $WR1,    #0xa6b2
cw 0x5
call send_back  ; 1226 (0x04ca)

lri $AR1,    #0x6cba
lri $IX1,    #0x1f4c
lri $WR1,    #0x2686
cw 0x5
call send_back  ; 1227 (0x04cb)

lri $AR1,    #0xad6a
lri $IX1,    #0xd6e2
lri $WR1,    #0xe468
cw 0x5
call send_back  ; 1228 (0x04cc)

lri $AR1,    #0x50ea
lri $IX1,    #0x338e
lri $WR1,    #0xdd04
cw 0x5
call send_back  ; 1229 (0x04cd)

lri $AR1,    #0x0ed4
lri $IX1,    #0x07b2
lri $WR1,    #0xa78e
cw 0x5
call send_back  ; 1230 (0x04ce)

lri $AR1,    #0x0878
lri $IX1,    #0x04a0
lri $WR1,    #0x924a
cw 0x5
call send_back  ; 1231 (0x04cf)

lri $AR1,    #0x4648
lri $IX1,    #0xe93e
lri $WR1,    #0xc1f8
cw 0x5
call send_back  ; 1232 (0x04d0)

lri $AR1,    #0x77d4
lri $IX1,    #0x877c
lri $WR1,    #0x70b8
cw 0x5
call send_back  ; 1233 (0x04d1)

lri $AR1,    #0xe8c6
lri $IX1,    #0xf02c
lri $WR1,    #0xeaaa
cw 0x5
call send_back  ; 1234 (0x04d2)

lri $AR1,    #0x2b04
lri $IX1,    #0x34de
lri $WR1,    #0x277a
cw 0x5
call send_back  ; 1235 (0x04d3)

lri $AR1,    #0x4c82
lri $IX1,    #0xdeb2
lri $WR1,    #0xbca4
cw 0x5
call send_back  ; 1236 (0x04d4)

lri $AR1,    #0x1c32
lri $IX1,    #0x6cc8
lri $WR1,    #0x9b1c
cw 0x5
call send_back  ; 1237 (0x04d5)

lri $AR1,    #0xe632
lri $IX1,    #0x5f9e
lri $WR1,    #0xccbc
cw 0x5
call send_back  ; 1238 (0x04d6)

lri $AR1,    #0xbd22
lri $IX1,    #0x7908
lri $WR1,    #0x80e6
cw 0x5
call send_back  ; 1239 (0x04d7)

lri $AR1,    #0x8dfe
lri $IX1,    #0xf278
lri $WR1,    #0xb42a
cw 0x5
call send_back  ; 1240 (0x04d8)

lri $AR1,    #0x6a9e
lri $IX1,    #0x7a04
lri $WR1,    #0xc36a
cw 0x5
call send_back  ; 1241 (0x04d9)

lri $AR1,    #0xd0ce
lri $IX1,    #0x7ac0
lri $WR1,    #0xd9f0
cw 0x5
call send_back  ; 1242 (0x04da)

lri $AR1,    #0xab2a
lri $IX1,    #0xd982
lri $WR1,    #0x9d44
cw 0x5
call send_back  ; 1243 (0x04db)

lri $AR1,    #0x4704
lri $IX1,    #0x4694
lri $WR1,    #0x3dd6
cw 0x5
call send_back  ; 1244 (0x04dc)

lri $AR1,    #0x311c
lri $IX1,    #0x1b86
lri $WR1,    #0xa174
cw 0x5
call send_back  ; 1245 (0x04dd)

lri $AR1,    #0x0a80
lri $IX1,    #0xffc0
lri $WR1,    #0xac2a
cw 0x5
call send_back  ; 1246 (0x04de)

lri $AR1,    #0x2a50
lri $IX1,    #0x2e0a
lri $WR1,    #0x0f3a
cw 0x5
call send_back  ; 1247 (0x04df)

lri $AR1,    #0xf1f6
lri $IX1,    #0x54b8
lri $WR1,    #0xb1f2
cw 0x5
call send_back  ; 1248 (0x04e0)

lri $AR1,    #0x96aa
lri $IX1,    #0xccb0
lri $WR1,    #0x71fc
cw 0x5
call send_back  ; 1249 (0x04e1)

lri $AR1,    #0x505a
lri $IX1,    #0xdd4a
lri $WR1,    #0x85bc
cw 0x5
call send_back  ; 1250 (0x04e2)

lri $AR1,    #0xc888
lri $IX1,    #0x4e2c
lri $WR1,    #0x4c02
cw 0x5
call send_back  ; 1251 (0x04e3)

lri $AR1,    #0xbb90
lri $IX1,    #0x719a
lri $WR1,    #0x01c2
cw 0x5
call send_back  ; 1252 (0x04e4)

lri $AR1,    #0x7960
lri $IX1,    #0x5d98
lri $WR1,    #0x0598
cw 0x5
call send_back  ; 1253 (0x04e5)

lri $AR1,    #0xee0c
lri $IX1,    #0x7830
lri $WR1,    #0xe096
cw 0x5
call send_back  ; 1254 (0x04e6)

lri $AR1,    #0x9ed0
lri $IX1,    #0xda40
lri $WR1,    #0x3078
cw 0x5
call send_back  ; 1255 (0x04e7)

lri $AR1,    #0x5398
lri $IX1,    #0x3ac6
lri $WR1,    #0xcdf8
cw 0x5
call send_back  ; 1256 (0x04e8)

lri $AR1,    #0x0b06
lri $IX1,    #0x7d50
lri $WR1,    #0x01f4
cw 0x5
call send_back  ; 1257 (0x04e9)

lri $AR1,    #0x59e0
lri $IX1,    #0xb776
lri $WR1,    #0xaa0c
cw 0x5
call send_back  ; 1258 (0x04ea)

lri $AR1,    #0x7e1a
lri $IX1,    #0x14dc
lri $WR1,    #0x54ba
cw 0x5
call send_back  ; 1259 (0x04eb)

lri $AR1,    #0x5214
lri $IX1,    #0x4700
lri $WR1,    #0xb5b0
cw 0x5
call send_back  ; 1260 (0x04ec)

lri $AR1,    #0xc426
lri $IX1,    #0x4094
lri $WR1,    #0x2dc2
cw 0x5
call send_back  ; 1261 (0x04ed)

lri $AR1,    #0xb12c
lri $IX1,    #0x6eee
lri $WR1,    #0x6304
cw 0x5
call send_back  ; 1262 (0x04ee)

lri $AR1,    #0x6e96
lri $IX1,    #0xc4ce
lri $WR1,    #0x463c
cw 0x5
call send_back  ; 1263 (0x04ef)

lri $AR1,    #0xe910
lri $IX1,    #0xf114
lri $WR1,    #0x55e8
cw 0x5
call send_back  ; 1264 (0x04f0)

lri $AR1,    #0x45aa
lri $IX1,    #0xdd04
lri $WR1,    #0x1efe
cw 0x5
call send_back  ; 1265 (0x04f1)

lri $AR1,    #0x0d56
lri $IX1,    #0x4054
lri $WR1,    #0xdcac
cw 0x5
call send_back  ; 1266 (0x04f2)

lri $AR1,    #0x598c
lri $IX1,    #0x9794
lri $WR1,    #0x405e
cw 0x5
call send_back  ; 1267 (0x04f3)

lri $AR1,    #0x1ac4
lri $IX1,    #0x952e
lri $WR1,    #0xf174
cw 0x5
call send_back  ; 1268 (0x04f4)

lri $AR1,    #0x40f4
lri $IX1,    #0x50dc
lri $WR1,    #0x23d4
cw 0x5
call send_back  ; 1269 (0x04f5)

lri $AR1,    #0x293e
lri $IX1,    #0x8ae0
lri $WR1,    #0xc9bc
cw 0x5
call send_back  ; 1270 (0x04f6)

lri $AR1,    #0x35be
lri $IX1,    #0xfc5a
lri $WR1,    #0x7b88
cw 0x5
call send_back  ; 1271 (0x04f7)

lri $AR1,    #0x2c58
lri $IX1,    #0x18b8
lri $WR1,    #0x397a
cw 0x5
call send_back  ; 1272 (0x04f8)

lri $AR1,    #0xfe74
lri $IX1,    #0x2f2c
lri $WR1,    #0xbdf0
cw 0x5
call send_back  ; 1273 (0x04f9)

lri $AR1,    #0x4f40
lri $IX1,    #0x8162
lri $WR1,    #0xdc28
cw 0x5
call send_back  ; 1274 (0x04fa)

lri $AR1,    #0x8e30
lri $IX1,    #0xef66
lri $WR1,    #0xaac0
cw 0x5
call send_back  ; 1275 (0x04fb)

lri $AR1,    #0x8d1a
lri $IX1,    #0x14ae
lri $WR1,    #0x2e66
cw 0x5
call send_back  ; 1276 (0x04fc)

lri $AR1,    #0x9ac0
lri $IX1,    #0x4894
lri $WR1,    #0x8858
cw 0x5
call send_back  ; 1277 (0x04fd)

lri $AR1,    #0x07a6
lri $IX1,    #0xfed4
lri $WR1,    #0xa756
cw 0x5
call send_back  ; 1278 (0x04fe)

lri $AR1,    #0xbb8e
lri $IX1,    #0xae18
lri $WR1,    #0xbfc6
cw 0x5
call send_back  ; 1279 (0x04ff)

lri $AR1,    #0xea32
lri $IX1,    #0x7a76
lri $WR1,    #0x916a
cw 0x5
call send_back  ; 1280 (0x0500)

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

