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

lri $AR1,    #0x0040
lri $IX1,    #0xd8bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55488 (0xd8c0)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55489 (0xd8c1)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55490 (0xd8c2)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55491 (0xd8c3)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55492 (0xd8c4)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55493 (0xd8c5)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55494 (0xd8c6)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55495 (0xd8c7)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55496 (0xd8c8)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55497 (0xd8c9)

lri $AR1,    #0x0040
lri $IX1,    #0xd8c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55498 (0xd8ca)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55499 (0xd8cb)

lri $AR1,    #0x0040
lri $IX1,    #0xd8cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55500 (0xd8cc)

lri $AR1,    #0x0040
lri $IX1,    #0xd8cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55501 (0xd8cd)

lri $AR1,    #0x0040
lri $IX1,    #0xd8cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55502 (0xd8ce)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55503 (0xd8cf)

lri $AR1,    #0x0040
lri $IX1,    #0xd8cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55504 (0xd8d0)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55505 (0xd8d1)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55506 (0xd8d2)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55507 (0xd8d3)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55508 (0xd8d4)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55509 (0xd8d5)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55510 (0xd8d6)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55511 (0xd8d7)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55512 (0xd8d8)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55513 (0xd8d9)

lri $AR1,    #0x0040
lri $IX1,    #0xd8d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55514 (0xd8da)

lri $AR1,    #0x0040
lri $IX1,    #0xd8da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55515 (0xd8db)

lri $AR1,    #0x0040
lri $IX1,    #0xd8db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55516 (0xd8dc)

lri $AR1,    #0x0040
lri $IX1,    #0xd8dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55517 (0xd8dd)

lri $AR1,    #0x0040
lri $IX1,    #0xd8dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55518 (0xd8de)

lri $AR1,    #0x0040
lri $IX1,    #0xd8de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55519 (0xd8df)

lri $AR1,    #0x0040
lri $IX1,    #0xd8df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55520 (0xd8e0)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55521 (0xd8e1)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55522 (0xd8e2)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55523 (0xd8e3)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55524 (0xd8e4)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55525 (0xd8e5)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55526 (0xd8e6)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55527 (0xd8e7)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55528 (0xd8e8)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55529 (0xd8e9)

lri $AR1,    #0x0040
lri $IX1,    #0xd8e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55530 (0xd8ea)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55531 (0xd8eb)

lri $AR1,    #0x0040
lri $IX1,    #0xd8eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55532 (0xd8ec)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55533 (0xd8ed)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55534 (0xd8ee)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55535 (0xd8ef)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55536 (0xd8f0)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55537 (0xd8f1)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55538 (0xd8f2)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55539 (0xd8f3)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55540 (0xd8f4)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55541 (0xd8f5)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55542 (0xd8f6)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55543 (0xd8f7)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55544 (0xd8f8)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55545 (0xd8f9)

lri $AR1,    #0x0040
lri $IX1,    #0xd8f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55546 (0xd8fa)

lri $AR1,    #0x0040
lri $IX1,    #0xd8fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55547 (0xd8fb)

lri $AR1,    #0x0040
lri $IX1,    #0xd8fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55548 (0xd8fc)

lri $AR1,    #0x0040
lri $IX1,    #0xd8fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55549 (0xd8fd)

lri $AR1,    #0x0040
lri $IX1,    #0xd8fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55550 (0xd8fe)

lri $AR1,    #0x0040
lri $IX1,    #0xd8fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55551 (0xd8ff)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55552 (0xd900)

lri $AR1,    #0x0040
lri $IX1,    #0xd900
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55553 (0xd901)

lri $AR1,    #0x0040
lri $IX1,    #0xd901
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55554 (0xd902)

lri $AR1,    #0x0040
lri $IX1,    #0xd902
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55555 (0xd903)

lri $AR1,    #0x0040
lri $IX1,    #0xd903
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55556 (0xd904)

lri $AR1,    #0x0040
lri $IX1,    #0xd904
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55557 (0xd905)

lri $AR1,    #0x0040
lri $IX1,    #0xd905
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55558 (0xd906)

lri $AR1,    #0x0040
lri $IX1,    #0xd906
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55559 (0xd907)

lri $AR1,    #0x0040
lri $IX1,    #0xd907
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55560 (0xd908)

lri $AR1,    #0x0040
lri $IX1,    #0xd908
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55561 (0xd909)

lri $AR1,    #0x0040
lri $IX1,    #0xd909
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55562 (0xd90a)

lri $AR1,    #0x0040
lri $IX1,    #0xd90a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55563 (0xd90b)

lri $AR1,    #0x0040
lri $IX1,    #0xd90b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55564 (0xd90c)

lri $AR1,    #0x0040
lri $IX1,    #0xd90c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55565 (0xd90d)

lri $AR1,    #0x0040
lri $IX1,    #0xd90d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55566 (0xd90e)

lri $AR1,    #0x0040
lri $IX1,    #0xd90e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55567 (0xd90f)

lri $AR1,    #0x0040
lri $IX1,    #0xd90f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55568 (0xd910)

lri $AR1,    #0x0040
lri $IX1,    #0xd910
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55569 (0xd911)

lri $AR1,    #0x0040
lri $IX1,    #0xd911
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55570 (0xd912)

lri $AR1,    #0x0040
lri $IX1,    #0xd912
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55571 (0xd913)

lri $AR1,    #0x0040
lri $IX1,    #0xd913
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55572 (0xd914)

lri $AR1,    #0x0040
lri $IX1,    #0xd914
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55573 (0xd915)

lri $AR1,    #0x0040
lri $IX1,    #0xd915
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55574 (0xd916)

lri $AR1,    #0x0040
lri $IX1,    #0xd916
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55575 (0xd917)

lri $AR1,    #0x0040
lri $IX1,    #0xd917
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55576 (0xd918)

lri $AR1,    #0x0040
lri $IX1,    #0xd918
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55577 (0xd919)

lri $AR1,    #0x0040
lri $IX1,    #0xd919
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55578 (0xd91a)

lri $AR1,    #0x0040
lri $IX1,    #0xd91a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55579 (0xd91b)

lri $AR1,    #0x0040
lri $IX1,    #0xd91b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55580 (0xd91c)

lri $AR1,    #0x0040
lri $IX1,    #0xd91c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55581 (0xd91d)

lri $AR1,    #0x0040
lri $IX1,    #0xd91d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55582 (0xd91e)

lri $AR1,    #0x0040
lri $IX1,    #0xd91e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55583 (0xd91f)

lri $AR1,    #0x0040
lri $IX1,    #0xd91f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55584 (0xd920)

lri $AR1,    #0x0040
lri $IX1,    #0xd920
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55585 (0xd921)

lri $AR1,    #0x0040
lri $IX1,    #0xd921
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55586 (0xd922)

lri $AR1,    #0x0040
lri $IX1,    #0xd922
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55587 (0xd923)

lri $AR1,    #0x0040
lri $IX1,    #0xd923
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55588 (0xd924)

lri $AR1,    #0x0040
lri $IX1,    #0xd924
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55589 (0xd925)

lri $AR1,    #0x0040
lri $IX1,    #0xd925
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55590 (0xd926)

lri $AR1,    #0x0040
lri $IX1,    #0xd926
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55591 (0xd927)

lri $AR1,    #0x0040
lri $IX1,    #0xd927
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55592 (0xd928)

lri $AR1,    #0x0040
lri $IX1,    #0xd928
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55593 (0xd929)

lri $AR1,    #0x0040
lri $IX1,    #0xd929
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55594 (0xd92a)

lri $AR1,    #0x0040
lri $IX1,    #0xd92a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55595 (0xd92b)

lri $AR1,    #0x0040
lri $IX1,    #0xd92b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55596 (0xd92c)

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