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

lri $AR1,    #0x4000
lri $IX1,    #0xd080
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53377 (0xd081)

lri $AR1,    #0x4000
lri $IX1,    #0xd081
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53378 (0xd082)

lri $AR1,    #0x4000
lri $IX1,    #0xd082
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53379 (0xd083)

lri $AR1,    #0x4000
lri $IX1,    #0xd083
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53380 (0xd084)

lri $AR1,    #0x4000
lri $IX1,    #0xd084
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53381 (0xd085)

lri $AR1,    #0x4000
lri $IX1,    #0xd085
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53382 (0xd086)

lri $AR1,    #0x4000
lri $IX1,    #0xd086
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53383 (0xd087)

lri $AR1,    #0x4000
lri $IX1,    #0xd087
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53384 (0xd088)

lri $AR1,    #0x4000
lri $IX1,    #0xd088
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53385 (0xd089)

lri $AR1,    #0x4000
lri $IX1,    #0xd089
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53386 (0xd08a)

lri $AR1,    #0x4000
lri $IX1,    #0xd08a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53387 (0xd08b)

lri $AR1,    #0x4000
lri $IX1,    #0xd08b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53388 (0xd08c)

lri $AR1,    #0x4000
lri $IX1,    #0xd08c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53389 (0xd08d)

lri $AR1,    #0x4000
lri $IX1,    #0xd08d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53390 (0xd08e)

lri $AR1,    #0x4000
lri $IX1,    #0xd08e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53391 (0xd08f)

lri $AR1,    #0x4000
lri $IX1,    #0xd08f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53392 (0xd090)

lri $AR1,    #0x4000
lri $IX1,    #0xd090
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53393 (0xd091)

lri $AR1,    #0x4000
lri $IX1,    #0xd091
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53394 (0xd092)

lri $AR1,    #0x4000
lri $IX1,    #0xd092
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53395 (0xd093)

lri $AR1,    #0x4000
lri $IX1,    #0xd093
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53396 (0xd094)

lri $AR1,    #0x4000
lri $IX1,    #0xd094
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53397 (0xd095)

lri $AR1,    #0x4000
lri $IX1,    #0xd095
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53398 (0xd096)

lri $AR1,    #0x4000
lri $IX1,    #0xd096
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53399 (0xd097)

lri $AR1,    #0x4000
lri $IX1,    #0xd097
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53400 (0xd098)

lri $AR1,    #0x4000
lri $IX1,    #0xd098
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53401 (0xd099)

lri $AR1,    #0x4000
lri $IX1,    #0xd099
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53402 (0xd09a)

lri $AR1,    #0x4000
lri $IX1,    #0xd09a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53403 (0xd09b)

lri $AR1,    #0x4000
lri $IX1,    #0xd09b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53404 (0xd09c)

lri $AR1,    #0x4000
lri $IX1,    #0xd09c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53405 (0xd09d)

lri $AR1,    #0x4000
lri $IX1,    #0xd09d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53406 (0xd09e)

lri $AR1,    #0x4000
lri $IX1,    #0xd09e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53407 (0xd09f)

lri $AR1,    #0x4000
lri $IX1,    #0xd09f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53408 (0xd0a0)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53409 (0xd0a1)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53410 (0xd0a2)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53411 (0xd0a3)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53412 (0xd0a4)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53413 (0xd0a5)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53414 (0xd0a6)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53415 (0xd0a7)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53416 (0xd0a8)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53417 (0xd0a9)

lri $AR1,    #0x4000
lri $IX1,    #0xd0a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53418 (0xd0aa)

lri $AR1,    #0x4000
lri $IX1,    #0xd0aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53419 (0xd0ab)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53420 (0xd0ac)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53421 (0xd0ad)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53422 (0xd0ae)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53423 (0xd0af)

lri $AR1,    #0x4000
lri $IX1,    #0xd0af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53424 (0xd0b0)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53425 (0xd0b1)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53426 (0xd0b2)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53427 (0xd0b3)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53428 (0xd0b4)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53429 (0xd0b5)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53430 (0xd0b6)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53431 (0xd0b7)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53432 (0xd0b8)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53433 (0xd0b9)

lri $AR1,    #0x4000
lri $IX1,    #0xd0b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53434 (0xd0ba)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53435 (0xd0bb)

lri $AR1,    #0x4000
lri $IX1,    #0xd0bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53436 (0xd0bc)

lri $AR1,    #0x4000
lri $IX1,    #0xd0bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53437 (0xd0bd)

lri $AR1,    #0x4000
lri $IX1,    #0xd0bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53438 (0xd0be)

lri $AR1,    #0x4000
lri $IX1,    #0xd0be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53439 (0xd0bf)

lri $AR1,    #0x4000
lri $IX1,    #0xd0bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53440 (0xd0c0)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53441 (0xd0c1)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53442 (0xd0c2)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53443 (0xd0c3)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53444 (0xd0c4)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53445 (0xd0c5)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53446 (0xd0c6)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53447 (0xd0c7)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53448 (0xd0c8)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53449 (0xd0c9)

lri $AR1,    #0x4000
lri $IX1,    #0xd0c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53450 (0xd0ca)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53451 (0xd0cb)

lri $AR1,    #0x4000
lri $IX1,    #0xd0cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53452 (0xd0cc)

lri $AR1,    #0x4000
lri $IX1,    #0xd0cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53453 (0xd0cd)

lri $AR1,    #0x4000
lri $IX1,    #0xd0cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53454 (0xd0ce)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53455 (0xd0cf)

lri $AR1,    #0x4000
lri $IX1,    #0xd0cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53456 (0xd0d0)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53457 (0xd0d1)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53458 (0xd0d2)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53459 (0xd0d3)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53460 (0xd0d4)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53461 (0xd0d5)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53462 (0xd0d6)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53463 (0xd0d7)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53464 (0xd0d8)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53465 (0xd0d9)

lri $AR1,    #0x4000
lri $IX1,    #0xd0d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53466 (0xd0da)

lri $AR1,    #0x4000
lri $IX1,    #0xd0da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53467 (0xd0db)

lri $AR1,    #0x4000
lri $IX1,    #0xd0db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53468 (0xd0dc)

lri $AR1,    #0x4000
lri $IX1,    #0xd0dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53469 (0xd0dd)

lri $AR1,    #0x4000
lri $IX1,    #0xd0dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53470 (0xd0de)

lri $AR1,    #0x4000
lri $IX1,    #0xd0de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53471 (0xd0df)

lri $AR1,    #0x4000
lri $IX1,    #0xd0df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53472 (0xd0e0)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53473 (0xd0e1)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53474 (0xd0e2)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53475 (0xd0e3)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53476 (0xd0e4)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53477 (0xd0e5)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53478 (0xd0e6)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53479 (0xd0e7)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53480 (0xd0e8)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53481 (0xd0e9)

lri $AR1,    #0x4000
lri $IX1,    #0xd0e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53482 (0xd0ea)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53483 (0xd0eb)

lri $AR1,    #0x4000
lri $IX1,    #0xd0eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53484 (0xd0ec)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53485 (0xd0ed)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53486 (0xd0ee)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53487 (0xd0ef)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53488 (0xd0f0)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53489 (0xd0f1)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53490 (0xd0f2)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53491 (0xd0f3)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53492 (0xd0f4)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53493 (0xd0f5)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53494 (0xd0f6)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53495 (0xd0f7)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53496 (0xd0f8)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53497 (0xd0f9)

lri $AR1,    #0x4000
lri $IX1,    #0xd0f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53498 (0xd0fa)

lri $AR1,    #0x4000
lri $IX1,    #0xd0fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53499 (0xd0fb)

lri $AR1,    #0x4000
lri $IX1,    #0xd0fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53500 (0xd0fc)

lri $AR1,    #0x4000
lri $IX1,    #0xd0fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53501 (0xd0fd)

lri $AR1,    #0x4000
lri $IX1,    #0xd0fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53502 (0xd0fe)

lri $AR1,    #0x4000
lri $IX1,    #0xd0fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53503 (0xd0ff)

lri $AR1,    #0x4000
lri $IX1,    #0xd0ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 53504 (0xd100)

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

