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

lri $AR1,    #0x0040
lri $IX1,    #0xe9d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59857 (0xe9d1)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59858 (0xe9d2)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59859 (0xe9d3)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59860 (0xe9d4)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59861 (0xe9d5)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59862 (0xe9d6)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59863 (0xe9d7)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59864 (0xe9d8)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59865 (0xe9d9)

lri $AR1,    #0x0040
lri $IX1,    #0xe9d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59866 (0xe9da)

lri $AR1,    #0x0040
lri $IX1,    #0xe9da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59867 (0xe9db)

lri $AR1,    #0x0040
lri $IX1,    #0xe9db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59868 (0xe9dc)

lri $AR1,    #0x0040
lri $IX1,    #0xe9dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59869 (0xe9dd)

lri $AR1,    #0x0040
lri $IX1,    #0xe9dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59870 (0xe9de)

lri $AR1,    #0x0040
lri $IX1,    #0xe9de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59871 (0xe9df)

lri $AR1,    #0x0040
lri $IX1,    #0xe9df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59872 (0xe9e0)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59873 (0xe9e1)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59874 (0xe9e2)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59875 (0xe9e3)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59876 (0xe9e4)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59877 (0xe9e5)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59878 (0xe9e6)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59879 (0xe9e7)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59880 (0xe9e8)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59881 (0xe9e9)

lri $AR1,    #0x0040
lri $IX1,    #0xe9e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59882 (0xe9ea)

lri $AR1,    #0x0040
lri $IX1,    #0xe9ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59883 (0xe9eb)

lri $AR1,    #0x0040
lri $IX1,    #0xe9eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59884 (0xe9ec)

lri $AR1,    #0x0040
lri $IX1,    #0xe9ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59885 (0xe9ed)

lri $AR1,    #0x0040
lri $IX1,    #0xe9ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59886 (0xe9ee)

lri $AR1,    #0x0040
lri $IX1,    #0xe9ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59887 (0xe9ef)

lri $AR1,    #0x0040
lri $IX1,    #0xe9ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59888 (0xe9f0)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59889 (0xe9f1)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59890 (0xe9f2)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59891 (0xe9f3)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59892 (0xe9f4)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59893 (0xe9f5)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59894 (0xe9f6)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59895 (0xe9f7)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59896 (0xe9f8)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59897 (0xe9f9)

lri $AR1,    #0x0040
lri $IX1,    #0xe9f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59898 (0xe9fa)

lri $AR1,    #0x0040
lri $IX1,    #0xe9fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59899 (0xe9fb)

lri $AR1,    #0x0040
lri $IX1,    #0xe9fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59900 (0xe9fc)

lri $AR1,    #0x0040
lri $IX1,    #0xe9fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59901 (0xe9fd)

lri $AR1,    #0x0040
lri $IX1,    #0xe9fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59902 (0xe9fe)

lri $AR1,    #0x0040
lri $IX1,    #0xe9fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59903 (0xe9ff)

lri $AR1,    #0x0040
lri $IX1,    #0xe9ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59904 (0xea00)

lri $AR1,    #0x0040
lri $IX1,    #0xea00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59905 (0xea01)

lri $AR1,    #0x0040
lri $IX1,    #0xea01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59906 (0xea02)

lri $AR1,    #0x0040
lri $IX1,    #0xea02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59907 (0xea03)

lri $AR1,    #0x0040
lri $IX1,    #0xea03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59908 (0xea04)

lri $AR1,    #0x0040
lri $IX1,    #0xea04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59909 (0xea05)

lri $AR1,    #0x0040
lri $IX1,    #0xea05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59910 (0xea06)

lri $AR1,    #0x0040
lri $IX1,    #0xea06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59911 (0xea07)

lri $AR1,    #0x0040
lri $IX1,    #0xea07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59912 (0xea08)

lri $AR1,    #0x0040
lri $IX1,    #0xea08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59913 (0xea09)

lri $AR1,    #0x0040
lri $IX1,    #0xea09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59914 (0xea0a)

lri $AR1,    #0x0040
lri $IX1,    #0xea0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59915 (0xea0b)

lri $AR1,    #0x0040
lri $IX1,    #0xea0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59916 (0xea0c)

lri $AR1,    #0x0040
lri $IX1,    #0xea0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59917 (0xea0d)

lri $AR1,    #0x0040
lri $IX1,    #0xea0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59918 (0xea0e)

lri $AR1,    #0x0040
lri $IX1,    #0xea0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59919 (0xea0f)

lri $AR1,    #0x0040
lri $IX1,    #0xea0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59920 (0xea10)

lri $AR1,    #0x0040
lri $IX1,    #0xea10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59921 (0xea11)

lri $AR1,    #0x0040
lri $IX1,    #0xea11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59922 (0xea12)

lri $AR1,    #0x0040
lri $IX1,    #0xea12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59923 (0xea13)

lri $AR1,    #0x0040
lri $IX1,    #0xea13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59924 (0xea14)

lri $AR1,    #0x0040
lri $IX1,    #0xea14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59925 (0xea15)

lri $AR1,    #0x0040
lri $IX1,    #0xea15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59926 (0xea16)

lri $AR1,    #0x0040
lri $IX1,    #0xea16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59927 (0xea17)

lri $AR1,    #0x0040
lri $IX1,    #0xea17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59928 (0xea18)

lri $AR1,    #0x0040
lri $IX1,    #0xea18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59929 (0xea19)

lri $AR1,    #0x0040
lri $IX1,    #0xea19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59930 (0xea1a)

lri $AR1,    #0x0040
lri $IX1,    #0xea1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59931 (0xea1b)

lri $AR1,    #0x0040
lri $IX1,    #0xea1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59932 (0xea1c)

lri $AR1,    #0x0040
lri $IX1,    #0xea1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59933 (0xea1d)

lri $AR1,    #0x0040
lri $IX1,    #0xea1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59934 (0xea1e)

lri $AR1,    #0x0040
lri $IX1,    #0xea1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59935 (0xea1f)

lri $AR1,    #0x0040
lri $IX1,    #0xea1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59936 (0xea20)

lri $AR1,    #0x0040
lri $IX1,    #0xea20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59937 (0xea21)

lri $AR1,    #0x0040
lri $IX1,    #0xea21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59938 (0xea22)

lri $AR1,    #0x0040
lri $IX1,    #0xea22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59939 (0xea23)

lri $AR1,    #0x0040
lri $IX1,    #0xea23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59940 (0xea24)

lri $AR1,    #0x0040
lri $IX1,    #0xea24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59941 (0xea25)

lri $AR1,    #0x0040
lri $IX1,    #0xea25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59942 (0xea26)

lri $AR1,    #0x0040
lri $IX1,    #0xea26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59943 (0xea27)

lri $AR1,    #0x0040
lri $IX1,    #0xea27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59944 (0xea28)

lri $AR1,    #0x0040
lri $IX1,    #0xea28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59945 (0xea29)

lri $AR1,    #0x0040
lri $IX1,    #0xea29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59946 (0xea2a)

lri $AR1,    #0x0040
lri $IX1,    #0xea2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59947 (0xea2b)

lri $AR1,    #0x0040
lri $IX1,    #0xea2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59948 (0xea2c)

lri $AR1,    #0x0040
lri $IX1,    #0xea2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59949 (0xea2d)

lri $AR1,    #0x0040
lri $IX1,    #0xea2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59950 (0xea2e)

lri $AR1,    #0x0040
lri $IX1,    #0xea2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59951 (0xea2f)

lri $AR1,    #0x0040
lri $IX1,    #0xea2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59952 (0xea30)

lri $AR1,    #0x0040
lri $IX1,    #0xea30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59953 (0xea31)

lri $AR1,    #0x0040
lri $IX1,    #0xea31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59954 (0xea32)

lri $AR1,    #0x0040
lri $IX1,    #0xea32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59955 (0xea33)

lri $AR1,    #0x0040
lri $IX1,    #0xea33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59956 (0xea34)

lri $AR1,    #0x0040
lri $IX1,    #0xea34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59957 (0xea35)

lri $AR1,    #0x0040
lri $IX1,    #0xea35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59958 (0xea36)

lri $AR1,    #0x0040
lri $IX1,    #0xea36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59959 (0xea37)

lri $AR1,    #0x0040
lri $IX1,    #0xea37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59960 (0xea38)

lri $AR1,    #0x0040
lri $IX1,    #0xea38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59961 (0xea39)

lri $AR1,    #0x0040
lri $IX1,    #0xea39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59962 (0xea3a)

lri $AR1,    #0x0040
lri $IX1,    #0xea3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59963 (0xea3b)

lri $AR1,    #0x0040
lri $IX1,    #0xea3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59964 (0xea3c)

lri $AR1,    #0x0040
lri $IX1,    #0xea3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 59965 (0xea3d)

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