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

lri $AR1,    #0x4ec3
lri $IX1,    #0x867e
lri $WR1,    #0x9dd2
cw 0x15
call send_back  ; 19444 (0x4bf4)

lri $AR1,    #0x3bef
lri $IX1,    #0x8216
lri $WR1,    #0x60be
cw 0x15
call send_back  ; 19445 (0x4bf5)

lri $AR1,    #0x804e
lri $IX1,    #0xa9ba
lri $WR1,    #0x4a46
cw 0x15
call send_back  ; 19446 (0x4bf6)

lri $AR1,    #0x89fb
lri $IX1,    #0x9082
lri $WR1,    #0x1894
cw 0x15
call send_back  ; 19447 (0x4bf7)

lri $AR1,    #0x08db
lri $IX1,    #0x860e
lri $WR1,    #0xbfb5
cw 0x15
call send_back  ; 19448 (0x4bf8)

lri $AR1,    #0x6a9b
lri $IX1,    #0x2a54
lri $WR1,    #0x2d57
cw 0x15
call send_back  ; 19449 (0x4bf9)

lri $AR1,    #0x8978
lri $IX1,    #0x4c14
lri $WR1,    #0x98c0
cw 0x15
call send_back  ; 19450 (0x4bfa)

lri $AR1,    #0x97a1
lri $IX1,    #0x19d0
lri $WR1,    #0x9620
cw 0x15
call send_back  ; 19451 (0x4bfb)

lri $AR1,    #0xb88d
lri $IX1,    #0x0956
lri $WR1,    #0x39cd
cw 0x15
call send_back  ; 19452 (0x4bfc)

lri $AR1,    #0x750d
lri $IX1,    #0x42ae
lri $WR1,    #0x516e
cw 0x15
call send_back  ; 19453 (0x4bfd)

lri $AR1,    #0xa665
lri $IX1,    #0xef7e
lri $WR1,    #0x76b1
cw 0x15
call send_back  ; 19454 (0x4bfe)

lri $AR1,    #0x7850
lri $IX1,    #0xb09c
lri $WR1,    #0x6095
cw 0x15
call send_back  ; 19455 (0x4bff)

lri $AR1,    #0x992b
lri $IX1,    #0xc816
lri $WR1,    #0xbdd7
cw 0x15
call send_back  ; 19456 (0x4c00)

lri $AR1,    #0xfb19
lri $IX1,    #0x5e2e
lri $WR1,    #0x6ca0
cw 0x15
call send_back  ; 19457 (0x4c01)

lri $AR1,    #0x8881
lri $IX1,    #0xccba
lri $WR1,    #0x70e7
cw 0x15
call send_back  ; 19458 (0x4c02)

lri $AR1,    #0x419a
lri $IX1,    #0x2c58
lri $WR1,    #0x7cbd
cw 0x15
call send_back  ; 19459 (0x4c03)

lri $AR1,    #0x407a
lri $IX1,    #0x9bd4
lri $WR1,    #0x92ed
cw 0x15
call send_back  ; 19460 (0x4c04)

lri $AR1,    #0x7c4e
lri $IX1,    #0x0264
lri $WR1,    #0xa622
cw 0x15
call send_back  ; 19461 (0x4c05)

lri $AR1,    #0xb42c
lri $IX1,    #0x81d4
lri $WR1,    #0x7404
cw 0x15
call send_back  ; 19462 (0x4c06)

lri $AR1,    #0x8d45
lri $IX1,    #0x8e74
lri $WR1,    #0x9d78
cw 0x15
call send_back  ; 19463 (0x4c07)

lri $AR1,    #0x87b7
lri $IX1,    #0xcee2
lri $WR1,    #0x827d
cw 0x15
call send_back  ; 19464 (0x4c08)

lri $AR1,    #0x58ec
lri $IX1,    #0x9e6c
lri $WR1,    #0x91c1
cw 0x15
call send_back  ; 19465 (0x4c09)

lri $AR1,    #0x59c3
lri $IX1,    #0x7120
lri $WR1,    #0x6984
cw 0x15
call send_back  ; 19466 (0x4c0a)

lri $AR1,    #0x6a52
lri $IX1,    #0x8970
lri $WR1,    #0x38c2
cw 0x15
call send_back  ; 19467 (0x4c0b)

lri $AR1,    #0x5498
lri $IX1,    #0x8b58
lri $WR1,    #0xa54e
cw 0x15
call send_back  ; 19468 (0x4c0c)

lri $AR1,    #0x32f2
lri $IX1,    #0xa1e4
lri $WR1,    #0x74e4
cw 0x15
call send_back  ; 19469 (0x4c0d)

lri $AR1,    #0x8e97
lri $IX1,    #0x403a
lri $WR1,    #0xb4ba
cw 0x15
call send_back  ; 19470 (0x4c0e)

lri $AR1,    #0x2df9
lri $IX1,    #0x27d4
lri $WR1,    #0x7ca9
cw 0x15
call send_back  ; 19471 (0x4c0f)

lri $AR1,    #0x424d
lri $IX1,    #0x6a14
lri $WR1,    #0x907f
cw 0x15
call send_back  ; 19472 (0x4c10)

lri $AR1,    #0xaf13
lri $IX1,    #0xb3f8
lri $WR1,    #0x6b86
cw 0x15
call send_back  ; 19473 (0x4c11)

lri $AR1,    #0x65f3
lri $IX1,    #0x7706
lri $WR1,    #0x8fd1
cw 0x15
call send_back  ; 19474 (0x4c12)

lri $AR1,    #0xa4ac
lri $IX1,    #0x932c
lri $WR1,    #0xa458
cw 0x15
call send_back  ; 19475 (0x4c13)

lri $AR1,    #0x2a7b
lri $IX1,    #0x21c0
lri $WR1,    #0x6288
cw 0x15
call send_back  ; 19476 (0x4c14)

lri $AR1,    #0x95bd
lri $IX1,    #0x0a5c
lri $WR1,    #0x6d3e
cw 0x15
call send_back  ; 19477 (0x4c15)

lri $AR1,    #0x6a18
lri $IX1,    #0x3eb0
lri $WR1,    #0xc8cb
cw 0x15
call send_back  ; 19478 (0x4c16)

lri $AR1,    #0xa311
lri $IX1,    #0xfb0c
lri $WR1,    #0x2d10
cw 0x15
call send_back  ; 19479 (0x4c17)

lri $AR1,    #0x8e42
lri $IX1,    #0x55c8
lri $WR1,    #0x3037
cw 0x15
call send_back  ; 19480 (0x4c18)

lri $AR1,    #0x5412
lri $IX1,    #0xe046
lri $WR1,    #0xb239
cw 0x15
call send_back  ; 19481 (0x4c19)

lri $AR1,    #0x7541
lri $IX1,    #0x40aa
lri $WR1,    #0x5e86
cw 0x15
call send_back  ; 19482 (0x4c1a)

lri $AR1,    #0x770a
lri $IX1,    #0x9c14
lri $WR1,    #0x6b29
cw 0x15
call send_back  ; 19483 (0x4c1b)

lri $AR1,    #0x5f36
lri $IX1,    #0x8568
lri $WR1,    #0x51b6
cw 0x15
call send_back  ; 19484 (0x4c1c)

lri $AR1,    #0x5cf0
lri $IX1,    #0x0d7a
lri $WR1,    #0x783a
cw 0x15
call send_back  ; 19485 (0x4c1d)

lri $AR1,    #0x6aa0
lri $IX1,    #0xa5b2
lri $WR1,    #0xfdb4
cw 0x15
call send_back  ; 19486 (0x4c1e)

lri $AR1,    #0xb8ae
lri $IX1,    #0xe6ea
lri $WR1,    #0x7f16
cw 0x15
call send_back  ; 19487 (0x4c1f)

lri $AR1,    #0xa866
lri $IX1,    #0x1a9c
lri $WR1,    #0x8f82
cw 0x15
call send_back  ; 19488 (0x4c20)

lri $AR1,    #0x69ea
lri $IX1,    #0xbd40
lri $WR1,    #0x27a2
cw 0x15
call send_back  ; 19489 (0x4c21)

lri $AR1,    #0xcf5f
lri $IX1,    #0x34ca
lri $WR1,    #0x5ddf
cw 0x15
call send_back  ; 19490 (0x4c22)

lri $AR1,    #0x7b4d
lri $IX1,    #0xc73a
lri $WR1,    #0x2a61
cw 0x15
call send_back  ; 19491 (0x4c23)

lri $AR1,    #0x9759
lri $IX1,    #0x9930
lri $WR1,    #0xaf72
cw 0x15
call send_back  ; 19492 (0x4c24)

lri $AR1,    #0x9c4d
lri $IX1,    #0x456c
lri $WR1,    #0xd863
cw 0x15
call send_back  ; 19493 (0x4c25)

lri $AR1,    #0x43a2
lri $IX1,    #0x9240
lri $WR1,    #0x7e6c
cw 0x15
call send_back  ; 19494 (0x4c26)

lri $AR1,    #0x5e70
lri $IX1,    #0x0aba
lri $WR1,    #0x04a9
cw 0x15
call send_back  ; 19495 (0x4c27)

lri $AR1,    #0x650e
lri $IX1,    #0xedae
lri $WR1,    #0x61b6
cw 0x15
call send_back  ; 19496 (0x4c28)

lri $AR1,    #0x7e1d
lri $IX1,    #0x1d54
lri $WR1,    #0xb70c
cw 0x15
call send_back  ; 19497 (0x4c29)

lri $AR1,    #0x5b81
lri $IX1,    #0x9ea4
lri $WR1,    #0x4396
cw 0x15
call send_back  ; 19498 (0x4c2a)

lri $AR1,    #0x7ed9
lri $IX1,    #0xe82a
lri $WR1,    #0x90a8
cw 0x15
call send_back  ; 19499 (0x4c2b)

lri $AR1,    #0x1ef8
lri $IX1,    #0xdc74
lri $WR1,    #0x0dd5
cw 0x15
call send_back  ; 19500 (0x4c2c)

lri $AR1,    #0xe316
lri $IX1,    #0xf4de
lri $WR1,    #0xc9c2
cw 0x15
call send_back  ; 19501 (0x4c2d)

lri $AR1,    #0x580e
lri $IX1,    #0xf5d6
lri $WR1,    #0x736f
cw 0x15
call send_back  ; 19502 (0x4c2e)

lri $AR1,    #0x477c
lri $IX1,    #0xa64c
lri $WR1,    #0x312f
cw 0x15
call send_back  ; 19503 (0x4c2f)

lri $AR1,    #0x5008
lri $IX1,    #0x909e
lri $WR1,    #0x7fb0
cw 0x15
call send_back  ; 19504 (0x4c30)

lri $AR1,    #0x29ad
lri $IX1,    #0xeb72
lri $WR1,    #0x9541
cw 0x15
call send_back  ; 19505 (0x4c31)

lri $AR1,    #0xc056
lri $IX1,    #0x8df6
lri $WR1,    #0x92e4
cw 0x15
call send_back  ; 19506 (0x4c32)

lri $AR1,    #0xa28d
lri $IX1,    #0x62f2
lri $WR1,    #0x7e28
cw 0x15
call send_back  ; 19507 (0x4c33)

lri $AR1,    #0x89a3
lri $IX1,    #0x4b14
lri $WR1,    #0x747b
cw 0x15
call send_back  ; 19508 (0x4c34)

lri $AR1,    #0x5c0e
lri $IX1,    #0xe702
lri $WR1,    #0xa1e0
cw 0x15
call send_back  ; 19509 (0x4c35)

lri $AR1,    #0xda59
lri $IX1,    #0x7672
lri $WR1,    #0x22b6
cw 0x15
call send_back  ; 19510 (0x4c36)

lri $AR1,    #0x8a73
lri $IX1,    #0xf9ee
lri $WR1,    #0x7995
cw 0x15
call send_back  ; 19511 (0x4c37)

lri $AR1,    #0x4ca9
lri $IX1,    #0x3186
lri $WR1,    #0x87c8
cw 0x15
call send_back  ; 19512 (0x4c38)

lri $AR1,    #0x311d
lri $IX1,    #0x0b08
lri $WR1,    #0x608c
cw 0x15
call send_back  ; 19513 (0x4c39)

lri $AR1,    #0x8412
lri $IX1,    #0xb6fe
lri $WR1,    #0x3c82
cw 0x15
call send_back  ; 19514 (0x4c3a)

lri $AR1,    #0x7acf
lri $IX1,    #0x0c20
lri $WR1,    #0xa48c
cw 0x15
call send_back  ; 19515 (0x4c3b)

lri $AR1,    #0xd26e
lri $IX1,    #0x3d6e
lri $WR1,    #0x807d
cw 0x15
call send_back  ; 19516 (0x4c3c)

lri $AR1,    #0x6d75
lri $IX1,    #0x4f84
lri $WR1,    #0x6fc9
cw 0x15
call send_back  ; 19517 (0x4c3d)

lri $AR1,    #0xec73
lri $IX1,    #0x4e94
lri $WR1,    #0x8fbc
cw 0x15
call send_back  ; 19518 (0x4c3e)

lri $AR1,    #0x4176
lri $IX1,    #0x266e
lri $WR1,    #0x7442
cw 0x15
call send_back  ; 19519 (0x4c3f)

lri $AR1,    #0x35c1
lri $IX1,    #0x4b08
lri $WR1,    #0x7dd9
cw 0x15
call send_back  ; 19520 (0x4c40)

lri $AR1,    #0xa46d
lri $IX1,    #0x3802
lri $WR1,    #0xc0b4
cw 0x15
call send_back  ; 19521 (0x4c41)

lri $AR1,    #0x2c67
lri $IX1,    #0x5278
lri $WR1,    #0x3ead
cw 0x15
call send_back  ; 19522 (0x4c42)

lri $AR1,    #0xaf7c
lri $IX1,    #0x08c4
lri $WR1,    #0xa6fe
cw 0x15
call send_back  ; 19523 (0x4c43)

lri $AR1,    #0x7be9
lri $IX1,    #0x485e
lri $WR1,    #0x8474
cw 0x15
call send_back  ; 19524 (0x4c44)

lri $AR1,    #0xd910
lri $IX1,    #0xaa92
lri $WR1,    #0x9c05
cw 0x15
call send_back  ; 19525 (0x4c45)

lri $AR1,    #0x3fce
lri $IX1,    #0x2d38
lri $WR1,    #0x9b7a
cw 0x15
call send_back  ; 19526 (0x4c46)

lri $AR1,    #0x2a28
lri $IX1,    #0x0d1a
lri $WR1,    #0x7922
cw 0x15
call send_back  ; 19527 (0x4c47)

lri $AR1,    #0x7da4
lri $IX1,    #0x8440
lri $WR1,    #0x6b3d
cw 0x15
call send_back  ; 19528 (0x4c48)

lri $AR1,    #0x7f21
lri $IX1,    #0xe6ce
lri $WR1,    #0x8708
cw 0x15
call send_back  ; 19529 (0x4c49)

lri $AR1,    #0xde85
lri $IX1,    #0xfda6
lri $WR1,    #0x451c
cw 0x15
call send_back  ; 19530 (0x4c4a)

lri $AR1,    #0x9bfa
lri $IX1,    #0xae6a
lri $WR1,    #0x3a27
cw 0x15
call send_back  ; 19531 (0x4c4b)

lri $AR1,    #0x3027
lri $IX1,    #0x1d44
lri $WR1,    #0x287b
cw 0x15
call send_back  ; 19532 (0x4c4c)

lri $AR1,    #0x5c1e
lri $IX1,    #0x9cda
lri $WR1,    #0x88a0
cw 0x15
call send_back  ; 19533 (0x4c4d)

lri $AR1,    #0xb55d
lri $IX1,    #0x15dc
lri $WR1,    #0x246a
cw 0x15
call send_back  ; 19534 (0x4c4e)

lri $AR1,    #0xc5ab
lri $IX1,    #0x2fbe
lri $WR1,    #0xc19f
cw 0x15
call send_back  ; 19535 (0x4c4f)

lri $AR1,    #0xce22
lri $IX1,    #0x90cc
lri $WR1,    #0x7ece
cw 0x15
call send_back  ; 19536 (0x4c50)

lri $AR1,    #0xc83b
lri $IX1,    #0x245e
lri $WR1,    #0xce4d
cw 0x15
call send_back  ; 19537 (0x4c51)

lri $AR1,    #0x7f20
lri $IX1,    #0x9a42
lri $WR1,    #0x490c
cw 0x15
call send_back  ; 19538 (0x4c52)

lri $AR1,    #0x6f2a
lri $IX1,    #0x6320
lri $WR1,    #0x4432
cw 0x15
call send_back  ; 19539 (0x4c53)

lri $AR1,    #0x60bb
lri $IX1,    #0x69fe
lri $WR1,    #0x8a2c
cw 0x15
call send_back  ; 19540 (0x4c54)

lri $AR1,    #0x4f62
lri $IX1,    #0xd38a
lri $WR1,    #0x3123
cw 0x15
call send_back  ; 19541 (0x4c55)

lri $AR1,    #0x7d91
lri $IX1,    #0x4080
lri $WR1,    #0xa686
cw 0x15
call send_back  ; 19542 (0x4c56)

lri $AR1,    #0x78a1
lri $IX1,    #0x90aa
lri $WR1,    #0x88a3
cw 0x15
call send_back  ; 19543 (0x4c57)

lri $AR1,    #0xa88f
lri $IX1,    #0x10ca
lri $WR1,    #0x2ce6
cw 0x15
call send_back  ; 19544 (0x4c58)

lri $AR1,    #0xb23b
lri $IX1,    #0x761a
lri $WR1,    #0x9ad0
cw 0x15
call send_back  ; 19545 (0x4c59)

lri $AR1,    #0xd26a
lri $IX1,    #0x2e8c
lri $WR1,    #0x3134
cw 0x15
call send_back  ; 19546 (0x4c5a)

lri $AR1,    #0x4b6e
lri $IX1,    #0x7d76
lri $WR1,    #0xfcc9
cw 0x15
call send_back  ; 19547 (0x4c5b)

lri $AR1,    #0x66b4
lri $IX1,    #0xb8e8
lri $WR1,    #0x5ca1
cw 0x15
call send_back  ; 19548 (0x4c5c)

lri $AR1,    #0x4720
lri $IX1,    #0xe450
lri $WR1,    #0x4a99
cw 0x15
call send_back  ; 19549 (0x4c5d)

lri $AR1,    #0x385d
lri $IX1,    #0xf9a0
lri $WR1,    #0x5b49
cw 0x15
call send_back  ; 19550 (0x4c5e)

lri $AR1,    #0x2b2b
lri $IX1,    #0x92ac
lri $WR1,    #0x2a97
cw 0x15
call send_back  ; 19551 (0x4c5f)

lri $AR1,    #0x85bc
lri $IX1,    #0x70d8
lri $WR1,    #0x4f5e
cw 0x15
call send_back  ; 19552 (0x4c60)

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