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

lri $AR1,    #0xb28c
lri $IX1,    #0x5a52
lri $WR1,    #0x60ea
cw 0x15
call send_back  ; 35718 (0x8b86)

lri $AR1,    #0x98a8
lri $IX1,    #0xc4a6
lri $WR1,    #0x7e9b
cw 0x15
call send_back  ; 35719 (0x8b87)

lri $AR1,    #0x7b4f
lri $IX1,    #0xdb1e
lri $WR1,    #0x63db
cw 0x15
call send_back  ; 35720 (0x8b88)

lri $AR1,    #0x82fc
lri $IX1,    #0xe550
lri $WR1,    #0xcc3e
cw 0x15
call send_back  ; 35721 (0x8b89)

lri $AR1,    #0x9c82
lri $IX1,    #0xdbbc
lri $WR1,    #0xab42
cw 0x15
call send_back  ; 35722 (0x8b8a)

lri $AR1,    #0xd9cc
lri $IX1,    #0xb85a
lri $WR1,    #0xde8c
cw 0x15
call send_back  ; 35723 (0x8b8b)

lri $AR1,    #0xc98c
lri $IX1,    #0x6cd6
lri $WR1,    #0xbcf1
cw 0x15
call send_back  ; 35724 (0x8b8c)

lri $AR1,    #0x8ab4
lri $IX1,    #0xf304
lri $WR1,    #0x8092
cw 0x15
call send_back  ; 35725 (0x8b8d)

lri $AR1,    #0x8fef
lri $IX1,    #0x40fc
lri $WR1,    #0x8769
cw 0x15
call send_back  ; 35726 (0x8b8e)

lri $AR1,    #0xcb02
lri $IX1,    #0x8a3e
lri $WR1,    #0xc772
cw 0x15
call send_back  ; 35727 (0x8b8f)

lri $AR1,    #0xaf56
lri $IX1,    #0x445c
lri $WR1,    #0x7900
cw 0x15
call send_back  ; 35728 (0x8b90)

lri $AR1,    #0x8680
lri $IX1,    #0xfd9e
lri $WR1,    #0x4340
cw 0x15
call send_back  ; 35729 (0x8b91)

lri $AR1,    #0x511a
lri $IX1,    #0x58f6
lri $WR1,    #0x8489
cw 0x15
call send_back  ; 35730 (0x8b92)

lri $AR1,    #0xc1bb
lri $IX1,    #0x92dc
lri $WR1,    #0x8179
cw 0x15
call send_back  ; 35731 (0x8b93)

lri $AR1,    #0x2750
lri $IX1,    #0xef58
lri $WR1,    #0xbb7e
cw 0x15
call send_back  ; 35732 (0x8b94)

lri $AR1,    #0x37cb
lri $IX1,    #0x79cc
lri $WR1,    #0x48db
cw 0x15
call send_back  ; 35733 (0x8b95)

lri $AR1,    #0x7b48
lri $IX1,    #0xb3d4
lri $WR1,    #0xa5a5
cw 0x15
call send_back  ; 35734 (0x8b96)

lri $AR1,    #0x7b9e
lri $IX1,    #0x50ce
lri $WR1,    #0x76e0
cw 0x15
call send_back  ; 35735 (0x8b97)

lri $AR1,    #0xb39b
lri $IX1,    #0x083a
lri $WR1,    #0x7e3c
cw 0x15
call send_back  ; 35736 (0x8b98)

lri $AR1,    #0x64ba
lri $IX1,    #0x01ca
lri $WR1,    #0xe691
cw 0x15
call send_back  ; 35737 (0x8b99)

lri $AR1,    #0x59b1
lri $IX1,    #0x820e
lri $WR1,    #0x7e9a
cw 0x15
call send_back  ; 35738 (0x8b9a)

lri $AR1,    #0x8f8d
lri $IX1,    #0x6fae
lri $WR1,    #0x4901
cw 0x15
call send_back  ; 35739 (0x8b9b)

lri $AR1,    #0xa6cb
lri $IX1,    #0x253c
lri $WR1,    #0xde5f
cw 0x15
call send_back  ; 35740 (0x8b9c)

lri $AR1,    #0x392a
lri $IX1,    #0xec5a
lri $WR1,    #0xd726
cw 0x15
call send_back  ; 35741 (0x8b9d)

lri $AR1,    #0x2089
lri $IX1,    #0x935a
lri $WR1,    #0x3118
cw 0x15
call send_back  ; 35742 (0x8b9e)

lri $AR1,    #0x3e9f
lri $IX1,    #0xef22
lri $WR1,    #0xc54d
cw 0x15
call send_back  ; 35743 (0x8b9f)

lri $AR1,    #0xccf0
lri $IX1,    #0xe75a
lri $WR1,    #0xc968
cw 0x15
call send_back  ; 35744 (0x8ba0)

lri $AR1,    #0x87af
lri $IX1,    #0x03c4
lri $WR1,    #0x5ff9
cw 0x15
call send_back  ; 35745 (0x8ba1)

lri $AR1,    #0x85f8
lri $IX1,    #0x75c0
lri $WR1,    #0xc9ad
cw 0x15
call send_back  ; 35746 (0x8ba2)

lri $AR1,    #0xa525
lri $IX1,    #0x69da
lri $WR1,    #0xba4e
cw 0x15
call send_back  ; 35747 (0x8ba3)

lri $AR1,    #0x748f
lri $IX1,    #0x295e
lri $WR1,    #0x8a2d
cw 0x15
call send_back  ; 35748 (0x8ba4)

lri $AR1,    #0x6a94
lri $IX1,    #0x5cda
lri $WR1,    #0x55fd
cw 0x15
call send_back  ; 35749 (0x8ba5)

lri $AR1,    #0x3b22
lri $IX1,    #0xb48c
lri $WR1,    #0x7cbb
cw 0x15
call send_back  ; 35750 (0x8ba6)

lri $AR1,    #0x4ba7
lri $IX1,    #0x7c8a
lri $WR1,    #0xaca5
cw 0x15
call send_back  ; 35751 (0x8ba7)

lri $AR1,    #0x57a8
lri $IX1,    #0x4ed8
lri $WR1,    #0x35df
cw 0x15
call send_back  ; 35752 (0x8ba8)

lri $AR1,    #0xc4df
lri $IX1,    #0x4df8
lri $WR1,    #0x82c1
cw 0x15
call send_back  ; 35753 (0x8ba9)

lri $AR1,    #0x4522
lri $IX1,    #0x374e
lri $WR1,    #0xc37e
cw 0x15
call send_back  ; 35754 (0x8baa)

lri $AR1,    #0x97e5
lri $IX1,    #0x4cf2
lri $WR1,    #0x6c0c
cw 0x15
call send_back  ; 35755 (0x8bab)

lri $AR1,    #0x64ae
lri $IX1,    #0xb320
lri $WR1,    #0x7904
cw 0x15
call send_back  ; 35756 (0x8bac)

lri $AR1,    #0x234a
lri $IX1,    #0x85fe
lri $WR1,    #0x696a
cw 0x15
call send_back  ; 35757 (0x8bad)

lri $AR1,    #0x3609
lri $IX1,    #0xc0e4
lri $WR1,    #0x5908
cw 0x15
call send_back  ; 35758 (0x8bae)

lri $AR1,    #0x9dd7
lri $IX1,    #0x30d4
lri $WR1,    #0x8852
cw 0x15
call send_back  ; 35759 (0x8baf)

lri $AR1,    #0x6793
lri $IX1,    #0x3852
lri $WR1,    #0x447b
cw 0x15
call send_back  ; 35760 (0x8bb0)

lri $AR1,    #0x7d4c
lri $IX1,    #0x4356
lri $WR1,    #0x6bb6
cw 0x15
call send_back  ; 35761 (0x8bb1)

lri $AR1,    #0xc5e0
lri $IX1,    #0x8e72
lri $WR1,    #0x9746
cw 0x15
call send_back  ; 35762 (0x8bb2)

lri $AR1,    #0x50ae
lri $IX1,    #0x7502
lri $WR1,    #0x2663
cw 0x15
call send_back  ; 35763 (0x8bb3)

lri $AR1,    #0x92ba
lri $IX1,    #0xf65a
lri $WR1,    #0x5a7c
cw 0x15
call send_back  ; 35764 (0x8bb4)

lri $AR1,    #0x560e
lri $IX1,    #0xaaf0
lri $WR1,    #0x4ef7
cw 0x15
call send_back  ; 35765 (0x8bb5)

lri $AR1,    #0xcbab
lri $IX1,    #0x1664
lri $WR1,    #0xb3fb
cw 0x15
call send_back  ; 35766 (0x8bb6)

lri $AR1,    #0x93d2
lri $IX1,    #0x444e
lri $WR1,    #0xb53f
cw 0x15
call send_back  ; 35767 (0x8bb7)

lri $AR1,    #0x6803
lri $IX1,    #0x09e8
lri $WR1,    #0x3b95
cw 0x15
call send_back  ; 35768 (0x8bb8)

lri $AR1,    #0x3d78
lri $IX1,    #0x3f4a
lri $WR1,    #0x211d
cw 0x15
call send_back  ; 35769 (0x8bb9)

lri $AR1,    #0x9664
lri $IX1,    #0xe76e
lri $WR1,    #0x5dc0
cw 0x15
call send_back  ; 35770 (0x8bba)

lri $AR1,    #0xabe3
lri $IX1,    #0xae98
lri $WR1,    #0x82fe
cw 0x15
call send_back  ; 35771 (0x8bbb)

lri $AR1,    #0x81c5
lri $IX1,    #0x8370
lri $WR1,    #0x73af
cw 0x15
call send_back  ; 35772 (0x8bbc)

lri $AR1,    #0x3123
lri $IX1,    #0x7762
lri $WR1,    #0x7dae
cw 0x15
call send_back  ; 35773 (0x8bbd)

lri $AR1,    #0xa5fe
lri $IX1,    #0xa78a
lri $WR1,    #0x390a
cw 0x15
call send_back  ; 35774 (0x8bbe)

lri $AR1,    #0x8fba
lri $IX1,    #0xcfc4
lri $WR1,    #0xb1d3
cw 0x15
call send_back  ; 35775 (0x8bbf)

lri $AR1,    #0x3bcc
lri $IX1,    #0x7634
lri $WR1,    #0x4709
cw 0x15
call send_back  ; 35776 (0x8bc0)

lri $AR1,    #0x5d65
lri $IX1,    #0x75c4
lri $WR1,    #0xb2c6
cw 0x15
call send_back  ; 35777 (0x8bc1)

lri $AR1,    #0xc461
lri $IX1,    #0x32fc
lri $WR1,    #0x3d25
cw 0x15
call send_back  ; 35778 (0x8bc2)

lri $AR1,    #0x9965
lri $IX1,    #0x16c2
lri $WR1,    #0x8d06
cw 0x15
call send_back  ; 35779 (0x8bc3)

lri $AR1,    #0x3c61
lri $IX1,    #0x273c
lri $WR1,    #0x3f3a
cw 0x15
call send_back  ; 35780 (0x8bc4)

lri $AR1,    #0xbe49
lri $IX1,    #0xdf80
lri $WR1,    #0x461a
cw 0x15
call send_back  ; 35781 (0x8bc5)

lri $AR1,    #0x7e72
lri $IX1,    #0xdb52
lri $WR1,    #0xf132
cw 0x15
call send_back  ; 35782 (0x8bc6)

lri $AR1,    #0x9730
lri $IX1,    #0xac88
lri $WR1,    #0x3df9
cw 0x15
call send_back  ; 35783 (0x8bc7)

lri $AR1,    #0x5d40
lri $IX1,    #0x5c58
lri $WR1,    #0x9830
cw 0x15
call send_back  ; 35784 (0x8bc8)

lri $AR1,    #0x2095
lri $IX1,    #0xd330
lri $WR1,    #0x59f7
cw 0x15
call send_back  ; 35785 (0x8bc9)

lri $AR1,    #0x7d08
lri $IX1,    #0xc65c
lri $WR1,    #0x892f
cw 0x15
call send_back  ; 35786 (0x8bca)

lri $AR1,    #0x3c98
lri $IX1,    #0xfb10
lri $WR1,    #0x6126
cw 0x15
call send_back  ; 35787 (0x8bcb)

lri $AR1,    #0x749f
lri $IX1,    #0xcb1e
lri $WR1,    #0x8d33
cw 0x15
call send_back  ; 35788 (0x8bcc)

lri $AR1,    #0x82c5
lri $IX1,    #0xfff6
lri $WR1,    #0x7243
cw 0x15
call send_back  ; 35789 (0x8bcd)

lri $AR1,    #0x3df9
lri $IX1,    #0x6d3a
lri $WR1,    #0x62ed
cw 0x15
call send_back  ; 35790 (0x8bce)

lri $AR1,    #0x7358
lri $IX1,    #0x5464
lri $WR1,    #0x7b1d
cw 0x15
call send_back  ; 35791 (0x8bcf)

lri $AR1,    #0x7e2f
lri $IX1,    #0xa7ee
lri $WR1,    #0x85e3
cw 0x15
call send_back  ; 35792 (0x8bd0)

lri $AR1,    #0x560b
lri $IX1,    #0xdc7e
lri $WR1,    #0x997b
cw 0x15
call send_back  ; 35793 (0x8bd1)

lri $AR1,    #0xad0c
lri $IX1,    #0x3b4c
lri $WR1,    #0x6319
cw 0x15
call send_back  ; 35794 (0x8bd2)

lri $AR1,    #0x8c5d
lri $IX1,    #0xb98e
lri $WR1,    #0x4d87
cw 0x15
call send_back  ; 35795 (0x8bd3)

lri $AR1,    #0x2413
lri $IX1,    #0x54f2
lri $WR1,    #0xa337
cw 0x15
call send_back  ; 35796 (0x8bd4)

lri $AR1,    #0x9f55
lri $IX1,    #0xfdf6
lri $WR1,    #0x65b4
cw 0x15
call send_back  ; 35797 (0x8bd5)

lri $AR1,    #0x9d05
lri $IX1,    #0x4d40
lri $WR1,    #0xb234
cw 0x15
call send_back  ; 35798 (0x8bd6)

lri $AR1,    #0x50d2
lri $IX1,    #0xc1a8
lri $WR1,    #0x8c27
cw 0x15
call send_back  ; 35799 (0x8bd7)

lri $AR1,    #0xa7ec
lri $IX1,    #0x3118
lri $WR1,    #0x2c7d
cw 0x15
call send_back  ; 35800 (0x8bd8)

lri $AR1,    #0x7848
lri $IX1,    #0x8f1a
lri $WR1,    #0xdd9d
cw 0x15
call send_back  ; 35801 (0x8bd9)

lri $AR1,    #0xa09f
lri $IX1,    #0x500a
lri $WR1,    #0x599c
cw 0x15
call send_back  ; 35802 (0x8bda)

lri $AR1,    #0x7315
lri $IX1,    #0xa0cc
lri $WR1,    #0x71d5
cw 0x15
call send_back  ; 35803 (0x8bdb)

lri $AR1,    #0xabce
lri $IX1,    #0x8718
lri $WR1,    #0x5c5e
cw 0x15
call send_back  ; 35804 (0x8bdc)

lri $AR1,    #0x703e
lri $IX1,    #0xe72c
lri $WR1,    #0xbd78
cw 0x15
call send_back  ; 35805 (0x8bdd)

lri $AR1,    #0xc38a
lri $IX1,    #0x7fe4
lri $WR1,    #0xc082
cw 0x15
call send_back  ; 35806 (0x8bde)

lri $AR1,    #0xdfc0
lri $IX1,    #0x4f20
lri $WR1,    #0x3581
cw 0x15
call send_back  ; 35807 (0x8bdf)

lri $AR1,    #0x5b49
lri $IX1,    #0x9c72
lri $WR1,    #0x8dd8
cw 0x15
call send_back  ; 35808 (0x8be0)

lri $AR1,    #0x4d4e
lri $IX1,    #0x40f4
lri $WR1,    #0x9c25
cw 0x15
call send_back  ; 35809 (0x8be1)

lri $AR1,    #0xa372
lri $IX1,    #0xc754
lri $WR1,    #0x88f2
cw 0x15
call send_back  ; 35810 (0x8be2)

lri $AR1,    #0x6ea3
lri $IX1,    #0xcfd4
lri $WR1,    #0x5f37
cw 0x15
call send_back  ; 35811 (0x8be3)

lri $AR1,    #0x7462
lri $IX1,    #0xe06e
lri $WR1,    #0xc943
cw 0x15
call send_back  ; 35812 (0x8be4)

lri $AR1,    #0x2d43
lri $IX1,    #0x91c6
lri $WR1,    #0x7017
cw 0x15
call send_back  ; 35813 (0x8be5)

lri $AR1,    #0x68f8
lri $IX1,    #0xfe24
lri $WR1,    #0x4ccf
cw 0x15
call send_back  ; 35814 (0x8be6)

lri $AR1,    #0x73c5
lri $IX1,    #0x981c
lri $WR1,    #0x7d17
cw 0x15
call send_back  ; 35815 (0x8be7)

lri $AR1,    #0x3097
lri $IX1,    #0x3b1a
lri $WR1,    #0xb14e
cw 0x15
call send_back  ; 35816 (0x8be8)

lri $AR1,    #0x869f
lri $IX1,    #0x8078
lri $WR1,    #0x745e
cw 0x15
call send_back  ; 35817 (0x8be9)

lri $AR1,    #0xa0b7
lri $IX1,    #0x4868
lri $WR1,    #0xbad5
cw 0x15
call send_back  ; 35818 (0x8bea)

lri $AR1,    #0xb068
lri $IX1,    #0x1638
lri $WR1,    #0x3859
cw 0x15
call send_back  ; 35819 (0x8beb)

lri $AR1,    #0x8de0
lri $IX1,    #0x7c50
lri $WR1,    #0x5000
cw 0x15
call send_back  ; 35820 (0x8bec)

lri $AR1,    #0x89a2
lri $IX1,    #0x7c70
lri $WR1,    #0xed9e
cw 0x15
call send_back  ; 35821 (0x8bed)

lri $AR1,    #0x7441
lri $IX1,    #0x957c
lri $WR1,    #0x9398
cw 0x15
call send_back  ; 35822 (0x8bee)

lri $AR1,    #0xa403
lri $IX1,    #0x586a
lri $WR1,    #0xca50
cw 0x15
call send_back  ; 35823 (0x8bef)

lri $AR1,    #0x77ab
lri $IX1,    #0xeaae
lri $WR1,    #0xc3b9
cw 0x15
call send_back  ; 35824 (0x8bf0)

lri $AR1,    #0x613e
lri $IX1,    #0xf496
lri $WR1,    #0x4f13
cw 0x15
call send_back  ; 35825 (0x8bf1)

lri $AR1,    #0x4321
lri $IX1,    #0x3f02
lri $WR1,    #0x8680
cw 0x15
call send_back  ; 35826 (0x8bf2)

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