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

lri $AR1,    #0x0040
lri $IX1,    #0xfeb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65209 (0xfeb9)

lri $AR1,    #0x0040
lri $IX1,    #0xfeb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65210 (0xfeba)

lri $AR1,    #0x0040
lri $IX1,    #0xfeba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65211 (0xfebb)

lri $AR1,    #0x0040
lri $IX1,    #0xfebb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65212 (0xfebc)

lri $AR1,    #0x0040
lri $IX1,    #0xfebc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65213 (0xfebd)

lri $AR1,    #0x0040
lri $IX1,    #0xfebd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65214 (0xfebe)

lri $AR1,    #0x0040
lri $IX1,    #0xfebe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65215 (0xfebf)

lri $AR1,    #0x0040
lri $IX1,    #0xfebf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65216 (0xfec0)

lri $AR1,    #0x0040
lri $IX1,    #0xfec0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65217 (0xfec1)

lri $AR1,    #0x0040
lri $IX1,    #0xfec1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65218 (0xfec2)

lri $AR1,    #0x0040
lri $IX1,    #0xfec2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65219 (0xfec3)

lri $AR1,    #0x0040
lri $IX1,    #0xfec3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65220 (0xfec4)

lri $AR1,    #0x0040
lri $IX1,    #0xfec4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65221 (0xfec5)

lri $AR1,    #0x0040
lri $IX1,    #0xfec5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65222 (0xfec6)

lri $AR1,    #0x0040
lri $IX1,    #0xfec6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65223 (0xfec7)

lri $AR1,    #0x0040
lri $IX1,    #0xfec7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65224 (0xfec8)

lri $AR1,    #0x0040
lri $IX1,    #0xfec8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65225 (0xfec9)

lri $AR1,    #0x0040
lri $IX1,    #0xfec9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65226 (0xfeca)

lri $AR1,    #0x0040
lri $IX1,    #0xfeca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65227 (0xfecb)

lri $AR1,    #0x0040
lri $IX1,    #0xfecb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65228 (0xfecc)

lri $AR1,    #0x0040
lri $IX1,    #0xfecc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65229 (0xfecd)

lri $AR1,    #0x0040
lri $IX1,    #0xfecd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65230 (0xfece)

lri $AR1,    #0x0040
lri $IX1,    #0xfece
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65231 (0xfecf)

lri $AR1,    #0x0040
lri $IX1,    #0xfecf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65232 (0xfed0)

lri $AR1,    #0x0040
lri $IX1,    #0xfed0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65233 (0xfed1)

lri $AR1,    #0x0040
lri $IX1,    #0xfed1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65234 (0xfed2)

lri $AR1,    #0x0040
lri $IX1,    #0xfed2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65235 (0xfed3)

lri $AR1,    #0x0040
lri $IX1,    #0xfed3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65236 (0xfed4)

lri $AR1,    #0x0040
lri $IX1,    #0xfed4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65237 (0xfed5)

lri $AR1,    #0x0040
lri $IX1,    #0xfed5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65238 (0xfed6)

lri $AR1,    #0x0040
lri $IX1,    #0xfed6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65239 (0xfed7)

lri $AR1,    #0x0040
lri $IX1,    #0xfed7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65240 (0xfed8)

lri $AR1,    #0x0040
lri $IX1,    #0xfed8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65241 (0xfed9)

lri $AR1,    #0x0040
lri $IX1,    #0xfed9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65242 (0xfeda)

lri $AR1,    #0x0040
lri $IX1,    #0xfeda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65243 (0xfedb)

lri $AR1,    #0x0040
lri $IX1,    #0xfedb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65244 (0xfedc)

lri $AR1,    #0x0040
lri $IX1,    #0xfedc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65245 (0xfedd)

lri $AR1,    #0x0040
lri $IX1,    #0xfedd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65246 (0xfede)

lri $AR1,    #0x0040
lri $IX1,    #0xfede
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65247 (0xfedf)

lri $AR1,    #0x0040
lri $IX1,    #0xfedf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65248 (0xfee0)

lri $AR1,    #0x0040
lri $IX1,    #0xfee0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65249 (0xfee1)

lri $AR1,    #0x0040
lri $IX1,    #0xfee1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65250 (0xfee2)

lri $AR1,    #0x0040
lri $IX1,    #0xfee2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65251 (0xfee3)

lri $AR1,    #0x0040
lri $IX1,    #0xfee3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65252 (0xfee4)

lri $AR1,    #0x0040
lri $IX1,    #0xfee4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65253 (0xfee5)

lri $AR1,    #0x0040
lri $IX1,    #0xfee5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65254 (0xfee6)

lri $AR1,    #0x0040
lri $IX1,    #0xfee6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65255 (0xfee7)

lri $AR1,    #0x0040
lri $IX1,    #0xfee7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65256 (0xfee8)

lri $AR1,    #0x0040
lri $IX1,    #0xfee8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65257 (0xfee9)

lri $AR1,    #0x0040
lri $IX1,    #0xfee9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65258 (0xfeea)

lri $AR1,    #0x0040
lri $IX1,    #0xfeea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65259 (0xfeeb)

lri $AR1,    #0x0040
lri $IX1,    #0xfeeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65260 (0xfeec)

lri $AR1,    #0x0040
lri $IX1,    #0xfeec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65261 (0xfeed)

lri $AR1,    #0x0040
lri $IX1,    #0xfeed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65262 (0xfeee)

lri $AR1,    #0x0040
lri $IX1,    #0xfeee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65263 (0xfeef)

lri $AR1,    #0x0040
lri $IX1,    #0xfeef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65264 (0xfef0)

lri $AR1,    #0x0040
lri $IX1,    #0xfef0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65265 (0xfef1)

lri $AR1,    #0x0040
lri $IX1,    #0xfef1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65266 (0xfef2)

lri $AR1,    #0x0040
lri $IX1,    #0xfef2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65267 (0xfef3)

lri $AR1,    #0x0040
lri $IX1,    #0xfef3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65268 (0xfef4)

lri $AR1,    #0x0040
lri $IX1,    #0xfef4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65269 (0xfef5)

lri $AR1,    #0x0040
lri $IX1,    #0xfef5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65270 (0xfef6)

lri $AR1,    #0x0040
lri $IX1,    #0xfef6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65271 (0xfef7)

lri $AR1,    #0x0040
lri $IX1,    #0xfef7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65272 (0xfef8)

lri $AR1,    #0x0040
lri $IX1,    #0xfef8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65273 (0xfef9)

lri $AR1,    #0x0040
lri $IX1,    #0xfef9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65274 (0xfefa)

lri $AR1,    #0x0040
lri $IX1,    #0xfefa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65275 (0xfefb)

lri $AR1,    #0x0040
lri $IX1,    #0xfefb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65276 (0xfefc)

lri $AR1,    #0x0040
lri $IX1,    #0xfefc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65277 (0xfefd)

lri $AR1,    #0x0040
lri $IX1,    #0xfefd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65278 (0xfefe)

lri $AR1,    #0x0040
lri $IX1,    #0xfefe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65279 (0xfeff)

lri $AR1,    #0x0040
lri $IX1,    #0xfeff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65280 (0xff00)

lri $AR1,    #0x0040
lri $IX1,    #0xff00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65281 (0xff01)

lri $AR1,    #0x0040
lri $IX1,    #0xff01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65282 (0xff02)

lri $AR1,    #0x0040
lri $IX1,    #0xff02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65283 (0xff03)

lri $AR1,    #0x0040
lri $IX1,    #0xff03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65284 (0xff04)

lri $AR1,    #0x0040
lri $IX1,    #0xff04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65285 (0xff05)

lri $AR1,    #0x0040
lri $IX1,    #0xff05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65286 (0xff06)

lri $AR1,    #0x0040
lri $IX1,    #0xff06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65287 (0xff07)

lri $AR1,    #0x0040
lri $IX1,    #0xff07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65288 (0xff08)

lri $AR1,    #0x0040
lri $IX1,    #0xff08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65289 (0xff09)

lri $AR1,    #0x0040
lri $IX1,    #0xff09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65290 (0xff0a)

lri $AR1,    #0x0040
lri $IX1,    #0xff0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65291 (0xff0b)

lri $AR1,    #0x0040
lri $IX1,    #0xff0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65292 (0xff0c)

lri $AR1,    #0x0040
lri $IX1,    #0xff0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65293 (0xff0d)

lri $AR1,    #0x0040
lri $IX1,    #0xff0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65294 (0xff0e)

lri $AR1,    #0x0040
lri $IX1,    #0xff0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65295 (0xff0f)

lri $AR1,    #0x0040
lri $IX1,    #0xff0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65296 (0xff10)

lri $AR1,    #0x0040
lri $IX1,    #0xff10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65297 (0xff11)

lri $AR1,    #0x0040
lri $IX1,    #0xff11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65298 (0xff12)

lri $AR1,    #0x0040
lri $IX1,    #0xff12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65299 (0xff13)

lri $AR1,    #0x0040
lri $IX1,    #0xff13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65300 (0xff14)

lri $AR1,    #0x0040
lri $IX1,    #0xff14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65301 (0xff15)

lri $AR1,    #0x0040
lri $IX1,    #0xff15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65302 (0xff16)

lri $AR1,    #0x0040
lri $IX1,    #0xff16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65303 (0xff17)

lri $AR1,    #0x0040
lri $IX1,    #0xff17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65304 (0xff18)

lri $AR1,    #0x0040
lri $IX1,    #0xff18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65305 (0xff19)

lri $AR1,    #0x0040
lri $IX1,    #0xff19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65306 (0xff1a)

lri $AR1,    #0x0040
lri $IX1,    #0xff1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65307 (0xff1b)

lri $AR1,    #0x0040
lri $IX1,    #0xff1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65308 (0xff1c)

lri $AR1,    #0x0040
lri $IX1,    #0xff1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65309 (0xff1d)

lri $AR1,    #0x0040
lri $IX1,    #0xff1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65310 (0xff1e)

lri $AR1,    #0x0040
lri $IX1,    #0xff1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65311 (0xff1f)

lri $AR1,    #0x0040
lri $IX1,    #0xff1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65312 (0xff20)

lri $AR1,    #0x0040
lri $IX1,    #0xff20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65313 (0xff21)

lri $AR1,    #0x0040
lri $IX1,    #0xff21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65314 (0xff22)

lri $AR1,    #0x0040
lri $IX1,    #0xff22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65315 (0xff23)

lri $AR1,    #0x0040
lri $IX1,    #0xff23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65316 (0xff24)

lri $AR1,    #0x0040
lri $IX1,    #0xff24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65317 (0xff25)

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