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

lri $AR1,    #0x0040
lri $IX1,    #0xcd3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52539 (0xcd3b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52540 (0xcd3c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52541 (0xcd3d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52542 (0xcd3e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52543 (0xcd3f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52544 (0xcd40)

lri $AR1,    #0x0040
lri $IX1,    #0xcd40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52545 (0xcd41)

lri $AR1,    #0x0040
lri $IX1,    #0xcd41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52546 (0xcd42)

lri $AR1,    #0x0040
lri $IX1,    #0xcd42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52547 (0xcd43)

lri $AR1,    #0x0040
lri $IX1,    #0xcd43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52548 (0xcd44)

lri $AR1,    #0x0040
lri $IX1,    #0xcd44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52549 (0xcd45)

lri $AR1,    #0x0040
lri $IX1,    #0xcd45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52550 (0xcd46)

lri $AR1,    #0x0040
lri $IX1,    #0xcd46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52551 (0xcd47)

lri $AR1,    #0x0040
lri $IX1,    #0xcd47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52552 (0xcd48)

lri $AR1,    #0x0040
lri $IX1,    #0xcd48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52553 (0xcd49)

lri $AR1,    #0x0040
lri $IX1,    #0xcd49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52554 (0xcd4a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52555 (0xcd4b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52556 (0xcd4c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52557 (0xcd4d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52558 (0xcd4e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52559 (0xcd4f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52560 (0xcd50)

lri $AR1,    #0x0040
lri $IX1,    #0xcd50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52561 (0xcd51)

lri $AR1,    #0x0040
lri $IX1,    #0xcd51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52562 (0xcd52)

lri $AR1,    #0x0040
lri $IX1,    #0xcd52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52563 (0xcd53)

lri $AR1,    #0x0040
lri $IX1,    #0xcd53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52564 (0xcd54)

lri $AR1,    #0x0040
lri $IX1,    #0xcd54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52565 (0xcd55)

lri $AR1,    #0x0040
lri $IX1,    #0xcd55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52566 (0xcd56)

lri $AR1,    #0x0040
lri $IX1,    #0xcd56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52567 (0xcd57)

lri $AR1,    #0x0040
lri $IX1,    #0xcd57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52568 (0xcd58)

lri $AR1,    #0x0040
lri $IX1,    #0xcd58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52569 (0xcd59)

lri $AR1,    #0x0040
lri $IX1,    #0xcd59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52570 (0xcd5a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52571 (0xcd5b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52572 (0xcd5c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52573 (0xcd5d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52574 (0xcd5e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52575 (0xcd5f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52576 (0xcd60)

lri $AR1,    #0x0040
lri $IX1,    #0xcd60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52577 (0xcd61)

lri $AR1,    #0x0040
lri $IX1,    #0xcd61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52578 (0xcd62)

lri $AR1,    #0x0040
lri $IX1,    #0xcd62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52579 (0xcd63)

lri $AR1,    #0x0040
lri $IX1,    #0xcd63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52580 (0xcd64)

lri $AR1,    #0x0040
lri $IX1,    #0xcd64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52581 (0xcd65)

lri $AR1,    #0x0040
lri $IX1,    #0xcd65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52582 (0xcd66)

lri $AR1,    #0x0040
lri $IX1,    #0xcd66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52583 (0xcd67)

lri $AR1,    #0x0040
lri $IX1,    #0xcd67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52584 (0xcd68)

lri $AR1,    #0x0040
lri $IX1,    #0xcd68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52585 (0xcd69)

lri $AR1,    #0x0040
lri $IX1,    #0xcd69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52586 (0xcd6a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52587 (0xcd6b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52588 (0xcd6c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52589 (0xcd6d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52590 (0xcd6e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52591 (0xcd6f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52592 (0xcd70)

lri $AR1,    #0x0040
lri $IX1,    #0xcd70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52593 (0xcd71)

lri $AR1,    #0x0040
lri $IX1,    #0xcd71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52594 (0xcd72)

lri $AR1,    #0x0040
lri $IX1,    #0xcd72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52595 (0xcd73)

lri $AR1,    #0x0040
lri $IX1,    #0xcd73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52596 (0xcd74)

lri $AR1,    #0x0040
lri $IX1,    #0xcd74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52597 (0xcd75)

lri $AR1,    #0x0040
lri $IX1,    #0xcd75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52598 (0xcd76)

lri $AR1,    #0x0040
lri $IX1,    #0xcd76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52599 (0xcd77)

lri $AR1,    #0x0040
lri $IX1,    #0xcd77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52600 (0xcd78)

lri $AR1,    #0x0040
lri $IX1,    #0xcd78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52601 (0xcd79)

lri $AR1,    #0x0040
lri $IX1,    #0xcd79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52602 (0xcd7a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52603 (0xcd7b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52604 (0xcd7c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52605 (0xcd7d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52606 (0xcd7e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52607 (0xcd7f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52608 (0xcd80)

lri $AR1,    #0x0040
lri $IX1,    #0xcd80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52609 (0xcd81)

lri $AR1,    #0x0040
lri $IX1,    #0xcd81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52610 (0xcd82)

lri $AR1,    #0x0040
lri $IX1,    #0xcd82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52611 (0xcd83)

lri $AR1,    #0x0040
lri $IX1,    #0xcd83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52612 (0xcd84)

lri $AR1,    #0x0040
lri $IX1,    #0xcd84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52613 (0xcd85)

lri $AR1,    #0x0040
lri $IX1,    #0xcd85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52614 (0xcd86)

lri $AR1,    #0x0040
lri $IX1,    #0xcd86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52615 (0xcd87)

lri $AR1,    #0x0040
lri $IX1,    #0xcd87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52616 (0xcd88)

lri $AR1,    #0x0040
lri $IX1,    #0xcd88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52617 (0xcd89)

lri $AR1,    #0x0040
lri $IX1,    #0xcd89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52618 (0xcd8a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52619 (0xcd8b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52620 (0xcd8c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52621 (0xcd8d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52622 (0xcd8e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52623 (0xcd8f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52624 (0xcd90)

lri $AR1,    #0x0040
lri $IX1,    #0xcd90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52625 (0xcd91)

lri $AR1,    #0x0040
lri $IX1,    #0xcd91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52626 (0xcd92)

lri $AR1,    #0x0040
lri $IX1,    #0xcd92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52627 (0xcd93)

lri $AR1,    #0x0040
lri $IX1,    #0xcd93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52628 (0xcd94)

lri $AR1,    #0x0040
lri $IX1,    #0xcd94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52629 (0xcd95)

lri $AR1,    #0x0040
lri $IX1,    #0xcd95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52630 (0xcd96)

lri $AR1,    #0x0040
lri $IX1,    #0xcd96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52631 (0xcd97)

lri $AR1,    #0x0040
lri $IX1,    #0xcd97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52632 (0xcd98)

lri $AR1,    #0x0040
lri $IX1,    #0xcd98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52633 (0xcd99)

lri $AR1,    #0x0040
lri $IX1,    #0xcd99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52634 (0xcd9a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52635 (0xcd9b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52636 (0xcd9c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52637 (0xcd9d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52638 (0xcd9e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52639 (0xcd9f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52640 (0xcda0)

lri $AR1,    #0x0040
lri $IX1,    #0xcda0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52641 (0xcda1)

lri $AR1,    #0x0040
lri $IX1,    #0xcda1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52642 (0xcda2)

lri $AR1,    #0x0040
lri $IX1,    #0xcda2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52643 (0xcda3)

lri $AR1,    #0x0040
lri $IX1,    #0xcda3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52644 (0xcda4)

lri $AR1,    #0x0040
lri $IX1,    #0xcda4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52645 (0xcda5)

lri $AR1,    #0x0040
lri $IX1,    #0xcda5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52646 (0xcda6)

lri $AR1,    #0x0040
lri $IX1,    #0xcda6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52647 (0xcda7)

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