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

lri $AR1,    #0x4050
lri $IX1,    #0x5200
lri $WR1,    #0x7397
cw 0x15
call send_back  ; 20427 (0x4fcb)

lri $AR1,    #0x7c6c
lri $IX1,    #0xce4c
lri $WR1,    #0xe360
cw 0x15
call send_back  ; 20428 (0x4fcc)

lri $AR1,    #0x9fcb
lri $IX1,    #0x6d20
lri $WR1,    #0x6d5f
cw 0x15
call send_back  ; 20429 (0x4fcd)

lri $AR1,    #0x9fbc
lri $IX1,    #0xb0ba
lri $WR1,    #0xb00d
cw 0x15
call send_back  ; 20430 (0x4fce)

lri $AR1,    #0xc8bc
lri $IX1,    #0x2036
lri $WR1,    #0xd834
cw 0x15
call send_back  ; 20431 (0x4fcf)

lri $AR1,    #0xae79
lri $IX1,    #0xf2b0
lri $WR1,    #0xbec6
cw 0x15
call send_back  ; 20432 (0x4fd0)

lri $AR1,    #0x51df
lri $IX1,    #0x086a
lri $WR1,    #0x7cde
cw 0x15
call send_back  ; 20433 (0x4fd1)

lri $AR1,    #0x976e
lri $IX1,    #0x253e
lri $WR1,    #0x6f8e
cw 0x15
call send_back  ; 20434 (0x4fd2)

lri $AR1,    #0x7bb0
lri $IX1,    #0x7002
lri $WR1,    #0x5684
cw 0x15
call send_back  ; 20435 (0x4fd3)

lri $AR1,    #0xbb1c
lri $IX1,    #0x3704
lri $WR1,    #0xae10
cw 0x15
call send_back  ; 20436 (0x4fd4)

lri $AR1,    #0x3e37
lri $IX1,    #0x0264
lri $WR1,    #0x7e9d
cw 0x15
call send_back  ; 20437 (0x4fd5)

lri $AR1,    #0x6a45
lri $IX1,    #0x3164
lri $WR1,    #0x7940
cw 0x15
call send_back  ; 20438 (0x4fd6)

lri $AR1,    #0xda52
lri $IX1,    #0xe07e
lri $WR1,    #0x3a4a
cw 0x15
call send_back  ; 20439 (0x4fd7)

lri $AR1,    #0x5bf2
lri $IX1,    #0xc23c
lri $WR1,    #0x508b
cw 0x15
call send_back  ; 20440 (0x4fd8)

lri $AR1,    #0xb678
lri $IX1,    #0x0dca
lri $WR1,    #0x914b
cw 0x15
call send_back  ; 20441 (0x4fd9)

lri $AR1,    #0x22fc
lri $IX1,    #0xca20
lri $WR1,    #0xae7d
cw 0x15
call send_back  ; 20442 (0x4fda)

lri $AR1,    #0x4f04
lri $IX1,    #0xadc4
lri $WR1,    #0x565e
cw 0x15
call send_back  ; 20443 (0x4fdb)

lri $AR1,    #0x2b12
lri $IX1,    #0xa710
lri $WR1,    #0x38e2
cw 0x15
call send_back  ; 20444 (0x4fdc)

lri $AR1,    #0x81fc
lri $IX1,    #0x09de
lri $WR1,    #0x892d
cw 0x15
call send_back  ; 20445 (0x4fdd)

lri $AR1,    #0xc545
lri $IX1,    #0x73ac
lri $WR1,    #0xce79
cw 0x15
call send_back  ; 20446 (0x4fde)

lri $AR1,    #0x7e5d
lri $IX1,    #0xd7fa
lri $WR1,    #0x79b0
cw 0x15
call send_back  ; 20447 (0x4fdf)

lri $AR1,    #0xcc0c
lri $IX1,    #0xf2fa
lri $WR1,    #0x9a13
cw 0x15
call send_back  ; 20448 (0x4fe0)

lri $AR1,    #0x9eda
lri $IX1,    #0xb968
lri $WR1,    #0x951f
cw 0x15
call send_back  ; 20449 (0x4fe1)

lri $AR1,    #0x66cb
lri $IX1,    #0x608e
lri $WR1,    #0x5340
cw 0x15
call send_back  ; 20450 (0x4fe2)

lri $AR1,    #0x782d
lri $IX1,    #0x6a50
lri $WR1,    #0x444c
cw 0x15
call send_back  ; 20451 (0x4fe3)

lri $AR1,    #0x74e3
lri $IX1,    #0xdd48
lri $WR1,    #0xd474
cw 0x15
call send_back  ; 20452 (0x4fe4)

lri $AR1,    #0xe2dd
lri $IX1,    #0x99ba
lri $WR1,    #0x4398
cw 0x15
call send_back  ; 20453 (0x4fe5)

lri $AR1,    #0x282f
lri $IX1,    #0xb090
lri $WR1,    #0xaeb3
cw 0x15
call send_back  ; 20454 (0x4fe6)

lri $AR1,    #0x487e
lri $IX1,    #0xe1fc
lri $WR1,    #0x5c52
cw 0x15
call send_back  ; 20455 (0x4fe7)

lri $AR1,    #0xd716
lri $IX1,    #0x1608
lri $WR1,    #0x62b5
cw 0x15
call send_back  ; 20456 (0x4fe8)

lri $AR1,    #0x7c88
lri $IX1,    #0xd9b0
lri $WR1,    #0x67a5
cw 0x15
call send_back  ; 20457 (0x4fe9)

lri $AR1,    #0x8e0c
lri $IX1,    #0xcfc6
lri $WR1,    #0x678f
cw 0x15
call send_back  ; 20458 (0x4fea)

lri $AR1,    #0x688f
lri $IX1,    #0xb538
lri $WR1,    #0x82fa
cw 0x15
call send_back  ; 20459 (0x4feb)

lri $AR1,    #0x689d
lri $IX1,    #0x350e
lri $WR1,    #0xa6dd
cw 0x15
call send_back  ; 20460 (0x4fec)

lri $AR1,    #0x5418
lri $IX1,    #0x70aa
lri $WR1,    #0x5dea
cw 0x15
call send_back  ; 20461 (0x4fed)

lri $AR1,    #0xb9f4
lri $IX1,    #0xf58c
lri $WR1,    #0x9667
cw 0x15
call send_back  ; 20462 (0x4fee)

lri $AR1,    #0x8fd9
lri $IX1,    #0xfa4e
lri $WR1,    #0x8998
cw 0x15
call send_back  ; 20463 (0x4fef)

lri $AR1,    #0x8ce5
lri $IX1,    #0x4900
lri $WR1,    #0x174c
cw 0x15
call send_back  ; 20464 (0x4ff0)

lri $AR1,    #0x4c82
lri $IX1,    #0x5592
lri $WR1,    #0x31a5
cw 0x15
call send_back  ; 20465 (0x4ff1)

lri $AR1,    #0x8372
lri $IX1,    #0xc384
lri $WR1,    #0xc2a6
cw 0x15
call send_back  ; 20466 (0x4ff2)

lri $AR1,    #0x650b
lri $IX1,    #0x2e88
lri $WR1,    #0xa693
cw 0x15
call send_back  ; 20467 (0x4ff3)

lri $AR1,    #0x9dd5
lri $IX1,    #0x8640
lri $WR1,    #0x4bb8
cw 0x15
call send_back  ; 20468 (0x4ff4)

lri $AR1,    #0xe471
lri $IX1,    #0xd5da
lri $WR1,    #0xa1ab
cw 0x15
call send_back  ; 20469 (0x4ff5)

lri $AR1,    #0x7107
lri $IX1,    #0x049e
lri $WR1,    #0x9f90
cw 0x15
call send_back  ; 20470 (0x4ff6)

lri $AR1,    #0x8f0d
lri $IX1,    #0x1d40
lri $WR1,    #0x2a6c
cw 0x15
call send_back  ; 20471 (0x4ff7)

lri $AR1,    #0x54ca
lri $IX1,    #0x1602
lri $WR1,    #0x6a31
cw 0x15
call send_back  ; 20472 (0x4ff8)

lri $AR1,    #0xb74b
lri $IX1,    #0x0c7a
lri $WR1,    #0x856a
cw 0x15
call send_back  ; 20473 (0x4ff9)

lri $AR1,    #0x112e
lri $IX1,    #0x8c0a
lri $WR1,    #0xa93f
cw 0x15
call send_back  ; 20474 (0x4ffa)

lri $AR1,    #0x2601
lri $IX1,    #0xe6d0
lri $WR1,    #0x94be
cw 0x15
call send_back  ; 20475 (0x4ffb)

lri $AR1,    #0x939c
lri $IX1,    #0x053c
lri $WR1,    #0xf41f
cw 0x15
call send_back  ; 20476 (0x4ffc)

lri $AR1,    #0x5e2c
lri $IX1,    #0x78f8
lri $WR1,    #0x91e7
cw 0x15
call send_back  ; 20477 (0x4ffd)

lri $AR1,    #0xb35a
lri $IX1,    #0x3444
lri $WR1,    #0xa1a6
cw 0x15
call send_back  ; 20478 (0x4ffe)

lri $AR1,    #0x043e
lri $IX1,    #0x279e
lri $WR1,    #0x0939
cw 0x15
call send_back  ; 20479 (0x4fff)

lri $AR1,    #0x8d97
lri $IX1,    #0x53ae
lri $WR1,    #0x7340
cw 0x15
call send_back  ; 20480 (0x5000)

lri $AR1,    #0xb0e7
lri $IX1,    #0xb658
lri $WR1,    #0x7ebf
cw 0x15
call send_back  ; 20481 (0x5001)

lri $AR1,    #0x80f2
lri $IX1,    #0xfe12
lri $WR1,    #0x6d92
cw 0x15
call send_back  ; 20482 (0x5002)

lri $AR1,    #0x7756
lri $IX1,    #0x3f1a
lri $WR1,    #0xa4a6
cw 0x15
call send_back  ; 20483 (0x5003)

lri $AR1,    #0xd083
lri $IX1,    #0x22de
lri $WR1,    #0x86ab
cw 0x15
call send_back  ; 20484 (0x5004)

lri $AR1,    #0x6708
lri $IX1,    #0x5230
lri $WR1,    #0x8b27
cw 0x15
call send_back  ; 20485 (0x5005)

lri $AR1,    #0x765d
lri $IX1,    #0x4f7e
lri $WR1,    #0x51a6
cw 0x15
call send_back  ; 20486 (0x5006)

lri $AR1,    #0x510f
lri $IX1,    #0xb6ba
lri $WR1,    #0xb1e8
cw 0x15
call send_back  ; 20487 (0x5007)

lri $AR1,    #0xad9e
lri $IX1,    #0x051e
lri $WR1,    #0x4fd0
cw 0x15
call send_back  ; 20488 (0x5008)

lri $AR1,    #0x18d5
lri $IX1,    #0xc39a
lri $WR1,    #0x62ed
cw 0x15
call send_back  ; 20489 (0x5009)

lri $AR1,    #0x3bf2
lri $IX1,    #0x52de
lri $WR1,    #0x8f5b
cw 0x15
call send_back  ; 20490 (0x500a)

lri $AR1,    #0x586a
lri $IX1,    #0xc8f8
lri $WR1,    #0xbef8
cw 0x15
call send_back  ; 20491 (0x500b)

lri $AR1,    #0x829d
lri $IX1,    #0x6c86
lri $WR1,    #0xbf77
cw 0x15
call send_back  ; 20492 (0x500c)

lri $AR1,    #0xa049
lri $IX1,    #0x8234
lri $WR1,    #0xe375
cw 0x15
call send_back  ; 20493 (0x500d)

lri $AR1,    #0x5f04
lri $IX1,    #0x75ca
lri $WR1,    #0x6206
cw 0x15
call send_back  ; 20494 (0x500e)

lri $AR1,    #0x1a9f
lri $IX1,    #0x085e
lri $WR1,    #0x91e5
cw 0x15
call send_back  ; 20495 (0x500f)

lri $AR1,    #0x62b0
lri $IX1,    #0x39f4
lri $WR1,    #0x42bf
cw 0x15
call send_back  ; 20496 (0x5010)

lri $AR1,    #0x5a19
lri $IX1,    #0x3d2c
lri $WR1,    #0x40be
cw 0x15
call send_back  ; 20497 (0x5011)

lri $AR1,    #0xeade
lri $IX1,    #0x0828
lri $WR1,    #0x5bd3
cw 0x15
call send_back  ; 20498 (0x5012)

lri $AR1,    #0x9c20
lri $IX1,    #0x2676
lri $WR1,    #0x7dda
cw 0x15
call send_back  ; 20499 (0x5013)

lri $AR1,    #0x1f7d
lri $IX1,    #0x6c12
lri $WR1,    #0xd01d
cw 0x15
call send_back  ; 20500 (0x5014)

lri $AR1,    #0x46b0
lri $IX1,    #0x3230
lri $WR1,    #0x8a5b
cw 0x15
call send_back  ; 20501 (0x5015)

lri $AR1,    #0x61c1
lri $IX1,    #0xfb24
lri $WR1,    #0xa2c5
cw 0x15
call send_back  ; 20502 (0x5016)

lri $AR1,    #0xe993
lri $IX1,    #0xdada
lri $WR1,    #0x9818
cw 0x15
call send_back  ; 20503 (0x5017)

lri $AR1,    #0x3222
lri $IX1,    #0xee4c
lri $WR1,    #0x5464
cw 0x15
call send_back  ; 20504 (0x5018)

lri $AR1,    #0x8b33
lri $IX1,    #0xa47c
lri $WR1,    #0x907c
cw 0x15
call send_back  ; 20505 (0x5019)

lri $AR1,    #0x15e8
lri $IX1,    #0xc030
lri $WR1,    #0x8db5
cw 0x15
call send_back  ; 20506 (0x501a)

lri $AR1,    #0x88da
lri $IX1,    #0xea24
lri $WR1,    #0x4cf7
cw 0x15
call send_back  ; 20507 (0x501b)

lri $AR1,    #0x8433
lri $IX1,    #0x87de
lri $WR1,    #0x7fb8
cw 0x15
call send_back  ; 20508 (0x501c)

lri $AR1,    #0x527e
lri $IX1,    #0x73d2
lri $WR1,    #0xa8e4
cw 0x15
call send_back  ; 20509 (0x501d)

lri $AR1,    #0x6284
lri $IX1,    #0x480a
lri $WR1,    #0xa158
cw 0x15
call send_back  ; 20510 (0x501e)

lri $AR1,    #0x4a0c
lri $IX1,    #0x4cfa
lri $WR1,    #0xd4eb
cw 0x15
call send_back  ; 20511 (0x501f)

lri $AR1,    #0x98c2
lri $IX1,    #0xeac4
lri $WR1,    #0x7299
cw 0x15
call send_back  ; 20512 (0x5020)

lri $AR1,    #0x8e27
lri $IX1,    #0xd37a
lri $WR1,    #0xd3f1
cw 0x15
call send_back  ; 20513 (0x5021)

lri $AR1,    #0xc4c2
lri $IX1,    #0x21b4
lri $WR1,    #0x6d3b
cw 0x15
call send_back  ; 20514 (0x5022)

lri $AR1,    #0x7879
lri $IX1,    #0x770c
lri $WR1,    #0x897b
cw 0x15
call send_back  ; 20515 (0x5023)

lri $AR1,    #0x9553
lri $IX1,    #0xe2c8
lri $WR1,    #0xcae0
cw 0x15
call send_back  ; 20516 (0x5024)

lri $AR1,    #0x1778
lri $IX1,    #0x2148
lri $WR1,    #0x4198
cw 0x15
call send_back  ; 20517 (0x5025)

lri $AR1,    #0x54c3
lri $IX1,    #0xb97a
lri $WR1,    #0xc8bd
cw 0x15
call send_back  ; 20518 (0x5026)

lri $AR1,    #0x6baa
lri $IX1,    #0xbe10
lri $WR1,    #0x9a49
cw 0x15
call send_back  ; 20519 (0x5027)

lri $AR1,    #0xaae5
lri $IX1,    #0xa47a
lri $WR1,    #0x90ba
cw 0x15
call send_back  ; 20520 (0x5028)

lri $AR1,    #0x3076
lri $IX1,    #0xdc94
lri $WR1,    #0x3667
cw 0x15
call send_back  ; 20521 (0x5029)

lri $AR1,    #0x9ea0
lri $IX1,    #0xb7f2
lri $WR1,    #0x701d
cw 0x15
call send_back  ; 20522 (0x502a)

lri $AR1,    #0x7861
lri $IX1,    #0xe0c0
lri $WR1,    #0x220e
cw 0x15
call send_back  ; 20523 (0x502b)

lri $AR1,    #0x5eee
lri $IX1,    #0x3c32
lri $WR1,    #0x83b0
cw 0x15
call send_back  ; 20524 (0x502c)

lri $AR1,    #0x64de
lri $IX1,    #0xbd40
lri $WR1,    #0x5083
cw 0x15
call send_back  ; 20525 (0x502d)

lri $AR1,    #0x5b6b
lri $IX1,    #0x80f4
lri $WR1,    #0x816c
cw 0x15
call send_back  ; 20526 (0x502e)

lri $AR1,    #0x4192
lri $IX1,    #0xade6
lri $WR1,    #0x9b9c
cw 0x15
call send_back  ; 20527 (0x502f)

lri $AR1,    #0x345b
lri $IX1,    #0x1d0e
lri $WR1,    #0x47a0
cw 0x15
call send_back  ; 20528 (0x5030)

lri $AR1,    #0xcb22
lri $IX1,    #0xeab6
lri $WR1,    #0x2ca8
cw 0x15
call send_back  ; 20529 (0x5031)

lri $AR1,    #0x0a31
lri $IX1,    #0xd2a6
lri $WR1,    #0xd996
cw 0x15
call send_back  ; 20530 (0x5032)

lri $AR1,    #0x6972
lri $IX1,    #0xcb4e
lri $WR1,    #0xb6db
cw 0x15
call send_back  ; 20531 (0x5033)

lri $AR1,    #0xb495
lri $IX1,    #0xcff6
lri $WR1,    #0xf1c1
cw 0x15
call send_back  ; 20532 (0x5034)

lri $AR1,    #0xa571
lri $IX1,    #0x52e6
lri $WR1,    #0x6b2d
cw 0x15
call send_back  ; 20533 (0x5035)

lri $AR1,    #0xe8f2
lri $IX1,    #0x8474
lri $WR1,    #0x515f
cw 0x15
call send_back  ; 20534 (0x5036)

lri $AR1,    #0x2265
lri $IX1,    #0x9ccc
lri $WR1,    #0x8dcd
cw 0x15
call send_back  ; 20535 (0x5037)

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