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

lri $AR1,    #0x4000
lri $IX1,    #0x1780
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6017 (0x1781)

lri $AR1,    #0x4000
lri $IX1,    #0x1781
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6018 (0x1782)

lri $AR1,    #0x4000
lri $IX1,    #0x1782
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6019 (0x1783)

lri $AR1,    #0x4000
lri $IX1,    #0x1783
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6020 (0x1784)

lri $AR1,    #0x4000
lri $IX1,    #0x1784
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6021 (0x1785)

lri $AR1,    #0x4000
lri $IX1,    #0x1785
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6022 (0x1786)

lri $AR1,    #0x4000
lri $IX1,    #0x1786
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6023 (0x1787)

lri $AR1,    #0x4000
lri $IX1,    #0x1787
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6024 (0x1788)

lri $AR1,    #0x4000
lri $IX1,    #0x1788
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6025 (0x1789)

lri $AR1,    #0x4000
lri $IX1,    #0x1789
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6026 (0x178a)

lri $AR1,    #0x4000
lri $IX1,    #0x178a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6027 (0x178b)

lri $AR1,    #0x4000
lri $IX1,    #0x178b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6028 (0x178c)

lri $AR1,    #0x4000
lri $IX1,    #0x178c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6029 (0x178d)

lri $AR1,    #0x4000
lri $IX1,    #0x178d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6030 (0x178e)

lri $AR1,    #0x4000
lri $IX1,    #0x178e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6031 (0x178f)

lri $AR1,    #0x4000
lri $IX1,    #0x178f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6032 (0x1790)

lri $AR1,    #0x4000
lri $IX1,    #0x1790
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6033 (0x1791)

lri $AR1,    #0x4000
lri $IX1,    #0x1791
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6034 (0x1792)

lri $AR1,    #0x4000
lri $IX1,    #0x1792
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6035 (0x1793)

lri $AR1,    #0x4000
lri $IX1,    #0x1793
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6036 (0x1794)

lri $AR1,    #0x4000
lri $IX1,    #0x1794
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6037 (0x1795)

lri $AR1,    #0x4000
lri $IX1,    #0x1795
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6038 (0x1796)

lri $AR1,    #0x4000
lri $IX1,    #0x1796
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6039 (0x1797)

lri $AR1,    #0x4000
lri $IX1,    #0x1797
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6040 (0x1798)

lri $AR1,    #0x4000
lri $IX1,    #0x1798
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6041 (0x1799)

lri $AR1,    #0x4000
lri $IX1,    #0x1799
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6042 (0x179a)

lri $AR1,    #0x4000
lri $IX1,    #0x179a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6043 (0x179b)

lri $AR1,    #0x4000
lri $IX1,    #0x179b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6044 (0x179c)

lri $AR1,    #0x4000
lri $IX1,    #0x179c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6045 (0x179d)

lri $AR1,    #0x4000
lri $IX1,    #0x179d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6046 (0x179e)

lri $AR1,    #0x4000
lri $IX1,    #0x179e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6047 (0x179f)

lri $AR1,    #0x4000
lri $IX1,    #0x179f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6048 (0x17a0)

lri $AR1,    #0x4000
lri $IX1,    #0x17a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6049 (0x17a1)

lri $AR1,    #0x4000
lri $IX1,    #0x17a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6050 (0x17a2)

lri $AR1,    #0x4000
lri $IX1,    #0x17a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6051 (0x17a3)

lri $AR1,    #0x4000
lri $IX1,    #0x17a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6052 (0x17a4)

lri $AR1,    #0x4000
lri $IX1,    #0x17a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6053 (0x17a5)

lri $AR1,    #0x4000
lri $IX1,    #0x17a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6054 (0x17a6)

lri $AR1,    #0x4000
lri $IX1,    #0x17a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6055 (0x17a7)

lri $AR1,    #0x4000
lri $IX1,    #0x17a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6056 (0x17a8)

lri $AR1,    #0x4000
lri $IX1,    #0x17a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6057 (0x17a9)

lri $AR1,    #0x4000
lri $IX1,    #0x17a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6058 (0x17aa)

lri $AR1,    #0x4000
lri $IX1,    #0x17aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6059 (0x17ab)

lri $AR1,    #0x4000
lri $IX1,    #0x17ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6060 (0x17ac)

lri $AR1,    #0x4000
lri $IX1,    #0x17ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6061 (0x17ad)

lri $AR1,    #0x4000
lri $IX1,    #0x17ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6062 (0x17ae)

lri $AR1,    #0x4000
lri $IX1,    #0x17ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6063 (0x17af)

lri $AR1,    #0x4000
lri $IX1,    #0x17af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6064 (0x17b0)

lri $AR1,    #0x4000
lri $IX1,    #0x17b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6065 (0x17b1)

lri $AR1,    #0x4000
lri $IX1,    #0x17b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6066 (0x17b2)

lri $AR1,    #0x4000
lri $IX1,    #0x17b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6067 (0x17b3)

lri $AR1,    #0x4000
lri $IX1,    #0x17b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6068 (0x17b4)

lri $AR1,    #0x4000
lri $IX1,    #0x17b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6069 (0x17b5)

lri $AR1,    #0x4000
lri $IX1,    #0x17b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6070 (0x17b6)

lri $AR1,    #0x4000
lri $IX1,    #0x17b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6071 (0x17b7)

lri $AR1,    #0x4000
lri $IX1,    #0x17b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6072 (0x17b8)

lri $AR1,    #0x4000
lri $IX1,    #0x17b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6073 (0x17b9)

lri $AR1,    #0x4000
lri $IX1,    #0x17b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6074 (0x17ba)

lri $AR1,    #0x4000
lri $IX1,    #0x17ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6075 (0x17bb)

lri $AR1,    #0x4000
lri $IX1,    #0x17bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6076 (0x17bc)

lri $AR1,    #0x4000
lri $IX1,    #0x17bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6077 (0x17bd)

lri $AR1,    #0x4000
lri $IX1,    #0x17bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6078 (0x17be)

lri $AR1,    #0x4000
lri $IX1,    #0x17be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6079 (0x17bf)

lri $AR1,    #0x4000
lri $IX1,    #0x17bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6080 (0x17c0)

lri $AR1,    #0x4000
lri $IX1,    #0x17c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6081 (0x17c1)

lri $AR1,    #0x4000
lri $IX1,    #0x17c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6082 (0x17c2)

lri $AR1,    #0x4000
lri $IX1,    #0x17c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6083 (0x17c3)

lri $AR1,    #0x4000
lri $IX1,    #0x17c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6084 (0x17c4)

lri $AR1,    #0x4000
lri $IX1,    #0x17c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6085 (0x17c5)

lri $AR1,    #0x4000
lri $IX1,    #0x17c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6086 (0x17c6)

lri $AR1,    #0x4000
lri $IX1,    #0x17c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6087 (0x17c7)

lri $AR1,    #0x4000
lri $IX1,    #0x17c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6088 (0x17c8)

lri $AR1,    #0x4000
lri $IX1,    #0x17c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6089 (0x17c9)

lri $AR1,    #0x4000
lri $IX1,    #0x17c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6090 (0x17ca)

lri $AR1,    #0x4000
lri $IX1,    #0x17ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6091 (0x17cb)

lri $AR1,    #0x4000
lri $IX1,    #0x17cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6092 (0x17cc)

lri $AR1,    #0x4000
lri $IX1,    #0x17cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6093 (0x17cd)

lri $AR1,    #0x4000
lri $IX1,    #0x17cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6094 (0x17ce)

lri $AR1,    #0x4000
lri $IX1,    #0x17ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6095 (0x17cf)

lri $AR1,    #0x4000
lri $IX1,    #0x17cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6096 (0x17d0)

lri $AR1,    #0x4000
lri $IX1,    #0x17d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6097 (0x17d1)

lri $AR1,    #0x4000
lri $IX1,    #0x17d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6098 (0x17d2)

lri $AR1,    #0x4000
lri $IX1,    #0x17d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6099 (0x17d3)

lri $AR1,    #0x4000
lri $IX1,    #0x17d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6100 (0x17d4)

lri $AR1,    #0x4000
lri $IX1,    #0x17d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6101 (0x17d5)

lri $AR1,    #0x4000
lri $IX1,    #0x17d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6102 (0x17d6)

lri $AR1,    #0x4000
lri $IX1,    #0x17d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6103 (0x17d7)

lri $AR1,    #0x4000
lri $IX1,    #0x17d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6104 (0x17d8)

lri $AR1,    #0x4000
lri $IX1,    #0x17d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6105 (0x17d9)

lri $AR1,    #0x4000
lri $IX1,    #0x17d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6106 (0x17da)

lri $AR1,    #0x4000
lri $IX1,    #0x17da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6107 (0x17db)

lri $AR1,    #0x4000
lri $IX1,    #0x17db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6108 (0x17dc)

lri $AR1,    #0x4000
lri $IX1,    #0x17dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6109 (0x17dd)

lri $AR1,    #0x4000
lri $IX1,    #0x17dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6110 (0x17de)

lri $AR1,    #0x4000
lri $IX1,    #0x17de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6111 (0x17df)

lri $AR1,    #0x4000
lri $IX1,    #0x17df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6112 (0x17e0)

lri $AR1,    #0x4000
lri $IX1,    #0x17e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6113 (0x17e1)

lri $AR1,    #0x4000
lri $IX1,    #0x17e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6114 (0x17e2)

lri $AR1,    #0x4000
lri $IX1,    #0x17e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6115 (0x17e3)

lri $AR1,    #0x4000
lri $IX1,    #0x17e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6116 (0x17e4)

lri $AR1,    #0x4000
lri $IX1,    #0x17e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6117 (0x17e5)

lri $AR1,    #0x4000
lri $IX1,    #0x17e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6118 (0x17e6)

lri $AR1,    #0x4000
lri $IX1,    #0x17e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6119 (0x17e7)

lri $AR1,    #0x4000
lri $IX1,    #0x17e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6120 (0x17e8)

lri $AR1,    #0x4000
lri $IX1,    #0x17e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6121 (0x17e9)

lri $AR1,    #0x4000
lri $IX1,    #0x17e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6122 (0x17ea)

lri $AR1,    #0x4000
lri $IX1,    #0x17ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6123 (0x17eb)

lri $AR1,    #0x4000
lri $IX1,    #0x17eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6124 (0x17ec)

lri $AR1,    #0x4000
lri $IX1,    #0x17ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6125 (0x17ed)

lri $AR1,    #0x4000
lri $IX1,    #0x17ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6126 (0x17ee)

lri $AR1,    #0x4000
lri $IX1,    #0x17ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6127 (0x17ef)

lri $AR1,    #0x4000
lri $IX1,    #0x17ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6128 (0x17f0)

lri $AR1,    #0x4000
lri $IX1,    #0x17f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6129 (0x17f1)

lri $AR1,    #0x4000
lri $IX1,    #0x17f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6130 (0x17f2)

lri $AR1,    #0x4000
lri $IX1,    #0x17f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6131 (0x17f3)

lri $AR1,    #0x4000
lri $IX1,    #0x17f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6132 (0x17f4)

lri $AR1,    #0x4000
lri $IX1,    #0x17f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6133 (0x17f5)

lri $AR1,    #0x4000
lri $IX1,    #0x17f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6134 (0x17f6)

lri $AR1,    #0x4000
lri $IX1,    #0x17f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6135 (0x17f7)

lri $AR1,    #0x4000
lri $IX1,    #0x17f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6136 (0x17f8)

lri $AR1,    #0x4000
lri $IX1,    #0x17f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6137 (0x17f9)

lri $AR1,    #0x4000
lri $IX1,    #0x17f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6138 (0x17fa)

lri $AR1,    #0x4000
lri $IX1,    #0x17fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6139 (0x17fb)

lri $AR1,    #0x4000
lri $IX1,    #0x17fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6140 (0x17fc)

lri $AR1,    #0x4000
lri $IX1,    #0x17fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6141 (0x17fd)

lri $AR1,    #0x4000
lri $IX1,    #0x17fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6142 (0x17fe)

lri $AR1,    #0x4000
lri $IX1,    #0x17fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6143 (0x17ff)

lri $AR1,    #0x4000
lri $IX1,    #0x17ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 6144 (0x1800)

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

