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

lri $AR1,    #0x3f00
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16129 (0x3f01)

lri $AR1,    #0x3f01
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16130 (0x3f02)

lri $AR1,    #0x3f02
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16131 (0x3f03)

lri $AR1,    #0x3f03
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16132 (0x3f04)

lri $AR1,    #0x3f04
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16133 (0x3f05)

lri $AR1,    #0x3f05
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16134 (0x3f06)

lri $AR1,    #0x3f06
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16135 (0x3f07)

lri $AR1,    #0x3f07
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16136 (0x3f08)

lri $AR1,    #0x3f08
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16137 (0x3f09)

lri $AR1,    #0x3f09
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16138 (0x3f0a)

lri $AR1,    #0x3f0a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16139 (0x3f0b)

lri $AR1,    #0x3f0b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16140 (0x3f0c)

lri $AR1,    #0x3f0c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16141 (0x3f0d)

lri $AR1,    #0x3f0d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16142 (0x3f0e)

lri $AR1,    #0x3f0e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16143 (0x3f0f)

lri $AR1,    #0x3f0f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16144 (0x3f10)

lri $AR1,    #0x3f10
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16145 (0x3f11)

lri $AR1,    #0x3f11
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16146 (0x3f12)

lri $AR1,    #0x3f12
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16147 (0x3f13)

lri $AR1,    #0x3f13
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16148 (0x3f14)

lri $AR1,    #0x3f14
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16149 (0x3f15)

lri $AR1,    #0x3f15
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16150 (0x3f16)

lri $AR1,    #0x3f16
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16151 (0x3f17)

lri $AR1,    #0x3f17
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16152 (0x3f18)

lri $AR1,    #0x3f18
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16153 (0x3f19)

lri $AR1,    #0x3f19
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16154 (0x3f1a)

lri $AR1,    #0x3f1a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16155 (0x3f1b)

lri $AR1,    #0x3f1b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16156 (0x3f1c)

lri $AR1,    #0x3f1c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16157 (0x3f1d)

lri $AR1,    #0x3f1d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16158 (0x3f1e)

lri $AR1,    #0x3f1e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16159 (0x3f1f)

lri $AR1,    #0x3f1f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16160 (0x3f20)

lri $AR1,    #0x3f20
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16161 (0x3f21)

lri $AR1,    #0x3f21
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16162 (0x3f22)

lri $AR1,    #0x3f22
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16163 (0x3f23)

lri $AR1,    #0x3f23
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16164 (0x3f24)

lri $AR1,    #0x3f24
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16165 (0x3f25)

lri $AR1,    #0x3f25
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16166 (0x3f26)

lri $AR1,    #0x3f26
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16167 (0x3f27)

lri $AR1,    #0x3f27
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16168 (0x3f28)

lri $AR1,    #0x3f28
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16169 (0x3f29)

lri $AR1,    #0x3f29
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16170 (0x3f2a)

lri $AR1,    #0x3f2a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16171 (0x3f2b)

lri $AR1,    #0x3f2b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16172 (0x3f2c)

lri $AR1,    #0x3f2c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16173 (0x3f2d)

lri $AR1,    #0x3f2d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16174 (0x3f2e)

lri $AR1,    #0x3f2e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16175 (0x3f2f)

lri $AR1,    #0x3f2f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16176 (0x3f30)

lri $AR1,    #0x3f30
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16177 (0x3f31)

lri $AR1,    #0x3f31
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16178 (0x3f32)

lri $AR1,    #0x3f32
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16179 (0x3f33)

lri $AR1,    #0x3f33
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16180 (0x3f34)

lri $AR1,    #0x3f34
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16181 (0x3f35)

lri $AR1,    #0x3f35
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16182 (0x3f36)

lri $AR1,    #0x3f36
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16183 (0x3f37)

lri $AR1,    #0x3f37
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16184 (0x3f38)

lri $AR1,    #0x3f38
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16185 (0x3f39)

lri $AR1,    #0x3f39
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16186 (0x3f3a)

lri $AR1,    #0x3f3a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16187 (0x3f3b)

lri $AR1,    #0x3f3b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16188 (0x3f3c)

lri $AR1,    #0x3f3c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16189 (0x3f3d)

lri $AR1,    #0x3f3d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16190 (0x3f3e)

lri $AR1,    #0x3f3e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16191 (0x3f3f)

lri $AR1,    #0x3f3f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16192 (0x3f40)

lri $AR1,    #0x3f40
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16193 (0x3f41)

lri $AR1,    #0x3f41
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16194 (0x3f42)

lri $AR1,    #0x3f42
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16195 (0x3f43)

lri $AR1,    #0x3f43
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16196 (0x3f44)

lri $AR1,    #0x3f44
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16197 (0x3f45)

lri $AR1,    #0x3f45
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16198 (0x3f46)

lri $AR1,    #0x3f46
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16199 (0x3f47)

lri $AR1,    #0x3f47
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16200 (0x3f48)

lri $AR1,    #0x3f48
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16201 (0x3f49)

lri $AR1,    #0x3f49
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16202 (0x3f4a)

lri $AR1,    #0x3f4a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16203 (0x3f4b)

lri $AR1,    #0x3f4b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16204 (0x3f4c)

lri $AR1,    #0x3f4c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16205 (0x3f4d)

lri $AR1,    #0x3f4d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16206 (0x3f4e)

lri $AR1,    #0x3f4e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16207 (0x3f4f)

lri $AR1,    #0x3f4f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16208 (0x3f50)

lri $AR1,    #0x3f50
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16209 (0x3f51)

lri $AR1,    #0x3f51
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16210 (0x3f52)

lri $AR1,    #0x3f52
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16211 (0x3f53)

lri $AR1,    #0x3f53
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16212 (0x3f54)

lri $AR1,    #0x3f54
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16213 (0x3f55)

lri $AR1,    #0x3f55
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16214 (0x3f56)

lri $AR1,    #0x3f56
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16215 (0x3f57)

lri $AR1,    #0x3f57
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16216 (0x3f58)

lri $AR1,    #0x3f58
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16217 (0x3f59)

lri $AR1,    #0x3f59
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16218 (0x3f5a)

lri $AR1,    #0x3f5a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16219 (0x3f5b)

lri $AR1,    #0x3f5b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16220 (0x3f5c)

lri $AR1,    #0x3f5c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16221 (0x3f5d)

lri $AR1,    #0x3f5d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16222 (0x3f5e)

lri $AR1,    #0x3f5e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16223 (0x3f5f)

lri $AR1,    #0x3f5f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16224 (0x3f60)

lri $AR1,    #0x3f60
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16225 (0x3f61)

lri $AR1,    #0x3f61
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16226 (0x3f62)

lri $AR1,    #0x3f62
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16227 (0x3f63)

lri $AR1,    #0x3f63
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16228 (0x3f64)

lri $AR1,    #0x3f64
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16229 (0x3f65)

lri $AR1,    #0x3f65
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16230 (0x3f66)

lri $AR1,    #0x3f66
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16231 (0x3f67)

lri $AR1,    #0x3f67
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16232 (0x3f68)

lri $AR1,    #0x3f68
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16233 (0x3f69)

lri $AR1,    #0x3f69
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16234 (0x3f6a)

lri $AR1,    #0x3f6a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16235 (0x3f6b)

lri $AR1,    #0x3f6b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16236 (0x3f6c)

lri $AR1,    #0x3f6c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16237 (0x3f6d)

lri $AR1,    #0x3f6d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16238 (0x3f6e)

lri $AR1,    #0x3f6e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16239 (0x3f6f)

lri $AR1,    #0x3f6f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16240 (0x3f70)

lri $AR1,    #0x3f70
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16241 (0x3f71)

lri $AR1,    #0x3f71
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16242 (0x3f72)

lri $AR1,    #0x3f72
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16243 (0x3f73)

lri $AR1,    #0x3f73
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16244 (0x3f74)

lri $AR1,    #0x3f74
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16245 (0x3f75)

lri $AR1,    #0x3f75
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16246 (0x3f76)

lri $AR1,    #0x3f76
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16247 (0x3f77)

lri $AR1,    #0x3f77
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16248 (0x3f78)

lri $AR1,    #0x3f78
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16249 (0x3f79)

lri $AR1,    #0x3f79
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16250 (0x3f7a)

lri $AR1,    #0x3f7a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16251 (0x3f7b)

lri $AR1,    #0x3f7b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16252 (0x3f7c)

lri $AR1,    #0x3f7c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16253 (0x3f7d)

lri $AR1,    #0x3f7d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16254 (0x3f7e)

lri $AR1,    #0x3f7e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16255 (0x3f7f)

lri $AR1,    #0x3f7f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16256 (0x3f80)

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

