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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64385 (0xfb81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64386 (0xfb82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64387 (0xfb83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64388 (0xfb84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64389 (0xfb85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64390 (0xfb86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64391 (0xfb87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64392 (0xfb88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64393 (0xfb89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64394 (0xfb8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64395 (0xfb8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64396 (0xfb8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64397 (0xfb8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64398 (0xfb8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64399 (0xfb8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64400 (0xfb90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64401 (0xfb91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64402 (0xfb92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64403 (0xfb93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64404 (0xfb94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64405 (0xfb95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64406 (0xfb96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64407 (0xfb97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64408 (0xfb98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64409 (0xfb99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64410 (0xfb9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64411 (0xfb9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64412 (0xfb9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64413 (0xfb9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64414 (0xfb9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64415 (0xfb9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64416 (0xfba0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64417 (0xfba1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64418 (0xfba2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64419 (0xfba3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64420 (0xfba4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64421 (0xfba5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64422 (0xfba6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64423 (0xfba7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64424 (0xfba8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64425 (0xfba9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64426 (0xfbaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64427 (0xfbab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64428 (0xfbac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64429 (0xfbad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64430 (0xfbae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64431 (0xfbaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64432 (0xfbb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64433 (0xfbb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64434 (0xfbb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64435 (0xfbb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64436 (0xfbb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64437 (0xfbb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64438 (0xfbb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64439 (0xfbb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64440 (0xfbb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64441 (0xfbb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64442 (0xfbba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64443 (0xfbbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64444 (0xfbbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64445 (0xfbbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64446 (0xfbbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64447 (0xfbbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64448 (0xfbc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64449 (0xfbc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64450 (0xfbc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64451 (0xfbc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64452 (0xfbc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64453 (0xfbc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64454 (0xfbc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64455 (0xfbc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64456 (0xfbc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64457 (0xfbc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64458 (0xfbca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64459 (0xfbcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64460 (0xfbcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64461 (0xfbcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64462 (0xfbce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64463 (0xfbcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64464 (0xfbd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64465 (0xfbd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64466 (0xfbd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64467 (0xfbd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64468 (0xfbd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64469 (0xfbd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64470 (0xfbd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64471 (0xfbd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64472 (0xfbd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64473 (0xfbd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64474 (0xfbda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64475 (0xfbdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64476 (0xfbdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64477 (0xfbdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64478 (0xfbde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64479 (0xfbdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64480 (0xfbe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64481 (0xfbe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64482 (0xfbe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64483 (0xfbe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64484 (0xfbe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64485 (0xfbe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64486 (0xfbe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64487 (0xfbe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64488 (0xfbe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64489 (0xfbe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64490 (0xfbea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64491 (0xfbeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64492 (0xfbec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64493 (0xfbed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64494 (0xfbee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64495 (0xfbef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64496 (0xfbf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64497 (0xfbf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64498 (0xfbf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64499 (0xfbf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64500 (0xfbf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64501 (0xfbf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64502 (0xfbf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64503 (0xfbf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64504 (0xfbf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64505 (0xfbf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64506 (0xfbfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64507 (0xfbfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64508 (0xfbfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64509 (0xfbfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64510 (0xfbfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64511 (0xfbff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64512 (0xfc00)

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