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

lri $AR1,    #0x0040
lri $IX1,    #0x8c60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35937 (0x8c61)

lri $AR1,    #0x0040
lri $IX1,    #0x8c61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35938 (0x8c62)

lri $AR1,    #0x0040
lri $IX1,    #0x8c62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35939 (0x8c63)

lri $AR1,    #0x0040
lri $IX1,    #0x8c63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35940 (0x8c64)

lri $AR1,    #0x0040
lri $IX1,    #0x8c64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35941 (0x8c65)

lri $AR1,    #0x0040
lri $IX1,    #0x8c65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35942 (0x8c66)

lri $AR1,    #0x0040
lri $IX1,    #0x8c66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35943 (0x8c67)

lri $AR1,    #0x0040
lri $IX1,    #0x8c67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35944 (0x8c68)

lri $AR1,    #0x0040
lri $IX1,    #0x8c68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35945 (0x8c69)

lri $AR1,    #0x0040
lri $IX1,    #0x8c69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35946 (0x8c6a)

lri $AR1,    #0x0040
lri $IX1,    #0x8c6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35947 (0x8c6b)

lri $AR1,    #0x0040
lri $IX1,    #0x8c6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35948 (0x8c6c)

lri $AR1,    #0x0040
lri $IX1,    #0x8c6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35949 (0x8c6d)

lri $AR1,    #0x0040
lri $IX1,    #0x8c6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35950 (0x8c6e)

lri $AR1,    #0x0040
lri $IX1,    #0x8c6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35951 (0x8c6f)

lri $AR1,    #0x0040
lri $IX1,    #0x8c6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35952 (0x8c70)

lri $AR1,    #0x0040
lri $IX1,    #0x8c70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35953 (0x8c71)

lri $AR1,    #0x0040
lri $IX1,    #0x8c71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35954 (0x8c72)

lri $AR1,    #0x0040
lri $IX1,    #0x8c72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35955 (0x8c73)

lri $AR1,    #0x0040
lri $IX1,    #0x8c73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35956 (0x8c74)

lri $AR1,    #0x0040
lri $IX1,    #0x8c74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35957 (0x8c75)

lri $AR1,    #0x0040
lri $IX1,    #0x8c75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35958 (0x8c76)

lri $AR1,    #0x0040
lri $IX1,    #0x8c76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35959 (0x8c77)

lri $AR1,    #0x0040
lri $IX1,    #0x8c77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35960 (0x8c78)

lri $AR1,    #0x0040
lri $IX1,    #0x8c78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35961 (0x8c79)

lri $AR1,    #0x0040
lri $IX1,    #0x8c79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35962 (0x8c7a)

lri $AR1,    #0x0040
lri $IX1,    #0x8c7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35963 (0x8c7b)

lri $AR1,    #0x0040
lri $IX1,    #0x8c7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35964 (0x8c7c)

lri $AR1,    #0x0040
lri $IX1,    #0x8c7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35965 (0x8c7d)

lri $AR1,    #0x0040
lri $IX1,    #0x8c7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35966 (0x8c7e)

lri $AR1,    #0x0040
lri $IX1,    #0x8c7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35967 (0x8c7f)

lri $AR1,    #0x0040
lri $IX1,    #0x8c7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35968 (0x8c80)

lri $AR1,    #0x0040
lri $IX1,    #0x8c80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35969 (0x8c81)

lri $AR1,    #0x0040
lri $IX1,    #0x8c81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35970 (0x8c82)

lri $AR1,    #0x0040
lri $IX1,    #0x8c82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35971 (0x8c83)

lri $AR1,    #0x0040
lri $IX1,    #0x8c83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35972 (0x8c84)

lri $AR1,    #0x0040
lri $IX1,    #0x8c84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35973 (0x8c85)

lri $AR1,    #0x0040
lri $IX1,    #0x8c85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35974 (0x8c86)

lri $AR1,    #0x0040
lri $IX1,    #0x8c86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35975 (0x8c87)

lri $AR1,    #0x0040
lri $IX1,    #0x8c87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35976 (0x8c88)

lri $AR1,    #0x0040
lri $IX1,    #0x8c88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35977 (0x8c89)

lri $AR1,    #0x0040
lri $IX1,    #0x8c89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35978 (0x8c8a)

lri $AR1,    #0x0040
lri $IX1,    #0x8c8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35979 (0x8c8b)

lri $AR1,    #0x0040
lri $IX1,    #0x8c8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35980 (0x8c8c)

lri $AR1,    #0x0040
lri $IX1,    #0x8c8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35981 (0x8c8d)

lri $AR1,    #0x0040
lri $IX1,    #0x8c8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35982 (0x8c8e)

lri $AR1,    #0x0040
lri $IX1,    #0x8c8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35983 (0x8c8f)

lri $AR1,    #0x0040
lri $IX1,    #0x8c8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35984 (0x8c90)

lri $AR1,    #0x0040
lri $IX1,    #0x8c90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35985 (0x8c91)

lri $AR1,    #0x0040
lri $IX1,    #0x8c91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35986 (0x8c92)

lri $AR1,    #0x0040
lri $IX1,    #0x8c92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35987 (0x8c93)

lri $AR1,    #0x0040
lri $IX1,    #0x8c93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35988 (0x8c94)

lri $AR1,    #0x0040
lri $IX1,    #0x8c94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35989 (0x8c95)

lri $AR1,    #0x0040
lri $IX1,    #0x8c95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35990 (0x8c96)

lri $AR1,    #0x0040
lri $IX1,    #0x8c96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35991 (0x8c97)

lri $AR1,    #0x0040
lri $IX1,    #0x8c97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35992 (0x8c98)

lri $AR1,    #0x0040
lri $IX1,    #0x8c98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35993 (0x8c99)

lri $AR1,    #0x0040
lri $IX1,    #0x8c99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35994 (0x8c9a)

lri $AR1,    #0x0040
lri $IX1,    #0x8c9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35995 (0x8c9b)

lri $AR1,    #0x0040
lri $IX1,    #0x8c9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35996 (0x8c9c)

lri $AR1,    #0x0040
lri $IX1,    #0x8c9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35997 (0x8c9d)

lri $AR1,    #0x0040
lri $IX1,    #0x8c9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35998 (0x8c9e)

lri $AR1,    #0x0040
lri $IX1,    #0x8c9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35999 (0x8c9f)

lri $AR1,    #0x0040
lri $IX1,    #0x8c9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36000 (0x8ca0)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36001 (0x8ca1)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36002 (0x8ca2)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36003 (0x8ca3)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36004 (0x8ca4)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36005 (0x8ca5)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36006 (0x8ca6)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36007 (0x8ca7)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36008 (0x8ca8)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36009 (0x8ca9)

lri $AR1,    #0x0040
lri $IX1,    #0x8ca9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36010 (0x8caa)

lri $AR1,    #0x0040
lri $IX1,    #0x8caa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36011 (0x8cab)

lri $AR1,    #0x0040
lri $IX1,    #0x8cab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36012 (0x8cac)

lri $AR1,    #0x0040
lri $IX1,    #0x8cac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36013 (0x8cad)

lri $AR1,    #0x0040
lri $IX1,    #0x8cad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36014 (0x8cae)

lri $AR1,    #0x0040
lri $IX1,    #0x8cae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36015 (0x8caf)

lri $AR1,    #0x0040
lri $IX1,    #0x8caf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36016 (0x8cb0)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36017 (0x8cb1)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36018 (0x8cb2)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36019 (0x8cb3)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36020 (0x8cb4)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36021 (0x8cb5)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36022 (0x8cb6)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36023 (0x8cb7)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36024 (0x8cb8)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36025 (0x8cb9)

lri $AR1,    #0x0040
lri $IX1,    #0x8cb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36026 (0x8cba)

lri $AR1,    #0x0040
lri $IX1,    #0x8cba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36027 (0x8cbb)

lri $AR1,    #0x0040
lri $IX1,    #0x8cbb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36028 (0x8cbc)

lri $AR1,    #0x0040
lri $IX1,    #0x8cbc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36029 (0x8cbd)

lri $AR1,    #0x0040
lri $IX1,    #0x8cbd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36030 (0x8cbe)

lri $AR1,    #0x0040
lri $IX1,    #0x8cbe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36031 (0x8cbf)

lri $AR1,    #0x0040
lri $IX1,    #0x8cbf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36032 (0x8cc0)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36033 (0x8cc1)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36034 (0x8cc2)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36035 (0x8cc3)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36036 (0x8cc4)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36037 (0x8cc5)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36038 (0x8cc6)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36039 (0x8cc7)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36040 (0x8cc8)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36041 (0x8cc9)

lri $AR1,    #0x0040
lri $IX1,    #0x8cc9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36042 (0x8cca)

lri $AR1,    #0x0040
lri $IX1,    #0x8cca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36043 (0x8ccb)

lri $AR1,    #0x0040
lri $IX1,    #0x8ccb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36044 (0x8ccc)

lri $AR1,    #0x0040
lri $IX1,    #0x8ccc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36045 (0x8ccd)

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