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

lri $AR1,    #0xe53e
lri $IX1,    #0x94d8
lri $WR1,    #0x2e8b
cw 0xd
call send_back  ; 1312 (0x0520)

lri $AR1,    #0x5e5e
lri $IX1,    #0x827e
lri $WR1,    #0xf591
cw 0xd
call send_back  ; 1313 (0x0521)

lri $AR1,    #0x7ffa
lri $IX1,    #0x2e0c
lri $WR1,    #0xec43
cw 0xd
call send_back  ; 1314 (0x0522)

lri $AR1,    #0xca2f
lri $IX1,    #0x0be0
lri $WR1,    #0x4bbe
cw 0xd
call send_back  ; 1315 (0x0523)

lri $AR1,    #0xac7c
lri $IX1,    #0xdbee
lri $WR1,    #0x7885
cw 0xd
call send_back  ; 1316 (0x0524)

lri $AR1,    #0x43c0
lri $IX1,    #0x384e
lri $WR1,    #0xaf61
cw 0xd
call send_back  ; 1317 (0x0525)

lri $AR1,    #0x51d0
lri $IX1,    #0x15c6
lri $WR1,    #0x8842
cw 0xd
call send_back  ; 1318 (0x0526)

lri $AR1,    #0xaa5a
lri $IX1,    #0xf0a2
lri $WR1,    #0xc03c
cw 0xd
call send_back  ; 1319 (0x0527)

lri $AR1,    #0x688b
lri $IX1,    #0xb3a4
lri $WR1,    #0xc123
cw 0xd
call send_back  ; 1320 (0x0528)

lri $AR1,    #0x2c21
lri $IX1,    #0x2e70
lri $WR1,    #0x86e7
cw 0xd
call send_back  ; 1321 (0x0529)

lri $AR1,    #0x3c52
lri $IX1,    #0x0c22
lri $WR1,    #0x302d
cw 0xd
call send_back  ; 1322 (0x052a)

lri $AR1,    #0x2259
lri $IX1,    #0x8a86
lri $WR1,    #0x9940
cw 0xd
call send_back  ; 1323 (0x052b)

lri $AR1,    #0xf4e1
lri $IX1,    #0x95a8
lri $WR1,    #0xb5ec
cw 0xd
call send_back  ; 1324 (0x052c)

lri $AR1,    #0x8939
lri $IX1,    #0x4302
lri $WR1,    #0xd84a
cw 0xd
call send_back  ; 1325 (0x052d)

lri $AR1,    #0x6e94
lri $IX1,    #0xd340
lri $WR1,    #0x9017
cw 0xd
call send_back  ; 1326 (0x052e)

lri $AR1,    #0x5b25
lri $IX1,    #0x40c6
lri $WR1,    #0x2f9c
cw 0xd
call send_back  ; 1327 (0x052f)

lri $AR1,    #0x6a6d
lri $IX1,    #0xd4d6
lri $WR1,    #0xa8bf
cw 0xd
call send_back  ; 1328 (0x0530)

lri $AR1,    #0x1780
lri $IX1,    #0x2498
lri $WR1,    #0xbe47
cw 0xd
call send_back  ; 1329 (0x0531)

lri $AR1,    #0x9d9f
lri $IX1,    #0x12fe
lri $WR1,    #0xd2ee
cw 0xd
call send_back  ; 1330 (0x0532)

lri $AR1,    #0xbced
lri $IX1,    #0xe396
lri $WR1,    #0x513c
cw 0xd
call send_back  ; 1331 (0x0533)

lri $AR1,    #0xa894
lri $IX1,    #0xee46
lri $WR1,    #0x1cd5
cw 0xd
call send_back  ; 1332 (0x0534)

lri $AR1,    #0x7f20
lri $IX1,    #0xfb44
lri $WR1,    #0x9734
cw 0xd
call send_back  ; 1333 (0x0535)

lri $AR1,    #0x7d75
lri $IX1,    #0x99f2
lri $WR1,    #0x5f72
cw 0xd
call send_back  ; 1334 (0x0536)

lri $AR1,    #0x801a
lri $IX1,    #0xc51c
lri $WR1,    #0x761c
cw 0xd
call send_back  ; 1335 (0x0537)

lri $AR1,    #0x3e34
lri $IX1,    #0xba4c
lri $WR1,    #0xb3bb
cw 0xd
call send_back  ; 1336 (0x0538)

lri $AR1,    #0xd4fe
lri $IX1,    #0xf18a
lri $WR1,    #0xe9fc
cw 0xd
call send_back  ; 1337 (0x0539)

lri $AR1,    #0x9a11
lri $IX1,    #0x7e66
lri $WR1,    #0x7540
cw 0xd
call send_back  ; 1338 (0x053a)

lri $AR1,    #0x1e4d
lri $IX1,    #0xb27e
lri $WR1,    #0x555a
cw 0xd
call send_back  ; 1339 (0x053b)

lri $AR1,    #0x32a5
lri $IX1,    #0x7d6c
lri $WR1,    #0x7a59
cw 0xd
call send_back  ; 1340 (0x053c)

lri $AR1,    #0x7bb6
lri $IX1,    #0x9d6a
lri $WR1,    #0xab28
cw 0xd
call send_back  ; 1341 (0x053d)

lri $AR1,    #0x9066
lri $IX1,    #0x1f60
lri $WR1,    #0xa9ca
cw 0xd
call send_back  ; 1342 (0x053e)

lri $AR1,    #0xa35d
lri $IX1,    #0xccd4
lri $WR1,    #0x5a25
cw 0xd
call send_back  ; 1343 (0x053f)

lri $AR1,    #0x2eb4
lri $IX1,    #0xd968
lri $WR1,    #0x15ee
cw 0xd
call send_back  ; 1344 (0x0540)

lri $AR1,    #0x649d
lri $IX1,    #0x4958
lri $WR1,    #0x61d1
cw 0xd
call send_back  ; 1345 (0x0541)

lri $AR1,    #0xa75d
lri $IX1,    #0x059a
lri $WR1,    #0x455d
cw 0xd
call send_back  ; 1346 (0x0542)

lri $AR1,    #0x5e5a
lri $IX1,    #0x4230
lri $WR1,    #0x78c7
cw 0xd
call send_back  ; 1347 (0x0543)

lri $AR1,    #0x85a8
lri $IX1,    #0x9e3a
lri $WR1,    #0xd113
cw 0xd
call send_back  ; 1348 (0x0544)

lri $AR1,    #0xb0bf
lri $IX1,    #0x1d42
lri $WR1,    #0x2caf
cw 0xd
call send_back  ; 1349 (0x0545)

lri $AR1,    #0x48d8
lri $IX1,    #0xa48a
lri $WR1,    #0x801b
cw 0xd
call send_back  ; 1350 (0x0546)

lri $AR1,    #0x728d
lri $IX1,    #0xe6a0
lri $WR1,    #0x63a1
cw 0xd
call send_back  ; 1351 (0x0547)

lri $AR1,    #0x9e3d
lri $IX1,    #0x7b10
lri $WR1,    #0x88b5
cw 0xd
call send_back  ; 1352 (0x0548)

lri $AR1,    #0xb1e1
lri $IX1,    #0x2792
lri $WR1,    #0x270f
cw 0xd
call send_back  ; 1353 (0x0549)

lri $AR1,    #0x5ab3
lri $IX1,    #0xfb5c
lri $WR1,    #0x1f00
cw 0xd
call send_back  ; 1354 (0x054a)

lri $AR1,    #0x4878
lri $IX1,    #0xad22
lri $WR1,    #0x202c
cw 0xd
call send_back  ; 1355 (0x054b)

lri $AR1,    #0xbbad
lri $IX1,    #0x8f54
lri $WR1,    #0x791d
cw 0xd
call send_back  ; 1356 (0x054c)

lri $AR1,    #0xcb7d
lri $IX1,    #0x4622
lri $WR1,    #0xadd4
cw 0xd
call send_back  ; 1357 (0x054d)

lri $AR1,    #0x77be
lri $IX1,    #0x15f4
lri $WR1,    #0x70df
cw 0xd
call send_back  ; 1358 (0x054e)

lri $AR1,    #0x5ed0
lri $IX1,    #0x00b2
lri $WR1,    #0x7bf9
cw 0xd
call send_back  ; 1359 (0x054f)

lri $AR1,    #0xa6a3
lri $IX1,    #0xdba4
lri $WR1,    #0xeae9
cw 0xd
call send_back  ; 1360 (0x0550)

lri $AR1,    #0xb3c9
lri $IX1,    #0xef4a
lri $WR1,    #0x847f
cw 0xd
call send_back  ; 1361 (0x0551)

lri $AR1,    #0x88c5
lri $IX1,    #0x6dee
lri $WR1,    #0x2b62
cw 0xd
call send_back  ; 1362 (0x0552)

lri $AR1,    #0x7b86
lri $IX1,    #0xfd42
lri $WR1,    #0x61b2
cw 0xd
call send_back  ; 1363 (0x0553)

lri $AR1,    #0xb647
lri $IX1,    #0x92da
lri $WR1,    #0x4011
cw 0xd
call send_back  ; 1364 (0x0554)

lri $AR1,    #0x94b1
lri $IX1,    #0xdad8
lri $WR1,    #0x5a23
cw 0xd
call send_back  ; 1365 (0x0555)

lri $AR1,    #0x3d8a
lri $IX1,    #0x2ba0
lri $WR1,    #0xa80e
cw 0xd
call send_back  ; 1366 (0x0556)

lri $AR1,    #0xbcc4
lri $IX1,    #0x88bc
lri $WR1,    #0x8e18
cw 0xd
call send_back  ; 1367 (0x0557)

lri $AR1,    #0x3936
lri $IX1,    #0x4b04
lri $WR1,    #0xe0e3
cw 0xd
call send_back  ; 1368 (0x0558)

lri $AR1,    #0x8cd8
lri $IX1,    #0x8b14
lri $WR1,    #0xae6c
cw 0xd
call send_back  ; 1369 (0x0559)

lri $AR1,    #0x65c6
lri $IX1,    #0x4714
lri $WR1,    #0x813e
cw 0xd
call send_back  ; 1370 (0x055a)

lri $AR1,    #0x89e9
lri $IX1,    #0x4c04
lri $WR1,    #0xa503
cw 0xd
call send_back  ; 1371 (0x055b)

lri $AR1,    #0x3e88
lri $IX1,    #0x0e6e
lri $WR1,    #0x8909
cw 0xd
call send_back  ; 1372 (0x055c)

lri $AR1,    #0x109d
lri $IX1,    #0xb5ba
lri $WR1,    #0x96a3
cw 0xd
call send_back  ; 1373 (0x055d)

lri $AR1,    #0x2a2d
lri $IX1,    #0x890e
lri $WR1,    #0x8f24
cw 0xd
call send_back  ; 1374 (0x055e)

lri $AR1,    #0x648d
lri $IX1,    #0x8bf2
lri $WR1,    #0x2667
cw 0xd
call send_back  ; 1375 (0x055f)

lri $AR1,    #0xbeca
lri $IX1,    #0x4c94
lri $WR1,    #0x747f
cw 0xd
call send_back  ; 1376 (0x0560)

lri $AR1,    #0xab10
lri $IX1,    #0x8d00
lri $WR1,    #0x62a1
cw 0xd
call send_back  ; 1377 (0x0561)

lri $AR1,    #0xa568
lri $IX1,    #0x6c0c
lri $WR1,    #0x44cc
cw 0xd
call send_back  ; 1378 (0x0562)

lri $AR1,    #0x9980
lri $IX1,    #0xe25a
lri $WR1,    #0xc34a
cw 0xd
call send_back  ; 1379 (0x0563)

lri $AR1,    #0xa503
lri $IX1,    #0xab32
lri $WR1,    #0x6c9f
cw 0xd
call send_back  ; 1380 (0x0564)

lri $AR1,    #0x9f03
lri $IX1,    #0xe896
lri $WR1,    #0xa1df
cw 0xd
call send_back  ; 1381 (0x0565)

lri $AR1,    #0x5d18
lri $IX1,    #0xdd42
lri $WR1,    #0x6d1a
cw 0xd
call send_back  ; 1382 (0x0566)

lri $AR1,    #0x51cc
lri $IX1,    #0xd704
lri $WR1,    #0x92d0
cw 0xd
call send_back  ; 1383 (0x0567)

lri $AR1,    #0xb7af
lri $IX1,    #0xb738
lri $WR1,    #0xb516
cw 0xd
call send_back  ; 1384 (0x0568)

lri $AR1,    #0x67f4
lri $IX1,    #0x4ea2
lri $WR1,    #0x8868
cw 0xd
call send_back  ; 1385 (0x0569)

lri $AR1,    #0x9adb
lri $IX1,    #0xdd9c
lri $WR1,    #0x47c8
cw 0xd
call send_back  ; 1386 (0x056a)

lri $AR1,    #0x83b1
lri $IX1,    #0x58b4
lri $WR1,    #0xa731
cw 0xd
call send_back  ; 1387 (0x056b)

lri $AR1,    #0xe1c8
lri $IX1,    #0x75ca
lri $WR1,    #0xd8ec
cw 0xd
call send_back  ; 1388 (0x056c)

lri $AR1,    #0x9b24
lri $IX1,    #0xdcc2
lri $WR1,    #0x33e1
cw 0xd
call send_back  ; 1389 (0x056d)

lri $AR1,    #0xa540
lri $IX1,    #0x02bc
lri $WR1,    #0x866a
cw 0xd
call send_back  ; 1390 (0x056e)

lri $AR1,    #0x43a5
lri $IX1,    #0x1624
lri $WR1,    #0x82be
cw 0xd
call send_back  ; 1391 (0x056f)

lri $AR1,    #0x5bb9
lri $IX1,    #0xd54e
lri $WR1,    #0x5781
cw 0xd
call send_back  ; 1392 (0x0570)

lri $AR1,    #0xa886
lri $IX1,    #0x110c
lri $WR1,    #0x5089
cw 0xd
call send_back  ; 1393 (0x0571)

lri $AR1,    #0xd8d3
lri $IX1,    #0xd802
lri $WR1,    #0x296c
cw 0xd
call send_back  ; 1394 (0x0572)

lri $AR1,    #0xf55a
lri $IX1,    #0xb706
lri $WR1,    #0xece1
cw 0xd
call send_back  ; 1395 (0x0573)

lri $AR1,    #0xb46a
lri $IX1,    #0xfe58
lri $WR1,    #0x318c
cw 0xd
call send_back  ; 1396 (0x0574)

lri $AR1,    #0x7bc5
lri $IX1,    #0x730c
lri $WR1,    #0x9e33
cw 0xd
call send_back  ; 1397 (0x0575)

lri $AR1,    #0xa116
lri $IX1,    #0x1f80
lri $WR1,    #0x3d0f
cw 0xd
call send_back  ; 1398 (0x0576)

lri $AR1,    #0x5cb8
lri $IX1,    #0xf506
lri $WR1,    #0xa71b
cw 0xd
call send_back  ; 1399 (0x0577)

lri $AR1,    #0xba38
lri $IX1,    #0x84b8
lri $WR1,    #0xd61b
cw 0xd
call send_back  ; 1400 (0x0578)

lri $AR1,    #0x7d46
lri $IX1,    #0x1cce
lri $WR1,    #0xd54f
cw 0xd
call send_back  ; 1401 (0x0579)

lri $AR1,    #0x5182
lri $IX1,    #0xf304
lri $WR1,    #0x7670
cw 0xd
call send_back  ; 1402 (0x057a)

lri $AR1,    #0x8ee0
lri $IX1,    #0x94c2
lri $WR1,    #0x8205
cw 0xd
call send_back  ; 1403 (0x057b)

lri $AR1,    #0x43fb
lri $IX1,    #0x787a
lri $WR1,    #0x6f97
cw 0xd
call send_back  ; 1404 (0x057c)

lri $AR1,    #0x7326
lri $IX1,    #0x23ca
lri $WR1,    #0x6be0
cw 0xd
call send_back  ; 1405 (0x057d)

lri $AR1,    #0x5e8a
lri $IX1,    #0xc510
lri $WR1,    #0x3083
cw 0xd
call send_back  ; 1406 (0x057e)

lri $AR1,    #0xc329
lri $IX1,    #0x3ed8
lri $WR1,    #0x5251
cw 0xd
call send_back  ; 1407 (0x057f)

lri $AR1,    #0x5a00
lri $IX1,    #0x56dc
lri $WR1,    #0x90be
cw 0xd
call send_back  ; 1408 (0x0580)

lri $AR1,    #0x4237
lri $IX1,    #0xe1fa
lri $WR1,    #0x3a84
cw 0xd
call send_back  ; 1409 (0x0581)

lri $AR1,    #0x7699
lri $IX1,    #0x41e2
lri $WR1,    #0xc911
cw 0xd
call send_back  ; 1410 (0x0582)

lri $AR1,    #0x8423
lri $IX1,    #0x38da
lri $WR1,    #0x45c6
cw 0xd
call send_back  ; 1411 (0x0583)

lri $AR1,    #0x3f0d
lri $IX1,    #0xdb56
lri $WR1,    #0xc1a8
cw 0xd
call send_back  ; 1412 (0x0584)

lri $AR1,    #0x8f08
lri $IX1,    #0x1eca
lri $WR1,    #0x8170
cw 0xd
call send_back  ; 1413 (0x0585)

lri $AR1,    #0x7b11
lri $IX1,    #0x106c
lri $WR1,    #0xddbe
cw 0xd
call send_back  ; 1414 (0x0586)

lri $AR1,    #0xc098
lri $IX1,    #0xfe50
lri $WR1,    #0x9849
cw 0xd
call send_back  ; 1415 (0x0587)

lri $AR1,    #0x5961
lri $IX1,    #0xb09a
lri $WR1,    #0x6cc4
cw 0xd
call send_back  ; 1416 (0x0588)

lri $AR1,    #0x3edc
lri $IX1,    #0x1824
lri $WR1,    #0xcd72
cw 0xd
call send_back  ; 1417 (0x0589)

lri $AR1,    #0xd94a
lri $IX1,    #0x735e
lri $WR1,    #0x6906
cw 0xd
call send_back  ; 1418 (0x058a)

lri $AR1,    #0x3c86
lri $IX1,    #0xb9be
lri $WR1,    #0x28d0
cw 0xd
call send_back  ; 1419 (0x058b)

lri $AR1,    #0x7bb2
lri $IX1,    #0x018e
lri $WR1,    #0x2bd8
cw 0xd
call send_back  ; 1420 (0x058c)

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