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

lri $AR1,    #0x0040
lri $IX1,    #0x9dde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40415 (0x9ddf)

lri $AR1,    #0x0040
lri $IX1,    #0x9ddf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40416 (0x9de0)

lri $AR1,    #0x0040
lri $IX1,    #0x9de0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40417 (0x9de1)

lri $AR1,    #0x0040
lri $IX1,    #0x9de1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40418 (0x9de2)

lri $AR1,    #0x0040
lri $IX1,    #0x9de2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40419 (0x9de3)

lri $AR1,    #0x0040
lri $IX1,    #0x9de3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40420 (0x9de4)

lri $AR1,    #0x0040
lri $IX1,    #0x9de4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40421 (0x9de5)

lri $AR1,    #0x0040
lri $IX1,    #0x9de5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40422 (0x9de6)

lri $AR1,    #0x0040
lri $IX1,    #0x9de6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40423 (0x9de7)

lri $AR1,    #0x0040
lri $IX1,    #0x9de7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40424 (0x9de8)

lri $AR1,    #0x0040
lri $IX1,    #0x9de8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40425 (0x9de9)

lri $AR1,    #0x0040
lri $IX1,    #0x9de9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40426 (0x9dea)

lri $AR1,    #0x0040
lri $IX1,    #0x9dea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40427 (0x9deb)

lri $AR1,    #0x0040
lri $IX1,    #0x9deb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40428 (0x9dec)

lri $AR1,    #0x0040
lri $IX1,    #0x9dec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40429 (0x9ded)

lri $AR1,    #0x0040
lri $IX1,    #0x9ded
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40430 (0x9dee)

lri $AR1,    #0x0040
lri $IX1,    #0x9dee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40431 (0x9def)

lri $AR1,    #0x0040
lri $IX1,    #0x9def
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40432 (0x9df0)

lri $AR1,    #0x0040
lri $IX1,    #0x9df0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40433 (0x9df1)

lri $AR1,    #0x0040
lri $IX1,    #0x9df1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40434 (0x9df2)

lri $AR1,    #0x0040
lri $IX1,    #0x9df2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40435 (0x9df3)

lri $AR1,    #0x0040
lri $IX1,    #0x9df3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40436 (0x9df4)

lri $AR1,    #0x0040
lri $IX1,    #0x9df4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40437 (0x9df5)

lri $AR1,    #0x0040
lri $IX1,    #0x9df5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40438 (0x9df6)

lri $AR1,    #0x0040
lri $IX1,    #0x9df6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40439 (0x9df7)

lri $AR1,    #0x0040
lri $IX1,    #0x9df7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40440 (0x9df8)

lri $AR1,    #0x0040
lri $IX1,    #0x9df8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40441 (0x9df9)

lri $AR1,    #0x0040
lri $IX1,    #0x9df9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40442 (0x9dfa)

lri $AR1,    #0x0040
lri $IX1,    #0x9dfa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40443 (0x9dfb)

lri $AR1,    #0x0040
lri $IX1,    #0x9dfb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40444 (0x9dfc)

lri $AR1,    #0x0040
lri $IX1,    #0x9dfc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40445 (0x9dfd)

lri $AR1,    #0x0040
lri $IX1,    #0x9dfd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40446 (0x9dfe)

lri $AR1,    #0x0040
lri $IX1,    #0x9dfe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40447 (0x9dff)

lri $AR1,    #0x0040
lri $IX1,    #0x9dff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40448 (0x9e00)

lri $AR1,    #0x0040
lri $IX1,    #0x9e00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40449 (0x9e01)

lri $AR1,    #0x0040
lri $IX1,    #0x9e01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40450 (0x9e02)

lri $AR1,    #0x0040
lri $IX1,    #0x9e02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40451 (0x9e03)

lri $AR1,    #0x0040
lri $IX1,    #0x9e03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40452 (0x9e04)

lri $AR1,    #0x0040
lri $IX1,    #0x9e04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40453 (0x9e05)

lri $AR1,    #0x0040
lri $IX1,    #0x9e05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40454 (0x9e06)

lri $AR1,    #0x0040
lri $IX1,    #0x9e06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40455 (0x9e07)

lri $AR1,    #0x0040
lri $IX1,    #0x9e07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40456 (0x9e08)

lri $AR1,    #0x0040
lri $IX1,    #0x9e08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40457 (0x9e09)

lri $AR1,    #0x0040
lri $IX1,    #0x9e09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40458 (0x9e0a)

lri $AR1,    #0x0040
lri $IX1,    #0x9e0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40459 (0x9e0b)

lri $AR1,    #0x0040
lri $IX1,    #0x9e0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40460 (0x9e0c)

lri $AR1,    #0x0040
lri $IX1,    #0x9e0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40461 (0x9e0d)

lri $AR1,    #0x0040
lri $IX1,    #0x9e0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40462 (0x9e0e)

lri $AR1,    #0x0040
lri $IX1,    #0x9e0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40463 (0x9e0f)

lri $AR1,    #0x0040
lri $IX1,    #0x9e0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40464 (0x9e10)

lri $AR1,    #0x0040
lri $IX1,    #0x9e10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40465 (0x9e11)

lri $AR1,    #0x0040
lri $IX1,    #0x9e11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40466 (0x9e12)

lri $AR1,    #0x0040
lri $IX1,    #0x9e12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40467 (0x9e13)

lri $AR1,    #0x0040
lri $IX1,    #0x9e13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40468 (0x9e14)

lri $AR1,    #0x0040
lri $IX1,    #0x9e14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40469 (0x9e15)

lri $AR1,    #0x0040
lri $IX1,    #0x9e15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40470 (0x9e16)

lri $AR1,    #0x0040
lri $IX1,    #0x9e16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40471 (0x9e17)

lri $AR1,    #0x0040
lri $IX1,    #0x9e17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40472 (0x9e18)

lri $AR1,    #0x0040
lri $IX1,    #0x9e18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40473 (0x9e19)

lri $AR1,    #0x0040
lri $IX1,    #0x9e19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40474 (0x9e1a)

lri $AR1,    #0x0040
lri $IX1,    #0x9e1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40475 (0x9e1b)

lri $AR1,    #0x0040
lri $IX1,    #0x9e1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40476 (0x9e1c)

lri $AR1,    #0x0040
lri $IX1,    #0x9e1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40477 (0x9e1d)

lri $AR1,    #0x0040
lri $IX1,    #0x9e1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40478 (0x9e1e)

lri $AR1,    #0x0040
lri $IX1,    #0x9e1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40479 (0x9e1f)

lri $AR1,    #0x0040
lri $IX1,    #0x9e1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40480 (0x9e20)

lri $AR1,    #0x0040
lri $IX1,    #0x9e20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40481 (0x9e21)

lri $AR1,    #0x0040
lri $IX1,    #0x9e21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40482 (0x9e22)

lri $AR1,    #0x0040
lri $IX1,    #0x9e22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40483 (0x9e23)

lri $AR1,    #0x0040
lri $IX1,    #0x9e23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40484 (0x9e24)

lri $AR1,    #0x0040
lri $IX1,    #0x9e24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40485 (0x9e25)

lri $AR1,    #0x0040
lri $IX1,    #0x9e25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40486 (0x9e26)

lri $AR1,    #0x0040
lri $IX1,    #0x9e26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40487 (0x9e27)

lri $AR1,    #0x0040
lri $IX1,    #0x9e27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40488 (0x9e28)

lri $AR1,    #0x0040
lri $IX1,    #0x9e28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40489 (0x9e29)

lri $AR1,    #0x0040
lri $IX1,    #0x9e29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40490 (0x9e2a)

lri $AR1,    #0x0040
lri $IX1,    #0x9e2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40491 (0x9e2b)

lri $AR1,    #0x0040
lri $IX1,    #0x9e2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40492 (0x9e2c)

lri $AR1,    #0x0040
lri $IX1,    #0x9e2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40493 (0x9e2d)

lri $AR1,    #0x0040
lri $IX1,    #0x9e2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40494 (0x9e2e)

lri $AR1,    #0x0040
lri $IX1,    #0x9e2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40495 (0x9e2f)

lri $AR1,    #0x0040
lri $IX1,    #0x9e2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40496 (0x9e30)

lri $AR1,    #0x0040
lri $IX1,    #0x9e30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40497 (0x9e31)

lri $AR1,    #0x0040
lri $IX1,    #0x9e31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40498 (0x9e32)

lri $AR1,    #0x0040
lri $IX1,    #0x9e32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40499 (0x9e33)

lri $AR1,    #0x0040
lri $IX1,    #0x9e33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40500 (0x9e34)

lri $AR1,    #0x0040
lri $IX1,    #0x9e34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40501 (0x9e35)

lri $AR1,    #0x0040
lri $IX1,    #0x9e35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40502 (0x9e36)

lri $AR1,    #0x0040
lri $IX1,    #0x9e36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40503 (0x9e37)

lri $AR1,    #0x0040
lri $IX1,    #0x9e37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40504 (0x9e38)

lri $AR1,    #0x0040
lri $IX1,    #0x9e38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40505 (0x9e39)

lri $AR1,    #0x0040
lri $IX1,    #0x9e39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40506 (0x9e3a)

lri $AR1,    #0x0040
lri $IX1,    #0x9e3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40507 (0x9e3b)

lri $AR1,    #0x0040
lri $IX1,    #0x9e3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40508 (0x9e3c)

lri $AR1,    #0x0040
lri $IX1,    #0x9e3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40509 (0x9e3d)

lri $AR1,    #0x0040
lri $IX1,    #0x9e3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40510 (0x9e3e)

lri $AR1,    #0x0040
lri $IX1,    #0x9e3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40511 (0x9e3f)

lri $AR1,    #0x0040
lri $IX1,    #0x9e3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40512 (0x9e40)

lri $AR1,    #0x0040
lri $IX1,    #0x9e40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40513 (0x9e41)

lri $AR1,    #0x0040
lri $IX1,    #0x9e41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40514 (0x9e42)

lri $AR1,    #0x0040
lri $IX1,    #0x9e42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40515 (0x9e43)

lri $AR1,    #0x0040
lri $IX1,    #0x9e43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40516 (0x9e44)

lri $AR1,    #0x0040
lri $IX1,    #0x9e44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40517 (0x9e45)

lri $AR1,    #0x0040
lri $IX1,    #0x9e45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40518 (0x9e46)

lri $AR1,    #0x0040
lri $IX1,    #0x9e46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40519 (0x9e47)

lri $AR1,    #0x0040
lri $IX1,    #0x9e47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40520 (0x9e48)

lri $AR1,    #0x0040
lri $IX1,    #0x9e48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40521 (0x9e49)

lri $AR1,    #0x0040
lri $IX1,    #0x9e49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40522 (0x9e4a)

lri $AR1,    #0x0040
lri $IX1,    #0x9e4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40523 (0x9e4b)

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