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

lri $AR1,    #0x0040
lri $IX1,    #0xfd03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64772 (0xfd04)

lri $AR1,    #0x0040
lri $IX1,    #0xfd04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64773 (0xfd05)

lri $AR1,    #0x0040
lri $IX1,    #0xfd05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64774 (0xfd06)

lri $AR1,    #0x0040
lri $IX1,    #0xfd06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64775 (0xfd07)

lri $AR1,    #0x0040
lri $IX1,    #0xfd07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64776 (0xfd08)

lri $AR1,    #0x0040
lri $IX1,    #0xfd08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64777 (0xfd09)

lri $AR1,    #0x0040
lri $IX1,    #0xfd09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64778 (0xfd0a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64779 (0xfd0b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64780 (0xfd0c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64781 (0xfd0d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64782 (0xfd0e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64783 (0xfd0f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64784 (0xfd10)

lri $AR1,    #0x0040
lri $IX1,    #0xfd10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64785 (0xfd11)

lri $AR1,    #0x0040
lri $IX1,    #0xfd11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64786 (0xfd12)

lri $AR1,    #0x0040
lri $IX1,    #0xfd12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64787 (0xfd13)

lri $AR1,    #0x0040
lri $IX1,    #0xfd13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64788 (0xfd14)

lri $AR1,    #0x0040
lri $IX1,    #0xfd14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64789 (0xfd15)

lri $AR1,    #0x0040
lri $IX1,    #0xfd15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64790 (0xfd16)

lri $AR1,    #0x0040
lri $IX1,    #0xfd16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64791 (0xfd17)

lri $AR1,    #0x0040
lri $IX1,    #0xfd17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64792 (0xfd18)

lri $AR1,    #0x0040
lri $IX1,    #0xfd18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64793 (0xfd19)

lri $AR1,    #0x0040
lri $IX1,    #0xfd19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64794 (0xfd1a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64795 (0xfd1b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64796 (0xfd1c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64797 (0xfd1d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64798 (0xfd1e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64799 (0xfd1f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64800 (0xfd20)

lri $AR1,    #0x0040
lri $IX1,    #0xfd20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64801 (0xfd21)

lri $AR1,    #0x0040
lri $IX1,    #0xfd21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64802 (0xfd22)

lri $AR1,    #0x0040
lri $IX1,    #0xfd22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64803 (0xfd23)

lri $AR1,    #0x0040
lri $IX1,    #0xfd23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64804 (0xfd24)

lri $AR1,    #0x0040
lri $IX1,    #0xfd24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64805 (0xfd25)

lri $AR1,    #0x0040
lri $IX1,    #0xfd25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64806 (0xfd26)

lri $AR1,    #0x0040
lri $IX1,    #0xfd26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64807 (0xfd27)

lri $AR1,    #0x0040
lri $IX1,    #0xfd27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64808 (0xfd28)

lri $AR1,    #0x0040
lri $IX1,    #0xfd28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64809 (0xfd29)

lri $AR1,    #0x0040
lri $IX1,    #0xfd29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64810 (0xfd2a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64811 (0xfd2b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64812 (0xfd2c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64813 (0xfd2d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64814 (0xfd2e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64815 (0xfd2f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64816 (0xfd30)

lri $AR1,    #0x0040
lri $IX1,    #0xfd30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64817 (0xfd31)

lri $AR1,    #0x0040
lri $IX1,    #0xfd31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64818 (0xfd32)

lri $AR1,    #0x0040
lri $IX1,    #0xfd32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64819 (0xfd33)

lri $AR1,    #0x0040
lri $IX1,    #0xfd33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64820 (0xfd34)

lri $AR1,    #0x0040
lri $IX1,    #0xfd34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64821 (0xfd35)

lri $AR1,    #0x0040
lri $IX1,    #0xfd35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64822 (0xfd36)

lri $AR1,    #0x0040
lri $IX1,    #0xfd36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64823 (0xfd37)

lri $AR1,    #0x0040
lri $IX1,    #0xfd37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64824 (0xfd38)

lri $AR1,    #0x0040
lri $IX1,    #0xfd38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64825 (0xfd39)

lri $AR1,    #0x0040
lri $IX1,    #0xfd39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64826 (0xfd3a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64827 (0xfd3b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64828 (0xfd3c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64829 (0xfd3d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64830 (0xfd3e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64831 (0xfd3f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64832 (0xfd40)

lri $AR1,    #0x0040
lri $IX1,    #0xfd40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64833 (0xfd41)

lri $AR1,    #0x0040
lri $IX1,    #0xfd41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64834 (0xfd42)

lri $AR1,    #0x0040
lri $IX1,    #0xfd42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64835 (0xfd43)

lri $AR1,    #0x0040
lri $IX1,    #0xfd43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64836 (0xfd44)

lri $AR1,    #0x0040
lri $IX1,    #0xfd44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64837 (0xfd45)

lri $AR1,    #0x0040
lri $IX1,    #0xfd45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64838 (0xfd46)

lri $AR1,    #0x0040
lri $IX1,    #0xfd46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64839 (0xfd47)

lri $AR1,    #0x0040
lri $IX1,    #0xfd47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64840 (0xfd48)

lri $AR1,    #0x0040
lri $IX1,    #0xfd48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64841 (0xfd49)

lri $AR1,    #0x0040
lri $IX1,    #0xfd49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64842 (0xfd4a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64843 (0xfd4b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64844 (0xfd4c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64845 (0xfd4d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64846 (0xfd4e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64847 (0xfd4f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64848 (0xfd50)

lri $AR1,    #0x0040
lri $IX1,    #0xfd50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64849 (0xfd51)

lri $AR1,    #0x0040
lri $IX1,    #0xfd51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64850 (0xfd52)

lri $AR1,    #0x0040
lri $IX1,    #0xfd52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64851 (0xfd53)

lri $AR1,    #0x0040
lri $IX1,    #0xfd53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64852 (0xfd54)

lri $AR1,    #0x0040
lri $IX1,    #0xfd54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64853 (0xfd55)

lri $AR1,    #0x0040
lri $IX1,    #0xfd55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64854 (0xfd56)

lri $AR1,    #0x0040
lri $IX1,    #0xfd56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64855 (0xfd57)

lri $AR1,    #0x0040
lri $IX1,    #0xfd57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64856 (0xfd58)

lri $AR1,    #0x0040
lri $IX1,    #0xfd58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64857 (0xfd59)

lri $AR1,    #0x0040
lri $IX1,    #0xfd59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64858 (0xfd5a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64859 (0xfd5b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64860 (0xfd5c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64861 (0xfd5d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64862 (0xfd5e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64863 (0xfd5f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64864 (0xfd60)

lri $AR1,    #0x0040
lri $IX1,    #0xfd60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64865 (0xfd61)

lri $AR1,    #0x0040
lri $IX1,    #0xfd61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64866 (0xfd62)

lri $AR1,    #0x0040
lri $IX1,    #0xfd62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64867 (0xfd63)

lri $AR1,    #0x0040
lri $IX1,    #0xfd63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64868 (0xfd64)

lri $AR1,    #0x0040
lri $IX1,    #0xfd64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64869 (0xfd65)

lri $AR1,    #0x0040
lri $IX1,    #0xfd65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64870 (0xfd66)

lri $AR1,    #0x0040
lri $IX1,    #0xfd66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64871 (0xfd67)

lri $AR1,    #0x0040
lri $IX1,    #0xfd67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64872 (0xfd68)

lri $AR1,    #0x0040
lri $IX1,    #0xfd68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64873 (0xfd69)

lri $AR1,    #0x0040
lri $IX1,    #0xfd69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64874 (0xfd6a)

lri $AR1,    #0x0040
lri $IX1,    #0xfd6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64875 (0xfd6b)

lri $AR1,    #0x0040
lri $IX1,    #0xfd6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64876 (0xfd6c)

lri $AR1,    #0x0040
lri $IX1,    #0xfd6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64877 (0xfd6d)

lri $AR1,    #0x0040
lri $IX1,    #0xfd6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64878 (0xfd6e)

lri $AR1,    #0x0040
lri $IX1,    #0xfd6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64879 (0xfd6f)

lri $AR1,    #0x0040
lri $IX1,    #0xfd6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 64880 (0xfd70)

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