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

lri $AR1,    #0x0040
lri $IX1,    #0xee81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61058 (0xee82)

lri $AR1,    #0x0040
lri $IX1,    #0xee82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61059 (0xee83)

lri $AR1,    #0x0040
lri $IX1,    #0xee83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61060 (0xee84)

lri $AR1,    #0x0040
lri $IX1,    #0xee84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61061 (0xee85)

lri $AR1,    #0x0040
lri $IX1,    #0xee85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61062 (0xee86)

lri $AR1,    #0x0040
lri $IX1,    #0xee86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61063 (0xee87)

lri $AR1,    #0x0040
lri $IX1,    #0xee87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61064 (0xee88)

lri $AR1,    #0x0040
lri $IX1,    #0xee88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61065 (0xee89)

lri $AR1,    #0x0040
lri $IX1,    #0xee89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61066 (0xee8a)

lri $AR1,    #0x0040
lri $IX1,    #0xee8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61067 (0xee8b)

lri $AR1,    #0x0040
lri $IX1,    #0xee8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61068 (0xee8c)

lri $AR1,    #0x0040
lri $IX1,    #0xee8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61069 (0xee8d)

lri $AR1,    #0x0040
lri $IX1,    #0xee8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61070 (0xee8e)

lri $AR1,    #0x0040
lri $IX1,    #0xee8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61071 (0xee8f)

lri $AR1,    #0x0040
lri $IX1,    #0xee8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61072 (0xee90)

lri $AR1,    #0x0040
lri $IX1,    #0xee90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61073 (0xee91)

lri $AR1,    #0x0040
lri $IX1,    #0xee91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61074 (0xee92)

lri $AR1,    #0x0040
lri $IX1,    #0xee92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61075 (0xee93)

lri $AR1,    #0x0040
lri $IX1,    #0xee93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61076 (0xee94)

lri $AR1,    #0x0040
lri $IX1,    #0xee94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61077 (0xee95)

lri $AR1,    #0x0040
lri $IX1,    #0xee95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61078 (0xee96)

lri $AR1,    #0x0040
lri $IX1,    #0xee96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61079 (0xee97)

lri $AR1,    #0x0040
lri $IX1,    #0xee97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61080 (0xee98)

lri $AR1,    #0x0040
lri $IX1,    #0xee98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61081 (0xee99)

lri $AR1,    #0x0040
lri $IX1,    #0xee99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61082 (0xee9a)

lri $AR1,    #0x0040
lri $IX1,    #0xee9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61083 (0xee9b)

lri $AR1,    #0x0040
lri $IX1,    #0xee9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61084 (0xee9c)

lri $AR1,    #0x0040
lri $IX1,    #0xee9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61085 (0xee9d)

lri $AR1,    #0x0040
lri $IX1,    #0xee9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61086 (0xee9e)

lri $AR1,    #0x0040
lri $IX1,    #0xee9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61087 (0xee9f)

lri $AR1,    #0x0040
lri $IX1,    #0xee9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61088 (0xeea0)

lri $AR1,    #0x0040
lri $IX1,    #0xeea0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61089 (0xeea1)

lri $AR1,    #0x0040
lri $IX1,    #0xeea1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61090 (0xeea2)

lri $AR1,    #0x0040
lri $IX1,    #0xeea2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61091 (0xeea3)

lri $AR1,    #0x0040
lri $IX1,    #0xeea3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61092 (0xeea4)

lri $AR1,    #0x0040
lri $IX1,    #0xeea4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61093 (0xeea5)

lri $AR1,    #0x0040
lri $IX1,    #0xeea5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61094 (0xeea6)

lri $AR1,    #0x0040
lri $IX1,    #0xeea6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61095 (0xeea7)

lri $AR1,    #0x0040
lri $IX1,    #0xeea7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61096 (0xeea8)

lri $AR1,    #0x0040
lri $IX1,    #0xeea8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61097 (0xeea9)

lri $AR1,    #0x0040
lri $IX1,    #0xeea9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61098 (0xeeaa)

lri $AR1,    #0x0040
lri $IX1,    #0xeeaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61099 (0xeeab)

lri $AR1,    #0x0040
lri $IX1,    #0xeeab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61100 (0xeeac)

lri $AR1,    #0x0040
lri $IX1,    #0xeeac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61101 (0xeead)

lri $AR1,    #0x0040
lri $IX1,    #0xeead
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61102 (0xeeae)

lri $AR1,    #0x0040
lri $IX1,    #0xeeae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61103 (0xeeaf)

lri $AR1,    #0x0040
lri $IX1,    #0xeeaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61104 (0xeeb0)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61105 (0xeeb1)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61106 (0xeeb2)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61107 (0xeeb3)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61108 (0xeeb4)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61109 (0xeeb5)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61110 (0xeeb6)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61111 (0xeeb7)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61112 (0xeeb8)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61113 (0xeeb9)

lri $AR1,    #0x0040
lri $IX1,    #0xeeb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61114 (0xeeba)

lri $AR1,    #0x0040
lri $IX1,    #0xeeba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61115 (0xeebb)

lri $AR1,    #0x0040
lri $IX1,    #0xeebb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61116 (0xeebc)

lri $AR1,    #0x0040
lri $IX1,    #0xeebc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61117 (0xeebd)

lri $AR1,    #0x0040
lri $IX1,    #0xeebd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61118 (0xeebe)

lri $AR1,    #0x0040
lri $IX1,    #0xeebe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61119 (0xeebf)

lri $AR1,    #0x0040
lri $IX1,    #0xeebf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61120 (0xeec0)

lri $AR1,    #0x0040
lri $IX1,    #0xeec0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61121 (0xeec1)

lri $AR1,    #0x0040
lri $IX1,    #0xeec1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61122 (0xeec2)

lri $AR1,    #0x0040
lri $IX1,    #0xeec2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61123 (0xeec3)

lri $AR1,    #0x0040
lri $IX1,    #0xeec3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61124 (0xeec4)

lri $AR1,    #0x0040
lri $IX1,    #0xeec4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61125 (0xeec5)

lri $AR1,    #0x0040
lri $IX1,    #0xeec5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61126 (0xeec6)

lri $AR1,    #0x0040
lri $IX1,    #0xeec6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61127 (0xeec7)

lri $AR1,    #0x0040
lri $IX1,    #0xeec7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61128 (0xeec8)

lri $AR1,    #0x0040
lri $IX1,    #0xeec8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61129 (0xeec9)

lri $AR1,    #0x0040
lri $IX1,    #0xeec9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61130 (0xeeca)

lri $AR1,    #0x0040
lri $IX1,    #0xeeca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61131 (0xeecb)

lri $AR1,    #0x0040
lri $IX1,    #0xeecb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61132 (0xeecc)

lri $AR1,    #0x0040
lri $IX1,    #0xeecc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61133 (0xeecd)

lri $AR1,    #0x0040
lri $IX1,    #0xeecd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61134 (0xeece)

lri $AR1,    #0x0040
lri $IX1,    #0xeece
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61135 (0xeecf)

lri $AR1,    #0x0040
lri $IX1,    #0xeecf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61136 (0xeed0)

lri $AR1,    #0x0040
lri $IX1,    #0xeed0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61137 (0xeed1)

lri $AR1,    #0x0040
lri $IX1,    #0xeed1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61138 (0xeed2)

lri $AR1,    #0x0040
lri $IX1,    #0xeed2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61139 (0xeed3)

lri $AR1,    #0x0040
lri $IX1,    #0xeed3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61140 (0xeed4)

lri $AR1,    #0x0040
lri $IX1,    #0xeed4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61141 (0xeed5)

lri $AR1,    #0x0040
lri $IX1,    #0xeed5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61142 (0xeed6)

lri $AR1,    #0x0040
lri $IX1,    #0xeed6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61143 (0xeed7)

lri $AR1,    #0x0040
lri $IX1,    #0xeed7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61144 (0xeed8)

lri $AR1,    #0x0040
lri $IX1,    #0xeed8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61145 (0xeed9)

lri $AR1,    #0x0040
lri $IX1,    #0xeed9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61146 (0xeeda)

lri $AR1,    #0x0040
lri $IX1,    #0xeeda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61147 (0xeedb)

lri $AR1,    #0x0040
lri $IX1,    #0xeedb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61148 (0xeedc)

lri $AR1,    #0x0040
lri $IX1,    #0xeedc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61149 (0xeedd)

lri $AR1,    #0x0040
lri $IX1,    #0xeedd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61150 (0xeede)

lri $AR1,    #0x0040
lri $IX1,    #0xeede
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61151 (0xeedf)

lri $AR1,    #0x0040
lri $IX1,    #0xeedf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61152 (0xeee0)

lri $AR1,    #0x0040
lri $IX1,    #0xeee0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61153 (0xeee1)

lri $AR1,    #0x0040
lri $IX1,    #0xeee1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61154 (0xeee2)

lri $AR1,    #0x0040
lri $IX1,    #0xeee2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61155 (0xeee3)

lri $AR1,    #0x0040
lri $IX1,    #0xeee3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61156 (0xeee4)

lri $AR1,    #0x0040
lri $IX1,    #0xeee4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61157 (0xeee5)

lri $AR1,    #0x0040
lri $IX1,    #0xeee5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61158 (0xeee6)

lri $AR1,    #0x0040
lri $IX1,    #0xeee6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61159 (0xeee7)

lri $AR1,    #0x0040
lri $IX1,    #0xeee7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61160 (0xeee8)

lri $AR1,    #0x0040
lri $IX1,    #0xeee8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61161 (0xeee9)

lri $AR1,    #0x0040
lri $IX1,    #0xeee9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61162 (0xeeea)

lri $AR1,    #0x0040
lri $IX1,    #0xeeea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61163 (0xeeeb)

lri $AR1,    #0x0040
lri $IX1,    #0xeeeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61164 (0xeeec)

lri $AR1,    #0x0040
lri $IX1,    #0xeeec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61165 (0xeeed)

lri $AR1,    #0x0040
lri $IX1,    #0xeeed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61166 (0xeeee)

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