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

lri $AR1,    #0x6de0
lri $IX1,    #0x44ec
lri $WR1,    #0xba5d
cw 0xd
call send_back  ; 8521 (0x2149)

lri $AR1,    #0x6d98
lri $IX1,    #0x8fd2
lri $WR1,    #0x2600
cw 0xd
call send_back  ; 8522 (0x214a)

lri $AR1,    #0x7dbf
lri $IX1,    #0x780e
lri $WR1,    #0xf4c7
cw 0xd
call send_back  ; 8523 (0x214b)

lri $AR1,    #0xa773
lri $IX1,    #0x9db2
lri $WR1,    #0x4c62
cw 0xd
call send_back  ; 8524 (0x214c)

lri $AR1,    #0x517f
lri $IX1,    #0xb18e
lri $WR1,    #0x4aee
cw 0xd
call send_back  ; 8525 (0x214d)

lri $AR1,    #0x3a56
lri $IX1,    #0xebac
lri $WR1,    #0x8818
cw 0xd
call send_back  ; 8526 (0x214e)

lri $AR1,    #0x55fa
lri $IX1,    #0x1090
lri $WR1,    #0xb5bf
cw 0xd
call send_back  ; 8527 (0x214f)

lri $AR1,    #0x9efc
lri $IX1,    #0x2f24
lri $WR1,    #0x82c8
cw 0xd
call send_back  ; 8528 (0x2150)

lri $AR1,    #0x758c
lri $IX1,    #0xa88a
lri $WR1,    #0xac22
cw 0xd
call send_back  ; 8529 (0x2151)

lri $AR1,    #0x66cf
lri $IX1,    #0xcea8
lri $WR1,    #0x7595
cw 0xd
call send_back  ; 8530 (0x2152)

lri $AR1,    #0x8a53
lri $IX1,    #0x55d2
lri $WR1,    #0x7562
cw 0xd
call send_back  ; 8531 (0x2153)

lri $AR1,    #0x6af2
lri $IX1,    #0xd93c
lri $WR1,    #0x9349
cw 0xd
call send_back  ; 8532 (0x2154)

lri $AR1,    #0x8bf6
lri $IX1,    #0xa9aa
lri $WR1,    #0xb510
cw 0xd
call send_back  ; 8533 (0x2155)

lri $AR1,    #0x6ac5
lri $IX1,    #0xe91c
lri $WR1,    #0xaffb
cw 0xd
call send_back  ; 8534 (0x2156)

lri $AR1,    #0xc0f2
lri $IX1,    #0x75be
lri $WR1,    #0x9872
cw 0xd
call send_back  ; 8535 (0x2157)

lri $AR1,    #0xa1f4
lri $IX1,    #0x3a08
lri $WR1,    #0x4e37
cw 0xd
call send_back  ; 8536 (0x2158)

lri $AR1,    #0xbb60
lri $IX1,    #0xff36
lri $WR1,    #0x8d64
cw 0xd
call send_back  ; 8537 (0x2159)

lri $AR1,    #0x5df3
lri $IX1,    #0xbb10
lri $WR1,    #0x39a5
cw 0xd
call send_back  ; 8538 (0x215a)

lri $AR1,    #0x6939
lri $IX1,    #0x6138
lri $WR1,    #0x6ac7
cw 0xd
call send_back  ; 8539 (0x215b)

lri $AR1,    #0x9b17
lri $IX1,    #0x63d4
lri $WR1,    #0x5736
cw 0xd
call send_back  ; 8540 (0x215c)

lri $AR1,    #0x8026
lri $IX1,    #0x26ee
lri $WR1,    #0x7264
cw 0xd
call send_back  ; 8541 (0x215d)

lri $AR1,    #0xb10d
lri $IX1,    #0x954e
lri $WR1,    #0x52c6
cw 0xd
call send_back  ; 8542 (0x215e)

lri $AR1,    #0x0cbf
lri $IX1,    #0xa518
lri $WR1,    #0x9454
cw 0xd
call send_back  ; 8543 (0x215f)

lri $AR1,    #0x16eb
lri $IX1,    #0xce1e
lri $WR1,    #0xd246
cw 0xd
call send_back  ; 8544 (0x2160)

lri $AR1,    #0x6d5d
lri $IX1,    #0x1b08
lri $WR1,    #0x5bed
cw 0xd
call send_back  ; 8545 (0x2161)

lri $AR1,    #0xc6ba
lri $IX1,    #0x7a4e
lri $WR1,    #0xd668
cw 0xd
call send_back  ; 8546 (0x2162)

lri $AR1,    #0x8055
lri $IX1,    #0x2332
lri $WR1,    #0x6e22
cw 0xd
call send_back  ; 8547 (0x2163)

lri $AR1,    #0xc875
lri $IX1,    #0x269e
lri $WR1,    #0x70bf
cw 0xd
call send_back  ; 8548 (0x2164)

lri $AR1,    #0x4dd0
lri $IX1,    #0x7b30
lri $WR1,    #0x8174
cw 0xd
call send_back  ; 8549 (0x2165)

lri $AR1,    #0xec9c
lri $IX1,    #0xdf46
lri $WR1,    #0x776f
cw 0xd
call send_back  ; 8550 (0x2166)

lri $AR1,    #0x7503
lri $IX1,    #0xab4e
lri $WR1,    #0xb752
cw 0xd
call send_back  ; 8551 (0x2167)

lri $AR1,    #0x3e34
lri $IX1,    #0x0244
lri $WR1,    #0x5e51
cw 0xd
call send_back  ; 8552 (0x2168)

lri $AR1,    #0xa505
lri $IX1,    #0x958e
lri $WR1,    #0xbf07
cw 0xd
call send_back  ; 8553 (0x2169)

lri $AR1,    #0x3451
lri $IX1,    #0x4d20
lri $WR1,    #0xdd98
cw 0xd
call send_back  ; 8554 (0x216a)

lri $AR1,    #0x6909
lri $IX1,    #0x7430
lri $WR1,    #0x2a1d
cw 0xd
call send_back  ; 8555 (0x216b)

lri $AR1,    #0xab1e
lri $IX1,    #0x6e3a
lri $WR1,    #0x0e01
cw 0xd
call send_back  ; 8556 (0x216c)

lri $AR1,    #0x9036
lri $IX1,    #0x4fbe
lri $WR1,    #0x5a4a
cw 0xd
call send_back  ; 8557 (0x216d)

lri $AR1,    #0x2c68
lri $IX1,    #0xe184
lri $WR1,    #0xa274
cw 0xd
call send_back  ; 8558 (0x216e)

lri $AR1,    #0x78e0
lri $IX1,    #0x7492
lri $WR1,    #0xf0d4
cw 0xd
call send_back  ; 8559 (0x216f)

lri $AR1,    #0x8fa2
lri $IX1,    #0x60de
lri $WR1,    #0x6730
cw 0xd
call send_back  ; 8560 (0x2170)

lri $AR1,    #0x8759
lri $IX1,    #0xefda
lri $WR1,    #0x277c
cw 0xd
call send_back  ; 8561 (0x2171)

lri $AR1,    #0x796d
lri $IX1,    #0xafcc
lri $WR1,    #0xae70
cw 0xd
call send_back  ; 8562 (0x2172)

lri $AR1,    #0x9037
lri $IX1,    #0x9c26
lri $WR1,    #0x7ae1
cw 0xd
call send_back  ; 8563 (0x2173)

lri $AR1,    #0x42a4
lri $IX1,    #0x0aca
lri $WR1,    #0x5295
cw 0xd
call send_back  ; 8564 (0x2174)

lri $AR1,    #0x7e1a
lri $IX1,    #0xc56e
lri $WR1,    #0x8e70
cw 0xd
call send_back  ; 8565 (0x2175)

lri $AR1,    #0x4ee2
lri $IX1,    #0x020c
lri $WR1,    #0x75cd
cw 0xd
call send_back  ; 8566 (0x2176)

lri $AR1,    #0x7af7
lri $IX1,    #0xec98
lri $WR1,    #0xb1c5
cw 0xd
call send_back  ; 8567 (0x2177)

lri $AR1,    #0x5a85
lri $IX1,    #0x07ce
lri $WR1,    #0xa73e
cw 0xd
call send_back  ; 8568 (0x2178)

lri $AR1,    #0xe4de
lri $IX1,    #0xb280
lri $WR1,    #0x6f96
cw 0xd
call send_back  ; 8569 (0x2179)

lri $AR1,    #0x4840
lri $IX1,    #0x7a12
lri $WR1,    #0x95a9
cw 0xd
call send_back  ; 8570 (0x217a)

lri $AR1,    #0x5640
lri $IX1,    #0x7286
lri $WR1,    #0x8e1a
cw 0xd
call send_back  ; 8571 (0x217b)

lri $AR1,    #0x7619
lri $IX1,    #0x6ff2
lri $WR1,    #0x7793
cw 0xd
call send_back  ; 8572 (0x217c)

lri $AR1,    #0x89bf
lri $IX1,    #0x948e
lri $WR1,    #0x68f1
cw 0xd
call send_back  ; 8573 (0x217d)

lri $AR1,    #0xa1fa
lri $IX1,    #0x1260
lri $WR1,    #0xd0f4
cw 0xd
call send_back  ; 8574 (0x217e)

lri $AR1,    #0xe16b
lri $IX1,    #0x1e8e
lri $WR1,    #0x8c8f
cw 0xd
call send_back  ; 8575 (0x217f)

lri $AR1,    #0xe5b1
lri $IX1,    #0xc874
lri $WR1,    #0xbe55
cw 0xd
call send_back  ; 8576 (0x2180)

lri $AR1,    #0x5993
lri $IX1,    #0x8d90
lri $WR1,    #0x7b1f
cw 0xd
call send_back  ; 8577 (0x2181)

lri $AR1,    #0x527b
lri $IX1,    #0xff34
lri $WR1,    #0xed7c
cw 0xd
call send_back  ; 8578 (0x2182)

lri $AR1,    #0xaf08
lri $IX1,    #0x7e42
lri $WR1,    #0x82ef
cw 0xd
call send_back  ; 8579 (0x2183)

lri $AR1,    #0xb410
lri $IX1,    #0xd4d2
lri $WR1,    #0x6b98
cw 0xd
call send_back  ; 8580 (0x2184)

lri $AR1,    #0x80e5
lri $IX1,    #0x2cf4
lri $WR1,    #0x8e56
cw 0xd
call send_back  ; 8581 (0x2185)

lri $AR1,    #0x8324
lri $IX1,    #0x6f80
lri $WR1,    #0x70e3
cw 0xd
call send_back  ; 8582 (0x2186)

lri $AR1,    #0x35dd
lri $IX1,    #0x552a
lri $WR1,    #0xd51b
cw 0xd
call send_back  ; 8583 (0x2187)

lri $AR1,    #0x8f76
lri $IX1,    #0x47b6
lri $WR1,    #0x51ce
cw 0xd
call send_back  ; 8584 (0x2188)

lri $AR1,    #0x6cfb
lri $IX1,    #0x789e
lri $WR1,    #0x5761
cw 0xd
call send_back  ; 8585 (0x2189)

lri $AR1,    #0x6950
lri $IX1,    #0x2df4
lri $WR1,    #0xbda6
cw 0xd
call send_back  ; 8586 (0x218a)

lri $AR1,    #0xc1ee
lri $IX1,    #0x15ca
lri $WR1,    #0x8a0c
cw 0xd
call send_back  ; 8587 (0x218b)

lri $AR1,    #0x9299
lri $IX1,    #0x540c
lri $WR1,    #0x72bd
cw 0xd
call send_back  ; 8588 (0x218c)

lri $AR1,    #0xacd1
lri $IX1,    #0xd5ee
lri $WR1,    #0x9ca8
cw 0xd
call send_back  ; 8589 (0x218d)

lri $AR1,    #0x7f52
lri $IX1,    #0x21f0
lri $WR1,    #0x9016
cw 0xd
call send_back  ; 8590 (0x218e)

lri $AR1,    #0xc572
lri $IX1,    #0x3a9c
lri $WR1,    #0xc0d4
cw 0xd
call send_back  ; 8591 (0x218f)

lri $AR1,    #0x6da7
lri $IX1,    #0x1df2
lri $WR1,    #0x2c85
cw 0xd
call send_back  ; 8592 (0x2190)

lri $AR1,    #0xb219
lri $IX1,    #0xd2ba
lri $WR1,    #0x5b27
cw 0xd
call send_back  ; 8593 (0x2191)

lri $AR1,    #0x1d73
lri $IX1,    #0xb094
lri $WR1,    #0x5b5e
cw 0xd
call send_back  ; 8594 (0x2192)

lri $AR1,    #0x89d7
lri $IX1,    #0x7f12
lri $WR1,    #0x859b
cw 0xd
call send_back  ; 8595 (0x2193)

lri $AR1,    #0x6f47
lri $IX1,    #0x0bc4
lri $WR1,    #0x469c
cw 0xd
call send_back  ; 8596 (0x2194)

lri $AR1,    #0x7242
lri $IX1,    #0xce52
lri $WR1,    #0x4b73
cw 0xd
call send_back  ; 8597 (0x2195)

lri $AR1,    #0x72f5
lri $IX1,    #0xfdb2
lri $WR1,    #0x8684
cw 0xd
call send_back  ; 8598 (0x2196)

lri $AR1,    #0x40c7
lri $IX1,    #0xf896
lri $WR1,    #0x86a3
cw 0xd
call send_back  ; 8599 (0x2197)

lri $AR1,    #0x6d96
lri $IX1,    #0xf70e
lri $WR1,    #0xded2
cw 0xd
call send_back  ; 8600 (0x2198)

lri $AR1,    #0x676e
lri $IX1,    #0x8278
lri $WR1,    #0x46b9
cw 0xd
call send_back  ; 8601 (0x2199)

lri $AR1,    #0x5f14
lri $IX1,    #0x0cd6
lri $WR1,    #0x8961
cw 0xd
call send_back  ; 8602 (0x219a)

lri $AR1,    #0x7523
lri $IX1,    #0x0f8c
lri $WR1,    #0x2945
cw 0xd
call send_back  ; 8603 (0x219b)

lri $AR1,    #0x8f2c
lri $IX1,    #0x3d9a
lri $WR1,    #0x364f
cw 0xd
call send_back  ; 8604 (0x219c)

lri $AR1,    #0x717c
lri $IX1,    #0x6c6e
lri $WR1,    #0x8bc0
cw 0xd
call send_back  ; 8605 (0x219d)

lri $AR1,    #0x2a00
lri $IX1,    #0xc246
lri $WR1,    #0x69a8
cw 0xd
call send_back  ; 8606 (0x219e)

lri $AR1,    #0x5c02
lri $IX1,    #0x584c
lri $WR1,    #0xfef3
cw 0xd
call send_back  ; 8607 (0x219f)

lri $AR1,    #0x7415
lri $IX1,    #0xb268
lri $WR1,    #0x5e90
cw 0xd
call send_back  ; 8608 (0x21a0)

lri $AR1,    #0x96fd
lri $IX1,    #0x15ea
lri $WR1,    #0x63e3
cw 0xd
call send_back  ; 8609 (0x21a1)

lri $AR1,    #0x1de4
lri $IX1,    #0xc3fc
lri $WR1,    #0x97e6
cw 0xd
call send_back  ; 8610 (0x21a2)

lri $AR1,    #0x85b5
lri $IX1,    #0x4c2a
lri $WR1,    #0x9a35
cw 0xd
call send_back  ; 8611 (0x21a3)

lri $AR1,    #0x3eda
lri $IX1,    #0x6eb0
lri $WR1,    #0xc66f
cw 0xd
call send_back  ; 8612 (0x21a4)

lri $AR1,    #0xa63f
lri $IX1,    #0x3e18
lri $WR1,    #0xa819
cw 0xd
call send_back  ; 8613 (0x21a5)

lri $AR1,    #0x7fe4
lri $IX1,    #0x3aae
lri $WR1,    #0xac7e
cw 0xd
call send_back  ; 8614 (0x21a6)

lri $AR1,    #0x6ec4
lri $IX1,    #0xe26e
lri $WR1,    #0xc3ad
cw 0xd
call send_back  ; 8615 (0x21a7)

lri $AR1,    #0x7d77
lri $IX1,    #0x82e4
lri $WR1,    #0xa719
cw 0xd
call send_back  ; 8616 (0x21a8)

lri $AR1,    #0xb646
lri $IX1,    #0xe29e
lri $WR1,    #0xa5ee
cw 0xd
call send_back  ; 8617 (0x21a9)

lri $AR1,    #0x6918
lri $IX1,    #0x72ca
lri $WR1,    #0x84a9
cw 0xd
call send_back  ; 8618 (0x21aa)

lri $AR1,    #0x70ee
lri $IX1,    #0x095c
lri $WR1,    #0x8f14
cw 0xd
call send_back  ; 8619 (0x21ab)

lri $AR1,    #0x7263
lri $IX1,    #0x87aa
lri $WR1,    #0xd118
cw 0xd
call send_back  ; 8620 (0x21ac)

lri $AR1,    #0x87cf
lri $IX1,    #0x289e
lri $WR1,    #0x6488
cw 0xd
call send_back  ; 8621 (0x21ad)

lri $AR1,    #0x7f93
lri $IX1,    #0x5d70
lri $WR1,    #0xbf7d
cw 0xd
call send_back  ; 8622 (0x21ae)

lri $AR1,    #0x942f
lri $IX1,    #0xff2e
lri $WR1,    #0x503c
cw 0xd
call send_back  ; 8623 (0x21af)

lri $AR1,    #0xbd8c
lri $IX1,    #0x0ee4
lri $WR1,    #0xd948
cw 0xd
call send_back  ; 8624 (0x21b0)

lri $AR1,    #0xc64e
lri $IX1,    #0x25ac
lri $WR1,    #0xc9a3
cw 0xd
call send_back  ; 8625 (0x21b1)

lri $AR1,    #0x0f60
lri $IX1,    #0xf17e
lri $WR1,    #0x9ae4
cw 0xd
call send_back  ; 8626 (0x21b2)

lri $AR1,    #0xbfb3
lri $IX1,    #0x8b16
lri $WR1,    #0x700d
cw 0xd
call send_back  ; 8627 (0x21b3)

lri $AR1,    #0x6559
lri $IX1,    #0xf4a8
lri $WR1,    #0xa5e2
cw 0xd
call send_back  ; 8628 (0x21b4)

lri $AR1,    #0xa8ee
lri $IX1,    #0x88d4
lri $WR1,    #0x9e97
cw 0xd
call send_back  ; 8629 (0x21b5)

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