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

lri $AR1,    #0x922a
lri $IX1,    #0x6876
lri $WR1,    #0xdfc4
cw 0x5
call send_back  ; 1281 (0x0501)

lri $AR1,    #0x7fa6
lri $IX1,    #0x3180
lri $WR1,    #0xfeda
cw 0x5
call send_back  ; 1282 (0x0502)

lri $AR1,    #0xa7fa
lri $IX1,    #0xcb64
lri $WR1,    #0x8da2
cw 0x5
call send_back  ; 1283 (0x0503)

lri $AR1,    #0xa6dc
lri $IX1,    #0x0b38
lri $WR1,    #0xde6a
cw 0x5
call send_back  ; 1284 (0x0504)

lri $AR1,    #0xb2e2
lri $IX1,    #0xdeb0
lri $WR1,    #0x257c
cw 0x5
call send_back  ; 1285 (0x0505)

lri $AR1,    #0x20d4
lri $IX1,    #0xb482
lri $WR1,    #0x09ac
cw 0x5
call send_back  ; 1286 (0x0506)

lri $AR1,    #0x7570
lri $IX1,    #0x9cc2
lri $WR1,    #0x61c8
cw 0x5
call send_back  ; 1287 (0x0507)

lri $AR1,    #0x7122
lri $IX1,    #0x79b6
lri $WR1,    #0x467e
cw 0x5
call send_back  ; 1288 (0x0508)

lri $AR1,    #0x0d7e
lri $IX1,    #0x0dd6
lri $WR1,    #0xf4a2
cw 0x5
call send_back  ; 1289 (0x0509)

lri $AR1,    #0x511c
lri $IX1,    #0x2ff8
lri $WR1,    #0xc1e0
cw 0x5
call send_back  ; 1290 (0x050a)

lri $AR1,    #0xde90
lri $IX1,    #0x77ae
lri $WR1,    #0x2baa
cw 0x5
call send_back  ; 1291 (0x050b)

lri $AR1,    #0x2b12
lri $IX1,    #0x8ea6
lri $WR1,    #0xa2e6
cw 0x5
call send_back  ; 1292 (0x050c)

lri $AR1,    #0xfc1e
lri $IX1,    #0xb5e6
lri $WR1,    #0x2218
cw 0x5
call send_back  ; 1293 (0x050d)

lri $AR1,    #0xd33c
lri $IX1,    #0x1788
lri $WR1,    #0x18e0
cw 0x5
call send_back  ; 1294 (0x050e)

lri $AR1,    #0xa9fe
lri $IX1,    #0xb79a
lri $WR1,    #0x4acc
cw 0x5
call send_back  ; 1295 (0x050f)

lri $AR1,    #0xe07a
lri $IX1,    #0x2786
lri $WR1,    #0xd884
cw 0x5
call send_back  ; 1296 (0x0510)

lri $AR1,    #0xd802
lri $IX1,    #0x3386
lri $WR1,    #0xded4
cw 0x5
call send_back  ; 1297 (0x0511)

lri $AR1,    #0xbfba
lri $IX1,    #0x9f80
lri $WR1,    #0x7822
cw 0x5
call send_back  ; 1298 (0x0512)

lri $AR1,    #0x0838
lri $IX1,    #0x046a
lri $WR1,    #0x9b66
cw 0x5
call send_back  ; 1299 (0x0513)

lri $AR1,    #0x0114
lri $IX1,    #0x67fc
lri $WR1,    #0xa3ce
cw 0x5
call send_back  ; 1300 (0x0514)

lri $AR1,    #0x759e
lri $IX1,    #0x6bb6
lri $WR1,    #0xd4b0
cw 0x5
call send_back  ; 1301 (0x0515)

lri $AR1,    #0x8e5c
lri $IX1,    #0x806e
lri $WR1,    #0xd662
cw 0x5
call send_back  ; 1302 (0x0516)

lri $AR1,    #0x33f0
lri $IX1,    #0xd168
lri $WR1,    #0xd974
cw 0x5
call send_back  ; 1303 (0x0517)

lri $AR1,    #0x9750
lri $IX1,    #0xf5a2
lri $WR1,    #0x4550
cw 0x5
call send_back  ; 1304 (0x0518)

lri $AR1,    #0xff38
lri $IX1,    #0x9c0c
lri $WR1,    #0x95d0
cw 0x5
call send_back  ; 1305 (0x0519)

lri $AR1,    #0x2822
lri $IX1,    #0xa132
lri $WR1,    #0x1952
cw 0x5
call send_back  ; 1306 (0x051a)

lri $AR1,    #0x2ce2
lri $IX1,    #0x8cc4
lri $WR1,    #0xf24e
cw 0x5
call send_back  ; 1307 (0x051b)

lri $AR1,    #0xb37c
lri $IX1,    #0x9668
lri $WR1,    #0x069c
cw 0x5
call send_back  ; 1308 (0x051c)

lri $AR1,    #0x45f8
lri $IX1,    #0xc768
lri $WR1,    #0x366c
cw 0x5
call send_back  ; 1309 (0x051d)

lri $AR1,    #0x79ba
lri $IX1,    #0x3fa0
lri $WR1,    #0xfbe0
cw 0x5
call send_back  ; 1310 (0x051e)

lri $AR1,    #0xe52c
lri $IX1,    #0x7780
lri $WR1,    #0x5cc8
cw 0x5
call send_back  ; 1311 (0x051f)

lri $AR1,    #0xc386
lri $IX1,    #0x096a
lri $WR1,    #0x0fc4
cw 0x5
call send_back  ; 1312 (0x0520)

lri $AR1,    #0x2186
lri $IX1,    #0xf732
lri $WR1,    #0x6932
cw 0x5
call send_back  ; 1313 (0x0521)

lri $AR1,    #0x7e7e
lri $IX1,    #0xaf8e
lri $WR1,    #0x30e6
cw 0x5
call send_back  ; 1314 (0x0522)

lri $AR1,    #0xb928
lri $IX1,    #0x9df2
lri $WR1,    #0x0fc0
cw 0x5
call send_back  ; 1315 (0x0523)

lri $AR1,    #0x0f2e
lri $IX1,    #0x7240
lri $WR1,    #0x8550
cw 0x5
call send_back  ; 1316 (0x0524)

lri $AR1,    #0xf622
lri $IX1,    #0x090a
lri $WR1,    #0xf61c
cw 0x5
call send_back  ; 1317 (0x0525)

lri $AR1,    #0x3be4
lri $IX1,    #0x4876
lri $WR1,    #0xfa5c
cw 0x5
call send_back  ; 1318 (0x0526)

lri $AR1,    #0x89c0
lri $IX1,    #0xe8ba
lri $WR1,    #0x2f3c
cw 0x5
call send_back  ; 1319 (0x0527)

lri $AR1,    #0x10c2
lri $IX1,    #0x2ee6
lri $WR1,    #0x66c0
cw 0x5
call send_back  ; 1320 (0x0528)

lri $AR1,    #0xf93a
lri $IX1,    #0x410c
lri $WR1,    #0xe3c2
cw 0x5
call send_back  ; 1321 (0x0529)

lri $AR1,    #0xa580
lri $IX1,    #0x9982
lri $WR1,    #0xed1c
cw 0x5
call send_back  ; 1322 (0x052a)

lri $AR1,    #0x514a
lri $IX1,    #0xbe34
lri $WR1,    #0x0802
cw 0x5
call send_back  ; 1323 (0x052b)

lri $AR1,    #0xe254
lri $IX1,    #0x7000
lri $WR1,    #0x2576
cw 0x5
call send_back  ; 1324 (0x052c)

lri $AR1,    #0x4c82
lri $IX1,    #0x5876
lri $WR1,    #0x2b38
cw 0x5
call send_back  ; 1325 (0x052d)

lri $AR1,    #0xe170
lri $IX1,    #0x7c30
lri $WR1,    #0x1914
cw 0x5
call send_back  ; 1326 (0x052e)

lri $AR1,    #0x8ae0
lri $IX1,    #0x2c78
lri $WR1,    #0x71ac
cw 0x5
call send_back  ; 1327 (0x052f)

lri $AR1,    #0x7774
lri $IX1,    #0x6bc6
lri $WR1,    #0x6c38
cw 0x5
call send_back  ; 1328 (0x0530)

lri $AR1,    #0x878c
lri $IX1,    #0x40f6
lri $WR1,    #0x4e68
cw 0x5
call send_back  ; 1329 (0x0531)

lri $AR1,    #0xe562
lri $IX1,    #0x1d60
lri $WR1,    #0x4e00
cw 0x5
call send_back  ; 1330 (0x0532)

lri $AR1,    #0x4432
lri $IX1,    #0x13cc
lri $WR1,    #0x2f44
cw 0x5
call send_back  ; 1331 (0x0533)

lri $AR1,    #0xdb64
lri $IX1,    #0x834c
lri $WR1,    #0x0f20
cw 0x5
call send_back  ; 1332 (0x0534)

lri $AR1,    #0xc7e0
lri $IX1,    #0x544c
lri $WR1,    #0xa8e2
cw 0x5
call send_back  ; 1333 (0x0535)

lri $AR1,    #0xe3fc
lri $IX1,    #0x94f4
lri $WR1,    #0xb498
cw 0x5
call send_back  ; 1334 (0x0536)

lri $AR1,    #0x31e8
lri $IX1,    #0x49a2
lri $WR1,    #0x665a
cw 0x5
call send_back  ; 1335 (0x0537)

lri $AR1,    #0x2bd4
lri $IX1,    #0x3264
lri $WR1,    #0x9c1c
cw 0x5
call send_back  ; 1336 (0x0538)

lri $AR1,    #0xdf9a
lri $IX1,    #0x2892
lri $WR1,    #0xd33c
cw 0x5
call send_back  ; 1337 (0x0539)

lri $AR1,    #0x82e4
lri $IX1,    #0x23e2
lri $WR1,    #0x745e
cw 0x5
call send_back  ; 1338 (0x053a)

lri $AR1,    #0x9e70
lri $IX1,    #0x2c0c
lri $WR1,    #0xc49e
cw 0x5
call send_back  ; 1339 (0x053b)

lri $AR1,    #0x8818
lri $IX1,    #0x21f2
lri $WR1,    #0x83e6
cw 0x5
call send_back  ; 1340 (0x053c)

lri $AR1,    #0xba72
lri $IX1,    #0xc0f0
lri $WR1,    #0xf0e2
cw 0x5
call send_back  ; 1341 (0x053d)

lri $AR1,    #0x512c
lri $IX1,    #0xb0d0
lri $WR1,    #0x9dba
cw 0x5
call send_back  ; 1342 (0x053e)

lri $AR1,    #0x8b5e
lri $IX1,    #0x9dae
lri $WR1,    #0x6bf2
cw 0x5
call send_back  ; 1343 (0x053f)

lri $AR1,    #0xace2
lri $IX1,    #0x34c2
lri $WR1,    #0x536e
cw 0x5
call send_back  ; 1344 (0x0540)

lri $AR1,    #0x916a
lri $IX1,    #0x52d0
lri $WR1,    #0x4078
cw 0x5
call send_back  ; 1345 (0x0541)

lri $AR1,    #0x7652
lri $IX1,    #0x9b2a
lri $WR1,    #0x10ce
cw 0x5
call send_back  ; 1346 (0x0542)

lri $AR1,    #0xdd3c
lri $IX1,    #0xe246
lri $WR1,    #0x3d0a
cw 0x5
call send_back  ; 1347 (0x0543)

lri $AR1,    #0x7476
lri $IX1,    #0xe6e4
lri $WR1,    #0xf5e8
cw 0x5
call send_back  ; 1348 (0x0544)

lri $AR1,    #0x04d2
lri $IX1,    #0x5796
lri $WR1,    #0xc6aa
cw 0x5
call send_back  ; 1349 (0x0545)

lri $AR1,    #0x11b0
lri $IX1,    #0x7cbc
lri $WR1,    #0x9896
cw 0x5
call send_back  ; 1350 (0x0546)

lri $AR1,    #0xe9ec
lri $IX1,    #0x5394
lri $WR1,    #0x9884
cw 0x5
call send_back  ; 1351 (0x0547)

lri $AR1,    #0xf366
lri $IX1,    #0xd786
lri $WR1,    #0x7732
cw 0x5
call send_back  ; 1352 (0x0548)

lri $AR1,    #0xb4ec
lri $IX1,    #0x22e0
lri $WR1,    #0x6b84
cw 0x5
call send_back  ; 1353 (0x0549)

lri $AR1,    #0x427c
lri $IX1,    #0xf1c4
lri $WR1,    #0xf2b2
cw 0x5
call send_back  ; 1354 (0x054a)

lri $AR1,    #0x4178
lri $IX1,    #0x66da
lri $WR1,    #0x2e74
cw 0x5
call send_back  ; 1355 (0x054b)

lri $AR1,    #0x69c8
lri $IX1,    #0xd542
lri $WR1,    #0x3ed4
cw 0x5
call send_back  ; 1356 (0x054c)

lri $AR1,    #0x7100
lri $IX1,    #0xb534
lri $WR1,    #0x6250
cw 0x5
call send_back  ; 1357 (0x054d)

lri $AR1,    #0x503c
lri $IX1,    #0xff96
lri $WR1,    #0xfb90
cw 0x5
call send_back  ; 1358 (0x054e)

lri $AR1,    #0x096c
lri $IX1,    #0xfad4
lri $WR1,    #0xf48c
cw 0x5
call send_back  ; 1359 (0x054f)

lri $AR1,    #0xc0f0
lri $IX1,    #0x4502
lri $WR1,    #0x3b76
cw 0x5
call send_back  ; 1360 (0x0550)

lri $AR1,    #0x94f6
lri $IX1,    #0x033e
lri $WR1,    #0x33ea
cw 0x5
call send_back  ; 1361 (0x0551)

lri $AR1,    #0xebbe
lri $IX1,    #0x31a4
lri $WR1,    #0xb730
cw 0x5
call send_back  ; 1362 (0x0552)

lri $AR1,    #0xc2ae
lri $IX1,    #0x662e
lri $WR1,    #0xdaa8
cw 0x5
call send_back  ; 1363 (0x0553)

lri $AR1,    #0xcda2
lri $IX1,    #0x3b50
lri $WR1,    #0xf6da
cw 0x5
call send_back  ; 1364 (0x0554)

lri $AR1,    #0xad6a
lri $IX1,    #0x698a
lri $WR1,    #0x4398
cw 0x5
call send_back  ; 1365 (0x0555)

lri $AR1,    #0x008e
lri $IX1,    #0x0524
lri $WR1,    #0x6e54
cw 0x5
call send_back  ; 1366 (0x0556)

lri $AR1,    #0xd1d6
lri $IX1,    #0x3e7a
lri $WR1,    #0x55ee
cw 0x5
call send_back  ; 1367 (0x0557)

lri $AR1,    #0x0ed6
lri $IX1,    #0x2030
lri $WR1,    #0x0a50
cw 0x5
call send_back  ; 1368 (0x0558)

lri $AR1,    #0xfa48
lri $IX1,    #0x84b0
lri $WR1,    #0x2660
cw 0x5
call send_back  ; 1369 (0x0559)

lri $AR1,    #0x0ef6
lri $IX1,    #0xbb22
lri $WR1,    #0x983a
cw 0x5
call send_back  ; 1370 (0x055a)

lri $AR1,    #0xa20a
lri $IX1,    #0x4fae
lri $WR1,    #0x5a5e
cw 0x5
call send_back  ; 1371 (0x055b)

lri $AR1,    #0x20e0
lri $IX1,    #0x3578
lri $WR1,    #0xebb2
cw 0x5
call send_back  ; 1372 (0x055c)

lri $AR1,    #0xe7e2
lri $IX1,    #0x261e
lri $WR1,    #0xa4e8
cw 0x5
call send_back  ; 1373 (0x055d)

lri $AR1,    #0x866e
lri $IX1,    #0x2916
lri $WR1,    #0xc8d4
cw 0x5
call send_back  ; 1374 (0x055e)

lri $AR1,    #0xba52
lri $IX1,    #0xbc16
lri $WR1,    #0xdaf4
cw 0x5
call send_back  ; 1375 (0x055f)

lri $AR1,    #0x9d38
lri $IX1,    #0xd7ae
lri $WR1,    #0x8adc
cw 0x5
call send_back  ; 1376 (0x0560)

lri $AR1,    #0x1688
lri $IX1,    #0x9d40
lri $WR1,    #0xbfc4
cw 0x5
call send_back  ; 1377 (0x0561)

lri $AR1,    #0x1892
lri $IX1,    #0xa002
lri $WR1,    #0x5b84
cw 0x5
call send_back  ; 1378 (0x0562)

lri $AR1,    #0x9d6a
lri $IX1,    #0xbcd0
lri $WR1,    #0x6834
cw 0x5
call send_back  ; 1379 (0x0563)

lri $AR1,    #0x9ea6
lri $IX1,    #0xd152
lri $WR1,    #0xb7a0
cw 0x5
call send_back  ; 1380 (0x0564)

lri $AR1,    #0x08a2
lri $IX1,    #0x0d42
lri $WR1,    #0x8e52
cw 0x5
call send_back  ; 1381 (0x0565)

lri $AR1,    #0x7ca6
lri $IX1,    #0x8202
lri $WR1,    #0x124e
cw 0x5
call send_back  ; 1382 (0x0566)

lri $AR1,    #0xcc2a
lri $IX1,    #0xfac2
lri $WR1,    #0x054e
cw 0x5
call send_back  ; 1383 (0x0567)

lri $AR1,    #0xa200
lri $IX1,    #0x98c6
lri $WR1,    #0xc842
cw 0x5
call send_back  ; 1384 (0x0568)

lri $AR1,    #0x0f44
lri $IX1,    #0x0744
lri $WR1,    #0x5018
cw 0x5
call send_back  ; 1385 (0x0569)

lri $AR1,    #0x9b80
lri $IX1,    #0x9e6e
lri $WR1,    #0x6190
cw 0x5
call send_back  ; 1386 (0x056a)

lri $AR1,    #0xc24c
lri $IX1,    #0xf814
lri $WR1,    #0xcbb0
cw 0x5
call send_back  ; 1387 (0x056b)

lri $AR1,    #0xfb60
lri $IX1,    #0xd09a
lri $WR1,    #0x786e
cw 0x5
call send_back  ; 1388 (0x056c)

lri $AR1,    #0x8d4c
lri $IX1,    #0x210e
lri $WR1,    #0x8890
cw 0x5
call send_back  ; 1389 (0x056d)

lri $AR1,    #0x9c0e
lri $IX1,    #0xec68
lri $WR1,    #0xa044
cw 0x5
call send_back  ; 1390 (0x056e)

lri $AR1,    #0x45d4
lri $IX1,    #0x8222
lri $WR1,    #0x751c
cw 0x5
call send_back  ; 1391 (0x056f)

lri $AR1,    #0x97dc
lri $IX1,    #0xe26a
lri $WR1,    #0x78ae
cw 0x5
call send_back  ; 1392 (0x0570)

lri $AR1,    #0x28f4
lri $IX1,    #0xc054
lri $WR1,    #0x7d8c
cw 0x5
call send_back  ; 1393 (0x0571)

lri $AR1,    #0xc83e
lri $IX1,    #0xbbfa
lri $WR1,    #0xd4a6
cw 0x5
call send_back  ; 1394 (0x0572)

lri $AR1,    #0xe0da
lri $IX1,    #0xa3fc
lri $WR1,    #0x6442
cw 0x5
call send_back  ; 1395 (0x0573)

lri $AR1,    #0x43c0
lri $IX1,    #0x0c36
lri $WR1,    #0xa66c
cw 0x5
call send_back  ; 1396 (0x0574)

lri $AR1,    #0x03ec
lri $IX1,    #0xd260
lri $WR1,    #0xf002
cw 0x5
call send_back  ; 1397 (0x0575)

lri $AR1,    #0xc284
lri $IX1,    #0xf5ae
lri $WR1,    #0x5582
cw 0x5
call send_back  ; 1398 (0x0576)

lri $AR1,    #0xddec
lri $IX1,    #0x115c
lri $WR1,    #0x43dc
cw 0x5
call send_back  ; 1399 (0x0577)

lri $AR1,    #0x2d44
lri $IX1,    #0xb832
lri $WR1,    #0x6458
cw 0x5
call send_back  ; 1400 (0x0578)

lri $AR1,    #0x91f6
lri $IX1,    #0xa856
lri $WR1,    #0x6770
cw 0x5
call send_back  ; 1401 (0x0579)

lri $AR1,    #0x03ca
lri $IX1,    #0x80a0
lri $WR1,    #0xf7d6
cw 0x5
call send_back  ; 1402 (0x057a)

lri $AR1,    #0x9ee2
lri $IX1,    #0x821a
lri $WR1,    #0xd440
cw 0x5
call send_back  ; 1403 (0x057b)

lri $AR1,    #0xdbc4
lri $IX1,    #0x772e
lri $WR1,    #0x0b74
cw 0x5
call send_back  ; 1404 (0x057c)

lri $AR1,    #0x25f4
lri $IX1,    #0xafe0
lri $WR1,    #0xe7b0
cw 0x5
call send_back  ; 1405 (0x057d)

lri $AR1,    #0x19ec
lri $IX1,    #0x6722
lri $WR1,    #0x011c
cw 0x5
call send_back  ; 1406 (0x057e)

lri $AR1,    #0xa638
lri $IX1,    #0xf624
lri $WR1,    #0xff7c
cw 0x5
call send_back  ; 1407 (0x057f)

lri $AR1,    #0x5378
lri $IX1,    #0x755e
lri $WR1,    #0xec7c
cw 0x5
call send_back  ; 1408 (0x0580)

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

