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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde00
cw 0x9
call send_back  ; 56833 (0xde01)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde01
cw 0x9
call send_back  ; 56834 (0xde02)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde02
cw 0x9
call send_back  ; 56835 (0xde03)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde03
cw 0x9
call send_back  ; 56836 (0xde04)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde04
cw 0x9
call send_back  ; 56837 (0xde05)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde05
cw 0x9
call send_back  ; 56838 (0xde06)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde06
cw 0x9
call send_back  ; 56839 (0xde07)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde07
cw 0x9
call send_back  ; 56840 (0xde08)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde08
cw 0x9
call send_back  ; 56841 (0xde09)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde09
cw 0x9
call send_back  ; 56842 (0xde0a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde0a
cw 0x9
call send_back  ; 56843 (0xde0b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde0b
cw 0x9
call send_back  ; 56844 (0xde0c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde0c
cw 0x9
call send_back  ; 56845 (0xde0d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde0d
cw 0x9
call send_back  ; 56846 (0xde0e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde0e
cw 0x9
call send_back  ; 56847 (0xde0f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde0f
cw 0x9
call send_back  ; 56848 (0xde10)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde10
cw 0x9
call send_back  ; 56849 (0xde11)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde11
cw 0x9
call send_back  ; 56850 (0xde12)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde12
cw 0x9
call send_back  ; 56851 (0xde13)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde13
cw 0x9
call send_back  ; 56852 (0xde14)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde14
cw 0x9
call send_back  ; 56853 (0xde15)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde15
cw 0x9
call send_back  ; 56854 (0xde16)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde16
cw 0x9
call send_back  ; 56855 (0xde17)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde17
cw 0x9
call send_back  ; 56856 (0xde18)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde18
cw 0x9
call send_back  ; 56857 (0xde19)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde19
cw 0x9
call send_back  ; 56858 (0xde1a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde1a
cw 0x9
call send_back  ; 56859 (0xde1b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde1b
cw 0x9
call send_back  ; 56860 (0xde1c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde1c
cw 0x9
call send_back  ; 56861 (0xde1d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde1d
cw 0x9
call send_back  ; 56862 (0xde1e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde1e
cw 0x9
call send_back  ; 56863 (0xde1f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde1f
cw 0x9
call send_back  ; 56864 (0xde20)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde20
cw 0x9
call send_back  ; 56865 (0xde21)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde21
cw 0x9
call send_back  ; 56866 (0xde22)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde22
cw 0x9
call send_back  ; 56867 (0xde23)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde23
cw 0x9
call send_back  ; 56868 (0xde24)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde24
cw 0x9
call send_back  ; 56869 (0xde25)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde25
cw 0x9
call send_back  ; 56870 (0xde26)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde26
cw 0x9
call send_back  ; 56871 (0xde27)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde27
cw 0x9
call send_back  ; 56872 (0xde28)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde28
cw 0x9
call send_back  ; 56873 (0xde29)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde29
cw 0x9
call send_back  ; 56874 (0xde2a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde2a
cw 0x9
call send_back  ; 56875 (0xde2b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde2b
cw 0x9
call send_back  ; 56876 (0xde2c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde2c
cw 0x9
call send_back  ; 56877 (0xde2d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde2d
cw 0x9
call send_back  ; 56878 (0xde2e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde2e
cw 0x9
call send_back  ; 56879 (0xde2f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde2f
cw 0x9
call send_back  ; 56880 (0xde30)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde30
cw 0x9
call send_back  ; 56881 (0xde31)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde31
cw 0x9
call send_back  ; 56882 (0xde32)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde32
cw 0x9
call send_back  ; 56883 (0xde33)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde33
cw 0x9
call send_back  ; 56884 (0xde34)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde34
cw 0x9
call send_back  ; 56885 (0xde35)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde35
cw 0x9
call send_back  ; 56886 (0xde36)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde36
cw 0x9
call send_back  ; 56887 (0xde37)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde37
cw 0x9
call send_back  ; 56888 (0xde38)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde38
cw 0x9
call send_back  ; 56889 (0xde39)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde39
cw 0x9
call send_back  ; 56890 (0xde3a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde3a
cw 0x9
call send_back  ; 56891 (0xde3b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde3b
cw 0x9
call send_back  ; 56892 (0xde3c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde3c
cw 0x9
call send_back  ; 56893 (0xde3d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde3d
cw 0x9
call send_back  ; 56894 (0xde3e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde3e
cw 0x9
call send_back  ; 56895 (0xde3f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde3f
cw 0x9
call send_back  ; 56896 (0xde40)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde40
cw 0x9
call send_back  ; 56897 (0xde41)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde41
cw 0x9
call send_back  ; 56898 (0xde42)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde42
cw 0x9
call send_back  ; 56899 (0xde43)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde43
cw 0x9
call send_back  ; 56900 (0xde44)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde44
cw 0x9
call send_back  ; 56901 (0xde45)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde45
cw 0x9
call send_back  ; 56902 (0xde46)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde46
cw 0x9
call send_back  ; 56903 (0xde47)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde47
cw 0x9
call send_back  ; 56904 (0xde48)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde48
cw 0x9
call send_back  ; 56905 (0xde49)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde49
cw 0x9
call send_back  ; 56906 (0xde4a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde4a
cw 0x9
call send_back  ; 56907 (0xde4b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde4b
cw 0x9
call send_back  ; 56908 (0xde4c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde4c
cw 0x9
call send_back  ; 56909 (0xde4d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde4d
cw 0x9
call send_back  ; 56910 (0xde4e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde4e
cw 0x9
call send_back  ; 56911 (0xde4f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde4f
cw 0x9
call send_back  ; 56912 (0xde50)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde50
cw 0x9
call send_back  ; 56913 (0xde51)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde51
cw 0x9
call send_back  ; 56914 (0xde52)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde52
cw 0x9
call send_back  ; 56915 (0xde53)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde53
cw 0x9
call send_back  ; 56916 (0xde54)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde54
cw 0x9
call send_back  ; 56917 (0xde55)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde55
cw 0x9
call send_back  ; 56918 (0xde56)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde56
cw 0x9
call send_back  ; 56919 (0xde57)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde57
cw 0x9
call send_back  ; 56920 (0xde58)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde58
cw 0x9
call send_back  ; 56921 (0xde59)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde59
cw 0x9
call send_back  ; 56922 (0xde5a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde5a
cw 0x9
call send_back  ; 56923 (0xde5b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde5b
cw 0x9
call send_back  ; 56924 (0xde5c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde5c
cw 0x9
call send_back  ; 56925 (0xde5d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde5d
cw 0x9
call send_back  ; 56926 (0xde5e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde5e
cw 0x9
call send_back  ; 56927 (0xde5f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde5f
cw 0x9
call send_back  ; 56928 (0xde60)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde60
cw 0x9
call send_back  ; 56929 (0xde61)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde61
cw 0x9
call send_back  ; 56930 (0xde62)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde62
cw 0x9
call send_back  ; 56931 (0xde63)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde63
cw 0x9
call send_back  ; 56932 (0xde64)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde64
cw 0x9
call send_back  ; 56933 (0xde65)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde65
cw 0x9
call send_back  ; 56934 (0xde66)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde66
cw 0x9
call send_back  ; 56935 (0xde67)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde67
cw 0x9
call send_back  ; 56936 (0xde68)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde68
cw 0x9
call send_back  ; 56937 (0xde69)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde69
cw 0x9
call send_back  ; 56938 (0xde6a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde6a
cw 0x9
call send_back  ; 56939 (0xde6b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde6b
cw 0x9
call send_back  ; 56940 (0xde6c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde6c
cw 0x9
call send_back  ; 56941 (0xde6d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde6d
cw 0x9
call send_back  ; 56942 (0xde6e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde6e
cw 0x9
call send_back  ; 56943 (0xde6f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde6f
cw 0x9
call send_back  ; 56944 (0xde70)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde70
cw 0x9
call send_back  ; 56945 (0xde71)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde71
cw 0x9
call send_back  ; 56946 (0xde72)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde72
cw 0x9
call send_back  ; 56947 (0xde73)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde73
cw 0x9
call send_back  ; 56948 (0xde74)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde74
cw 0x9
call send_back  ; 56949 (0xde75)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde75
cw 0x9
call send_back  ; 56950 (0xde76)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde76
cw 0x9
call send_back  ; 56951 (0xde77)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde77
cw 0x9
call send_back  ; 56952 (0xde78)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde78
cw 0x9
call send_back  ; 56953 (0xde79)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde79
cw 0x9
call send_back  ; 56954 (0xde7a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde7a
cw 0x9
call send_back  ; 56955 (0xde7b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde7b
cw 0x9
call send_back  ; 56956 (0xde7c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde7c
cw 0x9
call send_back  ; 56957 (0xde7d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde7d
cw 0x9
call send_back  ; 56958 (0xde7e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde7e
cw 0x9
call send_back  ; 56959 (0xde7f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xde7f
cw 0x9
call send_back  ; 56960 (0xde80)

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

