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

lri $AR1,    #0xb080
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45185 (0xb081)

lri $AR1,    #0xb081
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45186 (0xb082)

lri $AR1,    #0xb082
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45187 (0xb083)

lri $AR1,    #0xb083
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45188 (0xb084)

lri $AR1,    #0xb084
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45189 (0xb085)

lri $AR1,    #0xb085
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45190 (0xb086)

lri $AR1,    #0xb086
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45191 (0xb087)

lri $AR1,    #0xb087
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45192 (0xb088)

lri $AR1,    #0xb088
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45193 (0xb089)

lri $AR1,    #0xb089
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45194 (0xb08a)

lri $AR1,    #0xb08a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45195 (0xb08b)

lri $AR1,    #0xb08b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45196 (0xb08c)

lri $AR1,    #0xb08c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45197 (0xb08d)

lri $AR1,    #0xb08d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45198 (0xb08e)

lri $AR1,    #0xb08e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45199 (0xb08f)

lri $AR1,    #0xb08f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45200 (0xb090)

lri $AR1,    #0xb090
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45201 (0xb091)

lri $AR1,    #0xb091
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45202 (0xb092)

lri $AR1,    #0xb092
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45203 (0xb093)

lri $AR1,    #0xb093
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45204 (0xb094)

lri $AR1,    #0xb094
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45205 (0xb095)

lri $AR1,    #0xb095
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45206 (0xb096)

lri $AR1,    #0xb096
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45207 (0xb097)

lri $AR1,    #0xb097
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45208 (0xb098)

lri $AR1,    #0xb098
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45209 (0xb099)

lri $AR1,    #0xb099
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45210 (0xb09a)

lri $AR1,    #0xb09a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45211 (0xb09b)

lri $AR1,    #0xb09b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45212 (0xb09c)

lri $AR1,    #0xb09c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45213 (0xb09d)

lri $AR1,    #0xb09d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45214 (0xb09e)

lri $AR1,    #0xb09e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45215 (0xb09f)

lri $AR1,    #0xb09f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45216 (0xb0a0)

lri $AR1,    #0xb0a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45217 (0xb0a1)

lri $AR1,    #0xb0a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45218 (0xb0a2)

lri $AR1,    #0xb0a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45219 (0xb0a3)

lri $AR1,    #0xb0a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45220 (0xb0a4)

lri $AR1,    #0xb0a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45221 (0xb0a5)

lri $AR1,    #0xb0a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45222 (0xb0a6)

lri $AR1,    #0xb0a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45223 (0xb0a7)

lri $AR1,    #0xb0a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45224 (0xb0a8)

lri $AR1,    #0xb0a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45225 (0xb0a9)

lri $AR1,    #0xb0a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45226 (0xb0aa)

lri $AR1,    #0xb0aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45227 (0xb0ab)

lri $AR1,    #0xb0ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45228 (0xb0ac)

lri $AR1,    #0xb0ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45229 (0xb0ad)

lri $AR1,    #0xb0ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45230 (0xb0ae)

lri $AR1,    #0xb0ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45231 (0xb0af)

lri $AR1,    #0xb0af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45232 (0xb0b0)

lri $AR1,    #0xb0b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45233 (0xb0b1)

lri $AR1,    #0xb0b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45234 (0xb0b2)

lri $AR1,    #0xb0b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45235 (0xb0b3)

lri $AR1,    #0xb0b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45236 (0xb0b4)

lri $AR1,    #0xb0b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45237 (0xb0b5)

lri $AR1,    #0xb0b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45238 (0xb0b6)

lri $AR1,    #0xb0b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45239 (0xb0b7)

lri $AR1,    #0xb0b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45240 (0xb0b8)

lri $AR1,    #0xb0b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45241 (0xb0b9)

lri $AR1,    #0xb0b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45242 (0xb0ba)

lri $AR1,    #0xb0ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45243 (0xb0bb)

lri $AR1,    #0xb0bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45244 (0xb0bc)

lri $AR1,    #0xb0bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45245 (0xb0bd)

lri $AR1,    #0xb0bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45246 (0xb0be)

lri $AR1,    #0xb0be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45247 (0xb0bf)

lri $AR1,    #0xb0bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45248 (0xb0c0)

lri $AR1,    #0xb0c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45249 (0xb0c1)

lri $AR1,    #0xb0c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45250 (0xb0c2)

lri $AR1,    #0xb0c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45251 (0xb0c3)

lri $AR1,    #0xb0c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45252 (0xb0c4)

lri $AR1,    #0xb0c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45253 (0xb0c5)

lri $AR1,    #0xb0c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45254 (0xb0c6)

lri $AR1,    #0xb0c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45255 (0xb0c7)

lri $AR1,    #0xb0c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45256 (0xb0c8)

lri $AR1,    #0xb0c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45257 (0xb0c9)

lri $AR1,    #0xb0c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45258 (0xb0ca)

lri $AR1,    #0xb0ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45259 (0xb0cb)

lri $AR1,    #0xb0cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45260 (0xb0cc)

lri $AR1,    #0xb0cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45261 (0xb0cd)

lri $AR1,    #0xb0cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45262 (0xb0ce)

lri $AR1,    #0xb0ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45263 (0xb0cf)

lri $AR1,    #0xb0cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45264 (0xb0d0)

lri $AR1,    #0xb0d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45265 (0xb0d1)

lri $AR1,    #0xb0d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45266 (0xb0d2)

lri $AR1,    #0xb0d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45267 (0xb0d3)

lri $AR1,    #0xb0d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45268 (0xb0d4)

lri $AR1,    #0xb0d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45269 (0xb0d5)

lri $AR1,    #0xb0d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45270 (0xb0d6)

lri $AR1,    #0xb0d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45271 (0xb0d7)

lri $AR1,    #0xb0d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45272 (0xb0d8)

lri $AR1,    #0xb0d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45273 (0xb0d9)

lri $AR1,    #0xb0d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45274 (0xb0da)

lri $AR1,    #0xb0da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45275 (0xb0db)

lri $AR1,    #0xb0db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45276 (0xb0dc)

lri $AR1,    #0xb0dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45277 (0xb0dd)

lri $AR1,    #0xb0dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45278 (0xb0de)

lri $AR1,    #0xb0de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45279 (0xb0df)

lri $AR1,    #0xb0df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45280 (0xb0e0)

lri $AR1,    #0xb0e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45281 (0xb0e1)

lri $AR1,    #0xb0e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45282 (0xb0e2)

lri $AR1,    #0xb0e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45283 (0xb0e3)

lri $AR1,    #0xb0e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45284 (0xb0e4)

lri $AR1,    #0xb0e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45285 (0xb0e5)

lri $AR1,    #0xb0e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45286 (0xb0e6)

lri $AR1,    #0xb0e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45287 (0xb0e7)

lri $AR1,    #0xb0e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45288 (0xb0e8)

lri $AR1,    #0xb0e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45289 (0xb0e9)

lri $AR1,    #0xb0e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45290 (0xb0ea)

lri $AR1,    #0xb0ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45291 (0xb0eb)

lri $AR1,    #0xb0eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45292 (0xb0ec)

lri $AR1,    #0xb0ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45293 (0xb0ed)

lri $AR1,    #0xb0ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45294 (0xb0ee)

lri $AR1,    #0xb0ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45295 (0xb0ef)

lri $AR1,    #0xb0ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45296 (0xb0f0)

lri $AR1,    #0xb0f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45297 (0xb0f1)

lri $AR1,    #0xb0f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45298 (0xb0f2)

lri $AR1,    #0xb0f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45299 (0xb0f3)

lri $AR1,    #0xb0f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45300 (0xb0f4)

lri $AR1,    #0xb0f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45301 (0xb0f5)

lri $AR1,    #0xb0f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45302 (0xb0f6)

lri $AR1,    #0xb0f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45303 (0xb0f7)

lri $AR1,    #0xb0f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45304 (0xb0f8)

lri $AR1,    #0xb0f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45305 (0xb0f9)

lri $AR1,    #0xb0f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45306 (0xb0fa)

lri $AR1,    #0xb0fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45307 (0xb0fb)

lri $AR1,    #0xb0fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45308 (0xb0fc)

lri $AR1,    #0xb0fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45309 (0xb0fd)

lri $AR1,    #0xb0fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45310 (0xb0fe)

lri $AR1,    #0xb0fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45311 (0xb0ff)

lri $AR1,    #0xb0ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45312 (0xb100)

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

