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

lri $AR1,    #0x4000
lri $IX1,    #0xa080
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41089 (0xa081)

lri $AR1,    #0x4000
lri $IX1,    #0xa081
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41090 (0xa082)

lri $AR1,    #0x4000
lri $IX1,    #0xa082
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41091 (0xa083)

lri $AR1,    #0x4000
lri $IX1,    #0xa083
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41092 (0xa084)

lri $AR1,    #0x4000
lri $IX1,    #0xa084
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41093 (0xa085)

lri $AR1,    #0x4000
lri $IX1,    #0xa085
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41094 (0xa086)

lri $AR1,    #0x4000
lri $IX1,    #0xa086
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41095 (0xa087)

lri $AR1,    #0x4000
lri $IX1,    #0xa087
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41096 (0xa088)

lri $AR1,    #0x4000
lri $IX1,    #0xa088
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41097 (0xa089)

lri $AR1,    #0x4000
lri $IX1,    #0xa089
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41098 (0xa08a)

lri $AR1,    #0x4000
lri $IX1,    #0xa08a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41099 (0xa08b)

lri $AR1,    #0x4000
lri $IX1,    #0xa08b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41100 (0xa08c)

lri $AR1,    #0x4000
lri $IX1,    #0xa08c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41101 (0xa08d)

lri $AR1,    #0x4000
lri $IX1,    #0xa08d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41102 (0xa08e)

lri $AR1,    #0x4000
lri $IX1,    #0xa08e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41103 (0xa08f)

lri $AR1,    #0x4000
lri $IX1,    #0xa08f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41104 (0xa090)

lri $AR1,    #0x4000
lri $IX1,    #0xa090
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41105 (0xa091)

lri $AR1,    #0x4000
lri $IX1,    #0xa091
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41106 (0xa092)

lri $AR1,    #0x4000
lri $IX1,    #0xa092
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41107 (0xa093)

lri $AR1,    #0x4000
lri $IX1,    #0xa093
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41108 (0xa094)

lri $AR1,    #0x4000
lri $IX1,    #0xa094
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41109 (0xa095)

lri $AR1,    #0x4000
lri $IX1,    #0xa095
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41110 (0xa096)

lri $AR1,    #0x4000
lri $IX1,    #0xa096
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41111 (0xa097)

lri $AR1,    #0x4000
lri $IX1,    #0xa097
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41112 (0xa098)

lri $AR1,    #0x4000
lri $IX1,    #0xa098
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41113 (0xa099)

lri $AR1,    #0x4000
lri $IX1,    #0xa099
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41114 (0xa09a)

lri $AR1,    #0x4000
lri $IX1,    #0xa09a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41115 (0xa09b)

lri $AR1,    #0x4000
lri $IX1,    #0xa09b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41116 (0xa09c)

lri $AR1,    #0x4000
lri $IX1,    #0xa09c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41117 (0xa09d)

lri $AR1,    #0x4000
lri $IX1,    #0xa09d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41118 (0xa09e)

lri $AR1,    #0x4000
lri $IX1,    #0xa09e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41119 (0xa09f)

lri $AR1,    #0x4000
lri $IX1,    #0xa09f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41120 (0xa0a0)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41121 (0xa0a1)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41122 (0xa0a2)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41123 (0xa0a3)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41124 (0xa0a4)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41125 (0xa0a5)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41126 (0xa0a6)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41127 (0xa0a7)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41128 (0xa0a8)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41129 (0xa0a9)

lri $AR1,    #0x4000
lri $IX1,    #0xa0a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41130 (0xa0aa)

lri $AR1,    #0x4000
lri $IX1,    #0xa0aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41131 (0xa0ab)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41132 (0xa0ac)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41133 (0xa0ad)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41134 (0xa0ae)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41135 (0xa0af)

lri $AR1,    #0x4000
lri $IX1,    #0xa0af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41136 (0xa0b0)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41137 (0xa0b1)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41138 (0xa0b2)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41139 (0xa0b3)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41140 (0xa0b4)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41141 (0xa0b5)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41142 (0xa0b6)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41143 (0xa0b7)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41144 (0xa0b8)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41145 (0xa0b9)

lri $AR1,    #0x4000
lri $IX1,    #0xa0b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41146 (0xa0ba)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41147 (0xa0bb)

lri $AR1,    #0x4000
lri $IX1,    #0xa0bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41148 (0xa0bc)

lri $AR1,    #0x4000
lri $IX1,    #0xa0bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41149 (0xa0bd)

lri $AR1,    #0x4000
lri $IX1,    #0xa0bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41150 (0xa0be)

lri $AR1,    #0x4000
lri $IX1,    #0xa0be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41151 (0xa0bf)

lri $AR1,    #0x4000
lri $IX1,    #0xa0bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41152 (0xa0c0)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41153 (0xa0c1)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41154 (0xa0c2)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41155 (0xa0c3)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41156 (0xa0c4)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41157 (0xa0c5)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41158 (0xa0c6)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41159 (0xa0c7)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41160 (0xa0c8)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41161 (0xa0c9)

lri $AR1,    #0x4000
lri $IX1,    #0xa0c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41162 (0xa0ca)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41163 (0xa0cb)

lri $AR1,    #0x4000
lri $IX1,    #0xa0cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41164 (0xa0cc)

lri $AR1,    #0x4000
lri $IX1,    #0xa0cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41165 (0xa0cd)

lri $AR1,    #0x4000
lri $IX1,    #0xa0cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41166 (0xa0ce)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41167 (0xa0cf)

lri $AR1,    #0x4000
lri $IX1,    #0xa0cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41168 (0xa0d0)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41169 (0xa0d1)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41170 (0xa0d2)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41171 (0xa0d3)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41172 (0xa0d4)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41173 (0xa0d5)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41174 (0xa0d6)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41175 (0xa0d7)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41176 (0xa0d8)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41177 (0xa0d9)

lri $AR1,    #0x4000
lri $IX1,    #0xa0d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41178 (0xa0da)

lri $AR1,    #0x4000
lri $IX1,    #0xa0da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41179 (0xa0db)

lri $AR1,    #0x4000
lri $IX1,    #0xa0db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41180 (0xa0dc)

lri $AR1,    #0x4000
lri $IX1,    #0xa0dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41181 (0xa0dd)

lri $AR1,    #0x4000
lri $IX1,    #0xa0dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41182 (0xa0de)

lri $AR1,    #0x4000
lri $IX1,    #0xa0de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41183 (0xa0df)

lri $AR1,    #0x4000
lri $IX1,    #0xa0df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41184 (0xa0e0)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41185 (0xa0e1)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41186 (0xa0e2)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41187 (0xa0e3)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41188 (0xa0e4)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41189 (0xa0e5)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41190 (0xa0e6)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41191 (0xa0e7)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41192 (0xa0e8)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41193 (0xa0e9)

lri $AR1,    #0x4000
lri $IX1,    #0xa0e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41194 (0xa0ea)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41195 (0xa0eb)

lri $AR1,    #0x4000
lri $IX1,    #0xa0eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41196 (0xa0ec)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41197 (0xa0ed)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41198 (0xa0ee)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41199 (0xa0ef)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41200 (0xa0f0)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41201 (0xa0f1)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41202 (0xa0f2)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41203 (0xa0f3)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41204 (0xa0f4)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41205 (0xa0f5)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41206 (0xa0f6)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41207 (0xa0f7)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41208 (0xa0f8)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41209 (0xa0f9)

lri $AR1,    #0x4000
lri $IX1,    #0xa0f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41210 (0xa0fa)

lri $AR1,    #0x4000
lri $IX1,    #0xa0fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41211 (0xa0fb)

lri $AR1,    #0x4000
lri $IX1,    #0xa0fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41212 (0xa0fc)

lri $AR1,    #0x4000
lri $IX1,    #0xa0fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41213 (0xa0fd)

lri $AR1,    #0x4000
lri $IX1,    #0xa0fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41214 (0xa0fe)

lri $AR1,    #0x4000
lri $IX1,    #0xa0fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41215 (0xa0ff)

lri $AR1,    #0x4000
lri $IX1,    #0xa0ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 41216 (0xa100)

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

