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

lri $AR1,    #0x4000
lri $IX1,    #0x9580
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38273 (0x9581)

lri $AR1,    #0x4000
lri $IX1,    #0x9581
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38274 (0x9582)

lri $AR1,    #0x4000
lri $IX1,    #0x9582
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38275 (0x9583)

lri $AR1,    #0x4000
lri $IX1,    #0x9583
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38276 (0x9584)

lri $AR1,    #0x4000
lri $IX1,    #0x9584
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38277 (0x9585)

lri $AR1,    #0x4000
lri $IX1,    #0x9585
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38278 (0x9586)

lri $AR1,    #0x4000
lri $IX1,    #0x9586
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38279 (0x9587)

lri $AR1,    #0x4000
lri $IX1,    #0x9587
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38280 (0x9588)

lri $AR1,    #0x4000
lri $IX1,    #0x9588
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38281 (0x9589)

lri $AR1,    #0x4000
lri $IX1,    #0x9589
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38282 (0x958a)

lri $AR1,    #0x4000
lri $IX1,    #0x958a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38283 (0x958b)

lri $AR1,    #0x4000
lri $IX1,    #0x958b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38284 (0x958c)

lri $AR1,    #0x4000
lri $IX1,    #0x958c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38285 (0x958d)

lri $AR1,    #0x4000
lri $IX1,    #0x958d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38286 (0x958e)

lri $AR1,    #0x4000
lri $IX1,    #0x958e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38287 (0x958f)

lri $AR1,    #0x4000
lri $IX1,    #0x958f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38288 (0x9590)

lri $AR1,    #0x4000
lri $IX1,    #0x9590
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38289 (0x9591)

lri $AR1,    #0x4000
lri $IX1,    #0x9591
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38290 (0x9592)

lri $AR1,    #0x4000
lri $IX1,    #0x9592
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38291 (0x9593)

lri $AR1,    #0x4000
lri $IX1,    #0x9593
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38292 (0x9594)

lri $AR1,    #0x4000
lri $IX1,    #0x9594
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38293 (0x9595)

lri $AR1,    #0x4000
lri $IX1,    #0x9595
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38294 (0x9596)

lri $AR1,    #0x4000
lri $IX1,    #0x9596
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38295 (0x9597)

lri $AR1,    #0x4000
lri $IX1,    #0x9597
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38296 (0x9598)

lri $AR1,    #0x4000
lri $IX1,    #0x9598
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38297 (0x9599)

lri $AR1,    #0x4000
lri $IX1,    #0x9599
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38298 (0x959a)

lri $AR1,    #0x4000
lri $IX1,    #0x959a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38299 (0x959b)

lri $AR1,    #0x4000
lri $IX1,    #0x959b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38300 (0x959c)

lri $AR1,    #0x4000
lri $IX1,    #0x959c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38301 (0x959d)

lri $AR1,    #0x4000
lri $IX1,    #0x959d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38302 (0x959e)

lri $AR1,    #0x4000
lri $IX1,    #0x959e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38303 (0x959f)

lri $AR1,    #0x4000
lri $IX1,    #0x959f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38304 (0x95a0)

lri $AR1,    #0x4000
lri $IX1,    #0x95a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38305 (0x95a1)

lri $AR1,    #0x4000
lri $IX1,    #0x95a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38306 (0x95a2)

lri $AR1,    #0x4000
lri $IX1,    #0x95a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38307 (0x95a3)

lri $AR1,    #0x4000
lri $IX1,    #0x95a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38308 (0x95a4)

lri $AR1,    #0x4000
lri $IX1,    #0x95a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38309 (0x95a5)

lri $AR1,    #0x4000
lri $IX1,    #0x95a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38310 (0x95a6)

lri $AR1,    #0x4000
lri $IX1,    #0x95a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38311 (0x95a7)

lri $AR1,    #0x4000
lri $IX1,    #0x95a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38312 (0x95a8)

lri $AR1,    #0x4000
lri $IX1,    #0x95a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38313 (0x95a9)

lri $AR1,    #0x4000
lri $IX1,    #0x95a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38314 (0x95aa)

lri $AR1,    #0x4000
lri $IX1,    #0x95aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38315 (0x95ab)

lri $AR1,    #0x4000
lri $IX1,    #0x95ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38316 (0x95ac)

lri $AR1,    #0x4000
lri $IX1,    #0x95ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38317 (0x95ad)

lri $AR1,    #0x4000
lri $IX1,    #0x95ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38318 (0x95ae)

lri $AR1,    #0x4000
lri $IX1,    #0x95ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38319 (0x95af)

lri $AR1,    #0x4000
lri $IX1,    #0x95af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38320 (0x95b0)

lri $AR1,    #0x4000
lri $IX1,    #0x95b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38321 (0x95b1)

lri $AR1,    #0x4000
lri $IX1,    #0x95b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38322 (0x95b2)

lri $AR1,    #0x4000
lri $IX1,    #0x95b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38323 (0x95b3)

lri $AR1,    #0x4000
lri $IX1,    #0x95b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38324 (0x95b4)

lri $AR1,    #0x4000
lri $IX1,    #0x95b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38325 (0x95b5)

lri $AR1,    #0x4000
lri $IX1,    #0x95b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38326 (0x95b6)

lri $AR1,    #0x4000
lri $IX1,    #0x95b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38327 (0x95b7)

lri $AR1,    #0x4000
lri $IX1,    #0x95b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38328 (0x95b8)

lri $AR1,    #0x4000
lri $IX1,    #0x95b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38329 (0x95b9)

lri $AR1,    #0x4000
lri $IX1,    #0x95b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38330 (0x95ba)

lri $AR1,    #0x4000
lri $IX1,    #0x95ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38331 (0x95bb)

lri $AR1,    #0x4000
lri $IX1,    #0x95bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38332 (0x95bc)

lri $AR1,    #0x4000
lri $IX1,    #0x95bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38333 (0x95bd)

lri $AR1,    #0x4000
lri $IX1,    #0x95bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38334 (0x95be)

lri $AR1,    #0x4000
lri $IX1,    #0x95be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38335 (0x95bf)

lri $AR1,    #0x4000
lri $IX1,    #0x95bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38336 (0x95c0)

lri $AR1,    #0x4000
lri $IX1,    #0x95c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38337 (0x95c1)

lri $AR1,    #0x4000
lri $IX1,    #0x95c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38338 (0x95c2)

lri $AR1,    #0x4000
lri $IX1,    #0x95c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38339 (0x95c3)

lri $AR1,    #0x4000
lri $IX1,    #0x95c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38340 (0x95c4)

lri $AR1,    #0x4000
lri $IX1,    #0x95c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38341 (0x95c5)

lri $AR1,    #0x4000
lri $IX1,    #0x95c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38342 (0x95c6)

lri $AR1,    #0x4000
lri $IX1,    #0x95c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38343 (0x95c7)

lri $AR1,    #0x4000
lri $IX1,    #0x95c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38344 (0x95c8)

lri $AR1,    #0x4000
lri $IX1,    #0x95c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38345 (0x95c9)

lri $AR1,    #0x4000
lri $IX1,    #0x95c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38346 (0x95ca)

lri $AR1,    #0x4000
lri $IX1,    #0x95ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38347 (0x95cb)

lri $AR1,    #0x4000
lri $IX1,    #0x95cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38348 (0x95cc)

lri $AR1,    #0x4000
lri $IX1,    #0x95cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38349 (0x95cd)

lri $AR1,    #0x4000
lri $IX1,    #0x95cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38350 (0x95ce)

lri $AR1,    #0x4000
lri $IX1,    #0x95ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38351 (0x95cf)

lri $AR1,    #0x4000
lri $IX1,    #0x95cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38352 (0x95d0)

lri $AR1,    #0x4000
lri $IX1,    #0x95d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38353 (0x95d1)

lri $AR1,    #0x4000
lri $IX1,    #0x95d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38354 (0x95d2)

lri $AR1,    #0x4000
lri $IX1,    #0x95d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38355 (0x95d3)

lri $AR1,    #0x4000
lri $IX1,    #0x95d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38356 (0x95d4)

lri $AR1,    #0x4000
lri $IX1,    #0x95d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38357 (0x95d5)

lri $AR1,    #0x4000
lri $IX1,    #0x95d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38358 (0x95d6)

lri $AR1,    #0x4000
lri $IX1,    #0x95d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38359 (0x95d7)

lri $AR1,    #0x4000
lri $IX1,    #0x95d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38360 (0x95d8)

lri $AR1,    #0x4000
lri $IX1,    #0x95d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38361 (0x95d9)

lri $AR1,    #0x4000
lri $IX1,    #0x95d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38362 (0x95da)

lri $AR1,    #0x4000
lri $IX1,    #0x95da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38363 (0x95db)

lri $AR1,    #0x4000
lri $IX1,    #0x95db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38364 (0x95dc)

lri $AR1,    #0x4000
lri $IX1,    #0x95dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38365 (0x95dd)

lri $AR1,    #0x4000
lri $IX1,    #0x95dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38366 (0x95de)

lri $AR1,    #0x4000
lri $IX1,    #0x95de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38367 (0x95df)

lri $AR1,    #0x4000
lri $IX1,    #0x95df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38368 (0x95e0)

lri $AR1,    #0x4000
lri $IX1,    #0x95e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38369 (0x95e1)

lri $AR1,    #0x4000
lri $IX1,    #0x95e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38370 (0x95e2)

lri $AR1,    #0x4000
lri $IX1,    #0x95e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38371 (0x95e3)

lri $AR1,    #0x4000
lri $IX1,    #0x95e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38372 (0x95e4)

lri $AR1,    #0x4000
lri $IX1,    #0x95e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38373 (0x95e5)

lri $AR1,    #0x4000
lri $IX1,    #0x95e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38374 (0x95e6)

lri $AR1,    #0x4000
lri $IX1,    #0x95e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38375 (0x95e7)

lri $AR1,    #0x4000
lri $IX1,    #0x95e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38376 (0x95e8)

lri $AR1,    #0x4000
lri $IX1,    #0x95e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38377 (0x95e9)

lri $AR1,    #0x4000
lri $IX1,    #0x95e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38378 (0x95ea)

lri $AR1,    #0x4000
lri $IX1,    #0x95ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38379 (0x95eb)

lri $AR1,    #0x4000
lri $IX1,    #0x95eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38380 (0x95ec)

lri $AR1,    #0x4000
lri $IX1,    #0x95ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38381 (0x95ed)

lri $AR1,    #0x4000
lri $IX1,    #0x95ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38382 (0x95ee)

lri $AR1,    #0x4000
lri $IX1,    #0x95ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38383 (0x95ef)

lri $AR1,    #0x4000
lri $IX1,    #0x95ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38384 (0x95f0)

lri $AR1,    #0x4000
lri $IX1,    #0x95f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38385 (0x95f1)

lri $AR1,    #0x4000
lri $IX1,    #0x95f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38386 (0x95f2)

lri $AR1,    #0x4000
lri $IX1,    #0x95f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38387 (0x95f3)

lri $AR1,    #0x4000
lri $IX1,    #0x95f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38388 (0x95f4)

lri $AR1,    #0x4000
lri $IX1,    #0x95f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38389 (0x95f5)

lri $AR1,    #0x4000
lri $IX1,    #0x95f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38390 (0x95f6)

lri $AR1,    #0x4000
lri $IX1,    #0x95f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38391 (0x95f7)

lri $AR1,    #0x4000
lri $IX1,    #0x95f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38392 (0x95f8)

lri $AR1,    #0x4000
lri $IX1,    #0x95f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38393 (0x95f9)

lri $AR1,    #0x4000
lri $IX1,    #0x95f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38394 (0x95fa)

lri $AR1,    #0x4000
lri $IX1,    #0x95fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38395 (0x95fb)

lri $AR1,    #0x4000
lri $IX1,    #0x95fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38396 (0x95fc)

lri $AR1,    #0x4000
lri $IX1,    #0x95fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38397 (0x95fd)

lri $AR1,    #0x4000
lri $IX1,    #0x95fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38398 (0x95fe)

lri $AR1,    #0x4000
lri $IX1,    #0x95fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38399 (0x95ff)

lri $AR1,    #0x4000
lri $IX1,    #0x95ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 38400 (0x9600)

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

