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

lri $AR1,    #0x4000
lri $IX1,    #0xc080
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49281 (0xc081)

lri $AR1,    #0x4000
lri $IX1,    #0xc081
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49282 (0xc082)

lri $AR1,    #0x4000
lri $IX1,    #0xc082
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49283 (0xc083)

lri $AR1,    #0x4000
lri $IX1,    #0xc083
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49284 (0xc084)

lri $AR1,    #0x4000
lri $IX1,    #0xc084
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49285 (0xc085)

lri $AR1,    #0x4000
lri $IX1,    #0xc085
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49286 (0xc086)

lri $AR1,    #0x4000
lri $IX1,    #0xc086
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49287 (0xc087)

lri $AR1,    #0x4000
lri $IX1,    #0xc087
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49288 (0xc088)

lri $AR1,    #0x4000
lri $IX1,    #0xc088
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49289 (0xc089)

lri $AR1,    #0x4000
lri $IX1,    #0xc089
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49290 (0xc08a)

lri $AR1,    #0x4000
lri $IX1,    #0xc08a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49291 (0xc08b)

lri $AR1,    #0x4000
lri $IX1,    #0xc08b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49292 (0xc08c)

lri $AR1,    #0x4000
lri $IX1,    #0xc08c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49293 (0xc08d)

lri $AR1,    #0x4000
lri $IX1,    #0xc08d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49294 (0xc08e)

lri $AR1,    #0x4000
lri $IX1,    #0xc08e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49295 (0xc08f)

lri $AR1,    #0x4000
lri $IX1,    #0xc08f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49296 (0xc090)

lri $AR1,    #0x4000
lri $IX1,    #0xc090
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49297 (0xc091)

lri $AR1,    #0x4000
lri $IX1,    #0xc091
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49298 (0xc092)

lri $AR1,    #0x4000
lri $IX1,    #0xc092
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49299 (0xc093)

lri $AR1,    #0x4000
lri $IX1,    #0xc093
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49300 (0xc094)

lri $AR1,    #0x4000
lri $IX1,    #0xc094
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49301 (0xc095)

lri $AR1,    #0x4000
lri $IX1,    #0xc095
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49302 (0xc096)

lri $AR1,    #0x4000
lri $IX1,    #0xc096
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49303 (0xc097)

lri $AR1,    #0x4000
lri $IX1,    #0xc097
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49304 (0xc098)

lri $AR1,    #0x4000
lri $IX1,    #0xc098
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49305 (0xc099)

lri $AR1,    #0x4000
lri $IX1,    #0xc099
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49306 (0xc09a)

lri $AR1,    #0x4000
lri $IX1,    #0xc09a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49307 (0xc09b)

lri $AR1,    #0x4000
lri $IX1,    #0xc09b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49308 (0xc09c)

lri $AR1,    #0x4000
lri $IX1,    #0xc09c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49309 (0xc09d)

lri $AR1,    #0x4000
lri $IX1,    #0xc09d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49310 (0xc09e)

lri $AR1,    #0x4000
lri $IX1,    #0xc09e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49311 (0xc09f)

lri $AR1,    #0x4000
lri $IX1,    #0xc09f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49312 (0xc0a0)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49313 (0xc0a1)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49314 (0xc0a2)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49315 (0xc0a3)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49316 (0xc0a4)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49317 (0xc0a5)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49318 (0xc0a6)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49319 (0xc0a7)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49320 (0xc0a8)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49321 (0xc0a9)

lri $AR1,    #0x4000
lri $IX1,    #0xc0a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49322 (0xc0aa)

lri $AR1,    #0x4000
lri $IX1,    #0xc0aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49323 (0xc0ab)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49324 (0xc0ac)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49325 (0xc0ad)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49326 (0xc0ae)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49327 (0xc0af)

lri $AR1,    #0x4000
lri $IX1,    #0xc0af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49328 (0xc0b0)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49329 (0xc0b1)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49330 (0xc0b2)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49331 (0xc0b3)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49332 (0xc0b4)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49333 (0xc0b5)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49334 (0xc0b6)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49335 (0xc0b7)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49336 (0xc0b8)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49337 (0xc0b9)

lri $AR1,    #0x4000
lri $IX1,    #0xc0b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49338 (0xc0ba)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49339 (0xc0bb)

lri $AR1,    #0x4000
lri $IX1,    #0xc0bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49340 (0xc0bc)

lri $AR1,    #0x4000
lri $IX1,    #0xc0bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49341 (0xc0bd)

lri $AR1,    #0x4000
lri $IX1,    #0xc0bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49342 (0xc0be)

lri $AR1,    #0x4000
lri $IX1,    #0xc0be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49343 (0xc0bf)

lri $AR1,    #0x4000
lri $IX1,    #0xc0bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49344 (0xc0c0)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49345 (0xc0c1)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49346 (0xc0c2)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49347 (0xc0c3)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49348 (0xc0c4)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49349 (0xc0c5)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49350 (0xc0c6)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49351 (0xc0c7)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49352 (0xc0c8)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49353 (0xc0c9)

lri $AR1,    #0x4000
lri $IX1,    #0xc0c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49354 (0xc0ca)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49355 (0xc0cb)

lri $AR1,    #0x4000
lri $IX1,    #0xc0cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49356 (0xc0cc)

lri $AR1,    #0x4000
lri $IX1,    #0xc0cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49357 (0xc0cd)

lri $AR1,    #0x4000
lri $IX1,    #0xc0cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49358 (0xc0ce)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49359 (0xc0cf)

lri $AR1,    #0x4000
lri $IX1,    #0xc0cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49360 (0xc0d0)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49361 (0xc0d1)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49362 (0xc0d2)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49363 (0xc0d3)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49364 (0xc0d4)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49365 (0xc0d5)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49366 (0xc0d6)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49367 (0xc0d7)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49368 (0xc0d8)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49369 (0xc0d9)

lri $AR1,    #0x4000
lri $IX1,    #0xc0d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49370 (0xc0da)

lri $AR1,    #0x4000
lri $IX1,    #0xc0da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49371 (0xc0db)

lri $AR1,    #0x4000
lri $IX1,    #0xc0db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49372 (0xc0dc)

lri $AR1,    #0x4000
lri $IX1,    #0xc0dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49373 (0xc0dd)

lri $AR1,    #0x4000
lri $IX1,    #0xc0dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49374 (0xc0de)

lri $AR1,    #0x4000
lri $IX1,    #0xc0de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49375 (0xc0df)

lri $AR1,    #0x4000
lri $IX1,    #0xc0df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49376 (0xc0e0)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49377 (0xc0e1)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49378 (0xc0e2)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49379 (0xc0e3)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49380 (0xc0e4)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49381 (0xc0e5)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49382 (0xc0e6)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49383 (0xc0e7)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49384 (0xc0e8)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49385 (0xc0e9)

lri $AR1,    #0x4000
lri $IX1,    #0xc0e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49386 (0xc0ea)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49387 (0xc0eb)

lri $AR1,    #0x4000
lri $IX1,    #0xc0eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49388 (0xc0ec)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49389 (0xc0ed)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49390 (0xc0ee)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49391 (0xc0ef)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49392 (0xc0f0)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49393 (0xc0f1)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49394 (0xc0f2)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49395 (0xc0f3)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49396 (0xc0f4)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49397 (0xc0f5)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49398 (0xc0f6)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49399 (0xc0f7)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49400 (0xc0f8)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49401 (0xc0f9)

lri $AR1,    #0x4000
lri $IX1,    #0xc0f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49402 (0xc0fa)

lri $AR1,    #0x4000
lri $IX1,    #0xc0fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49403 (0xc0fb)

lri $AR1,    #0x4000
lri $IX1,    #0xc0fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49404 (0xc0fc)

lri $AR1,    #0x4000
lri $IX1,    #0xc0fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49405 (0xc0fd)

lri $AR1,    #0x4000
lri $IX1,    #0xc0fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49406 (0xc0fe)

lri $AR1,    #0x4000
lri $IX1,    #0xc0fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49407 (0xc0ff)

lri $AR1,    #0x4000
lri $IX1,    #0xc0ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49408 (0xc100)

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

