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

lri $AR1,    #0x0040
lri $IX1,    #0xdddd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56798 (0xddde)

lri $AR1,    #0x0040
lri $IX1,    #0xddde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56799 (0xdddf)

lri $AR1,    #0x0040
lri $IX1,    #0xdddf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56800 (0xdde0)

lri $AR1,    #0x0040
lri $IX1,    #0xdde0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56801 (0xdde1)

lri $AR1,    #0x0040
lri $IX1,    #0xdde1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56802 (0xdde2)

lri $AR1,    #0x0040
lri $IX1,    #0xdde2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56803 (0xdde3)

lri $AR1,    #0x0040
lri $IX1,    #0xdde3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56804 (0xdde4)

lri $AR1,    #0x0040
lri $IX1,    #0xdde4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56805 (0xdde5)

lri $AR1,    #0x0040
lri $IX1,    #0xdde5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56806 (0xdde6)

lri $AR1,    #0x0040
lri $IX1,    #0xdde6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56807 (0xdde7)

lri $AR1,    #0x0040
lri $IX1,    #0xdde7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56808 (0xdde8)

lri $AR1,    #0x0040
lri $IX1,    #0xdde8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56809 (0xdde9)

lri $AR1,    #0x0040
lri $IX1,    #0xdde9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56810 (0xddea)

lri $AR1,    #0x0040
lri $IX1,    #0xddea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56811 (0xddeb)

lri $AR1,    #0x0040
lri $IX1,    #0xddeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56812 (0xddec)

lri $AR1,    #0x0040
lri $IX1,    #0xddec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56813 (0xdded)

lri $AR1,    #0x0040
lri $IX1,    #0xdded
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56814 (0xddee)

lri $AR1,    #0x0040
lri $IX1,    #0xddee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56815 (0xddef)

lri $AR1,    #0x0040
lri $IX1,    #0xddef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56816 (0xddf0)

lri $AR1,    #0x0040
lri $IX1,    #0xddf0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56817 (0xddf1)

lri $AR1,    #0x0040
lri $IX1,    #0xddf1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56818 (0xddf2)

lri $AR1,    #0x0040
lri $IX1,    #0xddf2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56819 (0xddf3)

lri $AR1,    #0x0040
lri $IX1,    #0xddf3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56820 (0xddf4)

lri $AR1,    #0x0040
lri $IX1,    #0xddf4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56821 (0xddf5)

lri $AR1,    #0x0040
lri $IX1,    #0xddf5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56822 (0xddf6)

lri $AR1,    #0x0040
lri $IX1,    #0xddf6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56823 (0xddf7)

lri $AR1,    #0x0040
lri $IX1,    #0xddf7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56824 (0xddf8)

lri $AR1,    #0x0040
lri $IX1,    #0xddf8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56825 (0xddf9)

lri $AR1,    #0x0040
lri $IX1,    #0xddf9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56826 (0xddfa)

lri $AR1,    #0x0040
lri $IX1,    #0xddfa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56827 (0xddfb)

lri $AR1,    #0x0040
lri $IX1,    #0xddfb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56828 (0xddfc)

lri $AR1,    #0x0040
lri $IX1,    #0xddfc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56829 (0xddfd)

lri $AR1,    #0x0040
lri $IX1,    #0xddfd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56830 (0xddfe)

lri $AR1,    #0x0040
lri $IX1,    #0xddfe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56831 (0xddff)

lri $AR1,    #0x0040
lri $IX1,    #0xddff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56832 (0xde00)

lri $AR1,    #0x0040
lri $IX1,    #0xde00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56833 (0xde01)

lri $AR1,    #0x0040
lri $IX1,    #0xde01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56834 (0xde02)

lri $AR1,    #0x0040
lri $IX1,    #0xde02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56835 (0xde03)

lri $AR1,    #0x0040
lri $IX1,    #0xde03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56836 (0xde04)

lri $AR1,    #0x0040
lri $IX1,    #0xde04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56837 (0xde05)

lri $AR1,    #0x0040
lri $IX1,    #0xde05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56838 (0xde06)

lri $AR1,    #0x0040
lri $IX1,    #0xde06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56839 (0xde07)

lri $AR1,    #0x0040
lri $IX1,    #0xde07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56840 (0xde08)

lri $AR1,    #0x0040
lri $IX1,    #0xde08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56841 (0xde09)

lri $AR1,    #0x0040
lri $IX1,    #0xde09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56842 (0xde0a)

lri $AR1,    #0x0040
lri $IX1,    #0xde0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56843 (0xde0b)

lri $AR1,    #0x0040
lri $IX1,    #0xde0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56844 (0xde0c)

lri $AR1,    #0x0040
lri $IX1,    #0xde0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56845 (0xde0d)

lri $AR1,    #0x0040
lri $IX1,    #0xde0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56846 (0xde0e)

lri $AR1,    #0x0040
lri $IX1,    #0xde0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56847 (0xde0f)

lri $AR1,    #0x0040
lri $IX1,    #0xde0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56848 (0xde10)

lri $AR1,    #0x0040
lri $IX1,    #0xde10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56849 (0xde11)

lri $AR1,    #0x0040
lri $IX1,    #0xde11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56850 (0xde12)

lri $AR1,    #0x0040
lri $IX1,    #0xde12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56851 (0xde13)

lri $AR1,    #0x0040
lri $IX1,    #0xde13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56852 (0xde14)

lri $AR1,    #0x0040
lri $IX1,    #0xde14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56853 (0xde15)

lri $AR1,    #0x0040
lri $IX1,    #0xde15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56854 (0xde16)

lri $AR1,    #0x0040
lri $IX1,    #0xde16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56855 (0xde17)

lri $AR1,    #0x0040
lri $IX1,    #0xde17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56856 (0xde18)

lri $AR1,    #0x0040
lri $IX1,    #0xde18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56857 (0xde19)

lri $AR1,    #0x0040
lri $IX1,    #0xde19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56858 (0xde1a)

lri $AR1,    #0x0040
lri $IX1,    #0xde1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56859 (0xde1b)

lri $AR1,    #0x0040
lri $IX1,    #0xde1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56860 (0xde1c)

lri $AR1,    #0x0040
lri $IX1,    #0xde1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56861 (0xde1d)

lri $AR1,    #0x0040
lri $IX1,    #0xde1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56862 (0xde1e)

lri $AR1,    #0x0040
lri $IX1,    #0xde1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56863 (0xde1f)

lri $AR1,    #0x0040
lri $IX1,    #0xde1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56864 (0xde20)

lri $AR1,    #0x0040
lri $IX1,    #0xde20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56865 (0xde21)

lri $AR1,    #0x0040
lri $IX1,    #0xde21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56866 (0xde22)

lri $AR1,    #0x0040
lri $IX1,    #0xde22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56867 (0xde23)

lri $AR1,    #0x0040
lri $IX1,    #0xde23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56868 (0xde24)

lri $AR1,    #0x0040
lri $IX1,    #0xde24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56869 (0xde25)

lri $AR1,    #0x0040
lri $IX1,    #0xde25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56870 (0xde26)

lri $AR1,    #0x0040
lri $IX1,    #0xde26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56871 (0xde27)

lri $AR1,    #0x0040
lri $IX1,    #0xde27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56872 (0xde28)

lri $AR1,    #0x0040
lri $IX1,    #0xde28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56873 (0xde29)

lri $AR1,    #0x0040
lri $IX1,    #0xde29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56874 (0xde2a)

lri $AR1,    #0x0040
lri $IX1,    #0xde2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56875 (0xde2b)

lri $AR1,    #0x0040
lri $IX1,    #0xde2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56876 (0xde2c)

lri $AR1,    #0x0040
lri $IX1,    #0xde2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56877 (0xde2d)

lri $AR1,    #0x0040
lri $IX1,    #0xde2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56878 (0xde2e)

lri $AR1,    #0x0040
lri $IX1,    #0xde2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56879 (0xde2f)

lri $AR1,    #0x0040
lri $IX1,    #0xde2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56880 (0xde30)

lri $AR1,    #0x0040
lri $IX1,    #0xde30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56881 (0xde31)

lri $AR1,    #0x0040
lri $IX1,    #0xde31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56882 (0xde32)

lri $AR1,    #0x0040
lri $IX1,    #0xde32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56883 (0xde33)

lri $AR1,    #0x0040
lri $IX1,    #0xde33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56884 (0xde34)

lri $AR1,    #0x0040
lri $IX1,    #0xde34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56885 (0xde35)

lri $AR1,    #0x0040
lri $IX1,    #0xde35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56886 (0xde36)

lri $AR1,    #0x0040
lri $IX1,    #0xde36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56887 (0xde37)

lri $AR1,    #0x0040
lri $IX1,    #0xde37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56888 (0xde38)

lri $AR1,    #0x0040
lri $IX1,    #0xde38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56889 (0xde39)

lri $AR1,    #0x0040
lri $IX1,    #0xde39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56890 (0xde3a)

lri $AR1,    #0x0040
lri $IX1,    #0xde3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56891 (0xde3b)

lri $AR1,    #0x0040
lri $IX1,    #0xde3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56892 (0xde3c)

lri $AR1,    #0x0040
lri $IX1,    #0xde3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56893 (0xde3d)

lri $AR1,    #0x0040
lri $IX1,    #0xde3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56894 (0xde3e)

lri $AR1,    #0x0040
lri $IX1,    #0xde3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56895 (0xde3f)

lri $AR1,    #0x0040
lri $IX1,    #0xde3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56896 (0xde40)

lri $AR1,    #0x0040
lri $IX1,    #0xde40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56897 (0xde41)

lri $AR1,    #0x0040
lri $IX1,    #0xde41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56898 (0xde42)

lri $AR1,    #0x0040
lri $IX1,    #0xde42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56899 (0xde43)

lri $AR1,    #0x0040
lri $IX1,    #0xde43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56900 (0xde44)

lri $AR1,    #0x0040
lri $IX1,    #0xde44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56901 (0xde45)

lri $AR1,    #0x0040
lri $IX1,    #0xde45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56902 (0xde46)

lri $AR1,    #0x0040
lri $IX1,    #0xde46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56903 (0xde47)

lri $AR1,    #0x0040
lri $IX1,    #0xde47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56904 (0xde48)

lri $AR1,    #0x0040
lri $IX1,    #0xde48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56905 (0xde49)

lri $AR1,    #0x0040
lri $IX1,    #0xde49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56906 (0xde4a)

lri $AR1,    #0x0040
lri $IX1,    #0xde4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56907 (0xde4b)

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