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

lri $AR1,    #0x7e94
lri $IX1,    #0x4224
lri $WR1,    #0xbc74
cw 0xd
call send_back  ; 16604 (0x40dc)

lri $AR1,    #0xb69d
lri $IX1,    #0xff26
lri $WR1,    #0x8709
cw 0xd
call send_back  ; 16605 (0x40dd)

lri $AR1,    #0x9e65
lri $IX1,    #0xed92
lri $WR1,    #0x5767
cw 0xd
call send_back  ; 16606 (0x40de)

lri $AR1,    #0x9334
lri $IX1,    #0xfc7e
lri $WR1,    #0x66ac
cw 0xd
call send_back  ; 16607 (0x40df)

lri $AR1,    #0x35ec
lri $IX1,    #0xf292
lri $WR1,    #0xab92
cw 0xd
call send_back  ; 16608 (0x40e0)

lri $AR1,    #0xad6d
lri $IX1,    #0xb42c
lri $WR1,    #0x704e
cw 0xd
call send_back  ; 16609 (0x40e1)

lri $AR1,    #0x6a52
lri $IX1,    #0x8154
lri $WR1,    #0xad43
cw 0xd
call send_back  ; 16610 (0x40e2)

lri $AR1,    #0x31c1
lri $IX1,    #0x3fc0
lri $WR1,    #0x0b82
cw 0xd
call send_back  ; 16611 (0x40e3)

lri $AR1,    #0xbcb2
lri $IX1,    #0x28b0
lri $WR1,    #0xa7b0
cw 0xd
call send_back  ; 16612 (0x40e4)

lri $AR1,    #0x9472
lri $IX1,    #0x69f8
lri $WR1,    #0x8768
cw 0xd
call send_back  ; 16613 (0x40e5)

lri $AR1,    #0xe4ad
lri $IX1,    #0x5506
lri $WR1,    #0x109c
cw 0xd
call send_back  ; 16614 (0x40e6)

lri $AR1,    #0x9edd
lri $IX1,    #0x763e
lri $WR1,    #0x9411
cw 0xd
call send_back  ; 16615 (0x40e7)

lri $AR1,    #0x6266
lri $IX1,    #0x426e
lri $WR1,    #0x817f
cw 0xd
call send_back  ; 16616 (0x40e8)

lri $AR1,    #0x0832
lri $IX1,    #0xcfb2
lri $WR1,    #0x8566
cw 0xd
call send_back  ; 16617 (0x40e9)

lri $AR1,    #0x5011
lri $IX1,    #0x2a92
lri $WR1,    #0x7e2d
cw 0xd
call send_back  ; 16618 (0x40ea)

lri $AR1,    #0xe1c8
lri $IX1,    #0x27b8
lri $WR1,    #0x4793
cw 0xd
call send_back  ; 16619 (0x40eb)

lri $AR1,    #0x7afc
lri $IX1,    #0xf5f2
lri $WR1,    #0x3104
cw 0xd
call send_back  ; 16620 (0x40ec)

lri $AR1,    #0x9ee6
lri $IX1,    #0x0bf8
lri $WR1,    #0x6ced
cw 0xd
call send_back  ; 16621 (0x40ed)

lri $AR1,    #0x4c11
lri $IX1,    #0x38a0
lri $WR1,    #0x448b
cw 0xd
call send_back  ; 16622 (0x40ee)

lri $AR1,    #0x7ffe
lri $IX1,    #0x7bea
lri $WR1,    #0xbd5a
cw 0xd
call send_back  ; 16623 (0x40ef)

lri $AR1,    #0x87e4
lri $IX1,    #0xc29c
lri $WR1,    #0x82a0
cw 0xd
call send_back  ; 16624 (0x40f0)

lri $AR1,    #0xa983
lri $IX1,    #0x85e0
lri $WR1,    #0x2f39
cw 0xd
call send_back  ; 16625 (0x40f1)

lri $AR1,    #0x6e37
lri $IX1,    #0x8b8a
lri $WR1,    #0xe120
cw 0xd
call send_back  ; 16626 (0x40f2)

lri $AR1,    #0xae2b
lri $IX1,    #0x7386
lri $WR1,    #0xb1ce
cw 0xd
call send_back  ; 16627 (0x40f3)

lri $AR1,    #0x4103
lri $IX1,    #0x4206
lri $WR1,    #0xa40a
cw 0xd
call send_back  ; 16628 (0x40f4)

lri $AR1,    #0x54b6
lri $IX1,    #0x8df6
lri $WR1,    #0xb121
cw 0xd
call send_back  ; 16629 (0x40f5)

lri $AR1,    #0x3b03
lri $IX1,    #0x4666
lri $WR1,    #0x3d2e
cw 0xd
call send_back  ; 16630 (0x40f6)

lri $AR1,    #0xe139
lri $IX1,    #0x0138
lri $WR1,    #0xbb71
cw 0xd
call send_back  ; 16631 (0x40f7)

lri $AR1,    #0x7db8
lri $IX1,    #0x5900
lri $WR1,    #0x9150
cw 0xd
call send_back  ; 16632 (0x40f8)

lri $AR1,    #0x29e3
lri $IX1,    #0xe746
lri $WR1,    #0xb012
cw 0xd
call send_back  ; 16633 (0x40f9)

lri $AR1,    #0x7ef1
lri $IX1,    #0xc3fc
lri $WR1,    #0x4ad2
cw 0xd
call send_back  ; 16634 (0x40fa)

lri $AR1,    #0x3f49
lri $IX1,    #0x029e
lri $WR1,    #0x5fdc
cw 0xd
call send_back  ; 16635 (0x40fb)

lri $AR1,    #0x7dd8
lri $IX1,    #0x4892
lri $WR1,    #0x61db
cw 0xd
call send_back  ; 16636 (0x40fc)

lri $AR1,    #0xf028
lri $IX1,    #0x3048
lri $WR1,    #0x8710
cw 0xd
call send_back  ; 16637 (0x40fd)

lri $AR1,    #0x8774
lri $IX1,    #0x97d6
lri $WR1,    #0x8200
cw 0xd
call send_back  ; 16638 (0x40fe)

lri $AR1,    #0x70b2
lri $IX1,    #0x1958
lri $WR1,    #0x88c1
cw 0xd
call send_back  ; 16639 (0x40ff)

lri $AR1,    #0x92b4
lri $IX1,    #0x9efc
lri $WR1,    #0xf56a
cw 0xd
call send_back  ; 16640 (0x4100)

lri $AR1,    #0x6d55
lri $IX1,    #0x2bf6
lri $WR1,    #0xd3ba
cw 0xd
call send_back  ; 16641 (0x4101)

lri $AR1,    #0x3bf5
lri $IX1,    #0x6f2a
lri $WR1,    #0xbd81
cw 0xd
call send_back  ; 16642 (0x4102)

lri $AR1,    #0x5104
lri $IX1,    #0x63f2
lri $WR1,    #0xd8e8
cw 0xd
call send_back  ; 16643 (0x4103)

lri $AR1,    #0xa80f
lri $IX1,    #0x08b6
lri $WR1,    #0x8113
cw 0xd
call send_back  ; 16644 (0x4104)

lri $AR1,    #0x86fb
lri $IX1,    #0xeabe
lri $WR1,    #0x7b44
cw 0xd
call send_back  ; 16645 (0x4105)

lri $AR1,    #0x16d7
lri $IX1,    #0xd1f2
lri $WR1,    #0x77fa
cw 0xd
call send_back  ; 16646 (0x4106)

lri $AR1,    #0x8009
lri $IX1,    #0x16fc
lri $WR1,    #0x6134
cw 0xd
call send_back  ; 16647 (0x4107)

lri $AR1,    #0xad29
lri $IX1,    #0x0172
lri $WR1,    #0x7c46
cw 0xd
call send_back  ; 16648 (0x4108)

lri $AR1,    #0xc35b
lri $IX1,    #0xd384
lri $WR1,    #0x8f7b
cw 0xd
call send_back  ; 16649 (0x4109)

lri $AR1,    #0x7e73
lri $IX1,    #0xc3d8
lri $WR1,    #0x68e6
cw 0xd
call send_back  ; 16650 (0x410a)

lri $AR1,    #0x52bf
lri $IX1,    #0xf5f4
lri $WR1,    #0xb59c
cw 0xd
call send_back  ; 16651 (0x410b)

lri $AR1,    #0xddb9
lri $IX1,    #0x6516
lri $WR1,    #0x6dca
cw 0xd
call send_back  ; 16652 (0x410c)

lri $AR1,    #0x2a73
lri $IX1,    #0x8caa
lri $WR1,    #0x93c5
cw 0xd
call send_back  ; 16653 (0x410d)

lri $AR1,    #0x7e1d
lri $IX1,    #0x453e
lri $WR1,    #0x8196
cw 0xd
call send_back  ; 16654 (0x410e)

lri $AR1,    #0xa461
lri $IX1,    #0xac56
lri $WR1,    #0x6233
cw 0xd
call send_back  ; 16655 (0x410f)

lri $AR1,    #0x6aeb
lri $IX1,    #0xe0c4
lri $WR1,    #0x98bf
cw 0xd
call send_back  ; 16656 (0x4110)

lri $AR1,    #0x86f5
lri $IX1,    #0xc502
lri $WR1,    #0xa21e
cw 0xd
call send_back  ; 16657 (0x4111)

lri $AR1,    #0x5f1e
lri $IX1,    #0xb444
lri $WR1,    #0x4a38
cw 0xd
call send_back  ; 16658 (0x4112)

lri $AR1,    #0x875d
lri $IX1,    #0x0694
lri $WR1,    #0xc021
cw 0xd
call send_back  ; 16659 (0x4113)

lri $AR1,    #0x8467
lri $IX1,    #0x43d2
lri $WR1,    #0x899c
cw 0xd
call send_back  ; 16660 (0x4114)

lri $AR1,    #0x0750
lri $IX1,    #0xdcdc
lri $WR1,    #0x701d
cw 0xd
call send_back  ; 16661 (0x4115)

lri $AR1,    #0x21b9
lri $IX1,    #0x0dbc
lri $WR1,    #0x9ecf
cw 0xd
call send_back  ; 16662 (0x4116)

lri $AR1,    #0x565b
lri $IX1,    #0x0b1a
lri $WR1,    #0xaaa8
cw 0xd
call send_back  ; 16663 (0x4117)

lri $AR1,    #0x414b
lri $IX1,    #0xb0d2
lri $WR1,    #0x8330
cw 0xd
call send_back  ; 16664 (0x4118)

lri $AR1,    #0xbea7
lri $IX1,    #0x6f00
lri $WR1,    #0xb3ef
cw 0xd
call send_back  ; 16665 (0x4119)

lri $AR1,    #0x5627
lri $IX1,    #0x0e32
lri $WR1,    #0xcc35
cw 0xd
call send_back  ; 16666 (0x411a)

lri $AR1,    #0x253d
lri $IX1,    #0xf346
lri $WR1,    #0x9422
cw 0xd
call send_back  ; 16667 (0x411b)

lri $AR1,    #0x692c
lri $IX1,    #0xae8c
lri $WR1,    #0x4ba1
cw 0xd
call send_back  ; 16668 (0x411c)

lri $AR1,    #0x85d7
lri $IX1,    #0xb9aa
lri $WR1,    #0x6959
cw 0xd
call send_back  ; 16669 (0x411d)

lri $AR1,    #0xd59c
lri $IX1,    #0x32ec
lri $WR1,    #0x0d1e
cw 0xd
call send_back  ; 16670 (0x411e)

lri $AR1,    #0x921b
lri $IX1,    #0x0476
lri $WR1,    #0x7afe
cw 0xd
call send_back  ; 16671 (0x411f)

lri $AR1,    #0x9d1b
lri $IX1,    #0x1902
lri $WR1,    #0x5970
cw 0xd
call send_back  ; 16672 (0x4120)

lri $AR1,    #0x3c72
lri $IX1,    #0xe790
lri $WR1,    #0x76b8
cw 0xd
call send_back  ; 16673 (0x4121)

lri $AR1,    #0x5b41
lri $IX1,    #0x9ae6
lri $WR1,    #0x6716
cw 0xd
call send_back  ; 16674 (0x4122)

lri $AR1,    #0xf644
lri $IX1,    #0x48fc
lri $WR1,    #0xbec8
cw 0xd
call send_back  ; 16675 (0x4123)

lri $AR1,    #0x609b
lri $IX1,    #0xf268
lri $WR1,    #0x6074
cw 0xd
call send_back  ; 16676 (0x4124)

lri $AR1,    #0x69c6
lri $IX1,    #0x38e4
lri $WR1,    #0xb200
cw 0xd
call send_back  ; 16677 (0x4125)

lri $AR1,    #0x7d38
lri $IX1,    #0xc7d2
lri $WR1,    #0xe77e
cw 0xd
call send_back  ; 16678 (0x4126)

lri $AR1,    #0x7741
lri $IX1,    #0x2920
lri $WR1,    #0x5520
cw 0xd
call send_back  ; 16679 (0x4127)

lri $AR1,    #0x82ac
lri $IX1,    #0x1432
lri $WR1,    #0x3edb
cw 0xd
call send_back  ; 16680 (0x4128)

lri $AR1,    #0xbdd8
lri $IX1,    #0x0c46
lri $WR1,    #0xc5c0
cw 0xd
call send_back  ; 16681 (0x4129)

lri $AR1,    #0x859d
lri $IX1,    #0x3f20
lri $WR1,    #0x4092
cw 0xd
call send_back  ; 16682 (0x412a)

lri $AR1,    #0x77d3
lri $IX1,    #0xe428
lri $WR1,    #0x5ebf
cw 0xd
call send_back  ; 16683 (0x412b)

lri $AR1,    #0xe6c4
lri $IX1,    #0xc006
lri $WR1,    #0x4a2f
cw 0xd
call send_back  ; 16684 (0x412c)

lri $AR1,    #0x7263
lri $IX1,    #0xc7da
lri $WR1,    #0x761e
cw 0xd
call send_back  ; 16685 (0x412d)

lri $AR1,    #0x2b81
lri $IX1,    #0x0af0
lri $WR1,    #0x4667
cw 0xd
call send_back  ; 16686 (0x412e)

lri $AR1,    #0x68f0
lri $IX1,    #0xe94a
lri $WR1,    #0x9c75
cw 0xd
call send_back  ; 16687 (0x412f)

lri $AR1,    #0xadd2
lri $IX1,    #0x10c6
lri $WR1,    #0x7c4c
cw 0xd
call send_back  ; 16688 (0x4130)

lri $AR1,    #0x8bdc
lri $IX1,    #0xa234
lri $WR1,    #0x45d5
cw 0xd
call send_back  ; 16689 (0x4131)

lri $AR1,    #0xabed
lri $IX1,    #0x1b20
lri $WR1,    #0xcbe8
cw 0xd
call send_back  ; 16690 (0x4132)

lri $AR1,    #0x7acb
lri $IX1,    #0x10ba
lri $WR1,    #0xc42e
cw 0xd
call send_back  ; 16691 (0x4133)

lri $AR1,    #0xbf3b
lri $IX1,    #0x4b8a
lri $WR1,    #0x806b
cw 0xd
call send_back  ; 16692 (0x4134)

lri $AR1,    #0x7a6e
lri $IX1,    #0x4b62
lri $WR1,    #0x7b3b
cw 0xd
call send_back  ; 16693 (0x4135)

lri $AR1,    #0xc2e6
lri $IX1,    #0x8646
lri $WR1,    #0xdfd6
cw 0xd
call send_back  ; 16694 (0x4136)

lri $AR1,    #0x2dca
lri $IX1,    #0xb4a2
lri $WR1,    #0xb5e9
cw 0xd
call send_back  ; 16695 (0x4137)

lri $AR1,    #0x31de
lri $IX1,    #0x10a0
lri $WR1,    #0xa01b
cw 0xd
call send_back  ; 16696 (0x4138)

lri $AR1,    #0x1afd
lri $IX1,    #0x75ea
lri $WR1,    #0x853e
cw 0xd
call send_back  ; 16697 (0x4139)

lri $AR1,    #0x8464
lri $IX1,    #0xaaac
lri $WR1,    #0x69ce
cw 0xd
call send_back  ; 16698 (0x413a)

lri $AR1,    #0x438e
lri $IX1,    #0xaa26
lri $WR1,    #0x10c1
cw 0xd
call send_back  ; 16699 (0x413b)

lri $AR1,    #0x9510
lri $IX1,    #0x6c92
lri $WR1,    #0x9044
cw 0xd
call send_back  ; 16700 (0x413c)

lri $AR1,    #0x9828
lri $IX1,    #0x3fca
lri $WR1,    #0x4063
cw 0xd
call send_back  ; 16701 (0x413d)

lri $AR1,    #0x955a
lri $IX1,    #0x2f58
lri $WR1,    #0xa743
cw 0xd
call send_back  ; 16702 (0x413e)

lri $AR1,    #0x8ff0
lri $IX1,    #0x1a5e
lri $WR1,    #0xa7e6
cw 0xd
call send_back  ; 16703 (0x413f)

lri $AR1,    #0x99a1
lri $IX1,    #0xc922
lri $WR1,    #0x9e23
cw 0xd
call send_back  ; 16704 (0x4140)

lri $AR1,    #0x2b41
lri $IX1,    #0x7b7a
lri $WR1,    #0x9bc6
cw 0xd
call send_back  ; 16705 (0x4141)

lri $AR1,    #0x44b3
lri $IX1,    #0xe504
lri $WR1,    #0x8880
cw 0xd
call send_back  ; 16706 (0x4142)

lri $AR1,    #0xa9ff
lri $IX1,    #0x3b5e
lri $WR1,    #0x57a2
cw 0xd
call send_back  ; 16707 (0x4143)

lri $AR1,    #0x1ad7
lri $IX1,    #0xbe46
lri $WR1,    #0x3c52
cw 0xd
call send_back  ; 16708 (0x4144)

lri $AR1,    #0xbd55
lri $IX1,    #0xd8e8
lri $WR1,    #0x9e1f
cw 0xd
call send_back  ; 16709 (0x4145)

lri $AR1,    #0x8451
lri $IX1,    #0x8726
lri $WR1,    #0x6da8
cw 0xd
call send_back  ; 16710 (0x4146)

lri $AR1,    #0x7d05
lri $IX1,    #0xe92e
lri $WR1,    #0x3a56
cw 0xd
call send_back  ; 16711 (0x4147)

lri $AR1,    #0x876f
lri $IX1,    #0xc32e
lri $WR1,    #0x6fbe
cw 0xd
call send_back  ; 16712 (0x4148)

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