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

lri $AR1,    #0x0040
lri $IX1,    #0xd852
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55379 (0xd853)

lri $AR1,    #0x0040
lri $IX1,    #0xd853
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55380 (0xd854)

lri $AR1,    #0x0040
lri $IX1,    #0xd854
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55381 (0xd855)

lri $AR1,    #0x0040
lri $IX1,    #0xd855
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55382 (0xd856)

lri $AR1,    #0x0040
lri $IX1,    #0xd856
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55383 (0xd857)

lri $AR1,    #0x0040
lri $IX1,    #0xd857
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55384 (0xd858)

lri $AR1,    #0x0040
lri $IX1,    #0xd858
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55385 (0xd859)

lri $AR1,    #0x0040
lri $IX1,    #0xd859
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55386 (0xd85a)

lri $AR1,    #0x0040
lri $IX1,    #0xd85a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55387 (0xd85b)

lri $AR1,    #0x0040
lri $IX1,    #0xd85b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55388 (0xd85c)

lri $AR1,    #0x0040
lri $IX1,    #0xd85c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55389 (0xd85d)

lri $AR1,    #0x0040
lri $IX1,    #0xd85d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55390 (0xd85e)

lri $AR1,    #0x0040
lri $IX1,    #0xd85e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55391 (0xd85f)

lri $AR1,    #0x0040
lri $IX1,    #0xd85f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55392 (0xd860)

lri $AR1,    #0x0040
lri $IX1,    #0xd860
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55393 (0xd861)

lri $AR1,    #0x0040
lri $IX1,    #0xd861
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55394 (0xd862)

lri $AR1,    #0x0040
lri $IX1,    #0xd862
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55395 (0xd863)

lri $AR1,    #0x0040
lri $IX1,    #0xd863
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55396 (0xd864)

lri $AR1,    #0x0040
lri $IX1,    #0xd864
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55397 (0xd865)

lri $AR1,    #0x0040
lri $IX1,    #0xd865
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55398 (0xd866)

lri $AR1,    #0x0040
lri $IX1,    #0xd866
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55399 (0xd867)

lri $AR1,    #0x0040
lri $IX1,    #0xd867
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55400 (0xd868)

lri $AR1,    #0x0040
lri $IX1,    #0xd868
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55401 (0xd869)

lri $AR1,    #0x0040
lri $IX1,    #0xd869
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55402 (0xd86a)

lri $AR1,    #0x0040
lri $IX1,    #0xd86a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55403 (0xd86b)

lri $AR1,    #0x0040
lri $IX1,    #0xd86b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55404 (0xd86c)

lri $AR1,    #0x0040
lri $IX1,    #0xd86c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55405 (0xd86d)

lri $AR1,    #0x0040
lri $IX1,    #0xd86d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55406 (0xd86e)

lri $AR1,    #0x0040
lri $IX1,    #0xd86e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55407 (0xd86f)

lri $AR1,    #0x0040
lri $IX1,    #0xd86f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55408 (0xd870)

lri $AR1,    #0x0040
lri $IX1,    #0xd870
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55409 (0xd871)

lri $AR1,    #0x0040
lri $IX1,    #0xd871
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55410 (0xd872)

lri $AR1,    #0x0040
lri $IX1,    #0xd872
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55411 (0xd873)

lri $AR1,    #0x0040
lri $IX1,    #0xd873
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55412 (0xd874)

lri $AR1,    #0x0040
lri $IX1,    #0xd874
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55413 (0xd875)

lri $AR1,    #0x0040
lri $IX1,    #0xd875
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55414 (0xd876)

lri $AR1,    #0x0040
lri $IX1,    #0xd876
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55415 (0xd877)

lri $AR1,    #0x0040
lri $IX1,    #0xd877
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55416 (0xd878)

lri $AR1,    #0x0040
lri $IX1,    #0xd878
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55417 (0xd879)

lri $AR1,    #0x0040
lri $IX1,    #0xd879
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55418 (0xd87a)

lri $AR1,    #0x0040
lri $IX1,    #0xd87a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55419 (0xd87b)

lri $AR1,    #0x0040
lri $IX1,    #0xd87b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55420 (0xd87c)

lri $AR1,    #0x0040
lri $IX1,    #0xd87c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55421 (0xd87d)

lri $AR1,    #0x0040
lri $IX1,    #0xd87d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55422 (0xd87e)

lri $AR1,    #0x0040
lri $IX1,    #0xd87e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55423 (0xd87f)

lri $AR1,    #0x0040
lri $IX1,    #0xd87f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55424 (0xd880)

lri $AR1,    #0x0040
lri $IX1,    #0xd880
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55425 (0xd881)

lri $AR1,    #0x0040
lri $IX1,    #0xd881
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55426 (0xd882)

lri $AR1,    #0x0040
lri $IX1,    #0xd882
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55427 (0xd883)

lri $AR1,    #0x0040
lri $IX1,    #0xd883
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55428 (0xd884)

lri $AR1,    #0x0040
lri $IX1,    #0xd884
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55429 (0xd885)

lri $AR1,    #0x0040
lri $IX1,    #0xd885
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55430 (0xd886)

lri $AR1,    #0x0040
lri $IX1,    #0xd886
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55431 (0xd887)

lri $AR1,    #0x0040
lri $IX1,    #0xd887
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55432 (0xd888)

lri $AR1,    #0x0040
lri $IX1,    #0xd888
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55433 (0xd889)

lri $AR1,    #0x0040
lri $IX1,    #0xd889
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55434 (0xd88a)

lri $AR1,    #0x0040
lri $IX1,    #0xd88a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55435 (0xd88b)

lri $AR1,    #0x0040
lri $IX1,    #0xd88b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55436 (0xd88c)

lri $AR1,    #0x0040
lri $IX1,    #0xd88c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55437 (0xd88d)

lri $AR1,    #0x0040
lri $IX1,    #0xd88d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55438 (0xd88e)

lri $AR1,    #0x0040
lri $IX1,    #0xd88e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55439 (0xd88f)

lri $AR1,    #0x0040
lri $IX1,    #0xd88f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55440 (0xd890)

lri $AR1,    #0x0040
lri $IX1,    #0xd890
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55441 (0xd891)

lri $AR1,    #0x0040
lri $IX1,    #0xd891
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55442 (0xd892)

lri $AR1,    #0x0040
lri $IX1,    #0xd892
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55443 (0xd893)

lri $AR1,    #0x0040
lri $IX1,    #0xd893
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55444 (0xd894)

lri $AR1,    #0x0040
lri $IX1,    #0xd894
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55445 (0xd895)

lri $AR1,    #0x0040
lri $IX1,    #0xd895
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55446 (0xd896)

lri $AR1,    #0x0040
lri $IX1,    #0xd896
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55447 (0xd897)

lri $AR1,    #0x0040
lri $IX1,    #0xd897
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55448 (0xd898)

lri $AR1,    #0x0040
lri $IX1,    #0xd898
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55449 (0xd899)

lri $AR1,    #0x0040
lri $IX1,    #0xd899
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55450 (0xd89a)

lri $AR1,    #0x0040
lri $IX1,    #0xd89a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55451 (0xd89b)

lri $AR1,    #0x0040
lri $IX1,    #0xd89b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55452 (0xd89c)

lri $AR1,    #0x0040
lri $IX1,    #0xd89c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55453 (0xd89d)

lri $AR1,    #0x0040
lri $IX1,    #0xd89d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55454 (0xd89e)

lri $AR1,    #0x0040
lri $IX1,    #0xd89e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55455 (0xd89f)

lri $AR1,    #0x0040
lri $IX1,    #0xd89f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55456 (0xd8a0)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55457 (0xd8a1)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55458 (0xd8a2)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55459 (0xd8a3)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55460 (0xd8a4)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55461 (0xd8a5)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55462 (0xd8a6)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55463 (0xd8a7)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55464 (0xd8a8)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55465 (0xd8a9)

lri $AR1,    #0x0040
lri $IX1,    #0xd8a9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55466 (0xd8aa)

lri $AR1,    #0x0040
lri $IX1,    #0xd8aa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55467 (0xd8ab)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55468 (0xd8ac)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55469 (0xd8ad)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55470 (0xd8ae)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55471 (0xd8af)

lri $AR1,    #0x0040
lri $IX1,    #0xd8af
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55472 (0xd8b0)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55473 (0xd8b1)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55474 (0xd8b2)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55475 (0xd8b3)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55476 (0xd8b4)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55477 (0xd8b5)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55478 (0xd8b6)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55479 (0xd8b7)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55480 (0xd8b8)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55481 (0xd8b9)

lri $AR1,    #0x0040
lri $IX1,    #0xd8b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55482 (0xd8ba)

lri $AR1,    #0x0040
lri $IX1,    #0xd8ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55483 (0xd8bb)

lri $AR1,    #0x0040
lri $IX1,    #0xd8bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55484 (0xd8bc)

lri $AR1,    #0x0040
lri $IX1,    #0xd8bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55485 (0xd8bd)

lri $AR1,    #0x0040
lri $IX1,    #0xd8bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 55486 (0xd8be)

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

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