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

lri $AR1,    #0x0040
lri $IX1,    #0xb8bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47296 (0xb8c0)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47297 (0xb8c1)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47298 (0xb8c2)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47299 (0xb8c3)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47300 (0xb8c4)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47301 (0xb8c5)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47302 (0xb8c6)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47303 (0xb8c7)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47304 (0xb8c8)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47305 (0xb8c9)

lri $AR1,    #0x0040
lri $IX1,    #0xb8c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47306 (0xb8ca)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47307 (0xb8cb)

lri $AR1,    #0x0040
lri $IX1,    #0xb8cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47308 (0xb8cc)

lri $AR1,    #0x0040
lri $IX1,    #0xb8cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47309 (0xb8cd)

lri $AR1,    #0x0040
lri $IX1,    #0xb8cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47310 (0xb8ce)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47311 (0xb8cf)

lri $AR1,    #0x0040
lri $IX1,    #0xb8cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47312 (0xb8d0)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47313 (0xb8d1)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47314 (0xb8d2)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47315 (0xb8d3)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47316 (0xb8d4)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47317 (0xb8d5)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47318 (0xb8d6)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47319 (0xb8d7)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47320 (0xb8d8)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47321 (0xb8d9)

lri $AR1,    #0x0040
lri $IX1,    #0xb8d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47322 (0xb8da)

lri $AR1,    #0x0040
lri $IX1,    #0xb8da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47323 (0xb8db)

lri $AR1,    #0x0040
lri $IX1,    #0xb8db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47324 (0xb8dc)

lri $AR1,    #0x0040
lri $IX1,    #0xb8dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47325 (0xb8dd)

lri $AR1,    #0x0040
lri $IX1,    #0xb8dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47326 (0xb8de)

lri $AR1,    #0x0040
lri $IX1,    #0xb8de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47327 (0xb8df)

lri $AR1,    #0x0040
lri $IX1,    #0xb8df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47328 (0xb8e0)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47329 (0xb8e1)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47330 (0xb8e2)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47331 (0xb8e3)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47332 (0xb8e4)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47333 (0xb8e5)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47334 (0xb8e6)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47335 (0xb8e7)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47336 (0xb8e8)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47337 (0xb8e9)

lri $AR1,    #0x0040
lri $IX1,    #0xb8e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47338 (0xb8ea)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47339 (0xb8eb)

lri $AR1,    #0x0040
lri $IX1,    #0xb8eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47340 (0xb8ec)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47341 (0xb8ed)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47342 (0xb8ee)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47343 (0xb8ef)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47344 (0xb8f0)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47345 (0xb8f1)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47346 (0xb8f2)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47347 (0xb8f3)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47348 (0xb8f4)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47349 (0xb8f5)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47350 (0xb8f6)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47351 (0xb8f7)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47352 (0xb8f8)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47353 (0xb8f9)

lri $AR1,    #0x0040
lri $IX1,    #0xb8f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47354 (0xb8fa)

lri $AR1,    #0x0040
lri $IX1,    #0xb8fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47355 (0xb8fb)

lri $AR1,    #0x0040
lri $IX1,    #0xb8fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47356 (0xb8fc)

lri $AR1,    #0x0040
lri $IX1,    #0xb8fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47357 (0xb8fd)

lri $AR1,    #0x0040
lri $IX1,    #0xb8fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47358 (0xb8fe)

lri $AR1,    #0x0040
lri $IX1,    #0xb8fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47359 (0xb8ff)

lri $AR1,    #0x0040
lri $IX1,    #0xb8ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47360 (0xb900)

lri $AR1,    #0x0040
lri $IX1,    #0xb900
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47361 (0xb901)

lri $AR1,    #0x0040
lri $IX1,    #0xb901
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47362 (0xb902)

lri $AR1,    #0x0040
lri $IX1,    #0xb902
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47363 (0xb903)

lri $AR1,    #0x0040
lri $IX1,    #0xb903
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47364 (0xb904)

lri $AR1,    #0x0040
lri $IX1,    #0xb904
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47365 (0xb905)

lri $AR1,    #0x0040
lri $IX1,    #0xb905
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47366 (0xb906)

lri $AR1,    #0x0040
lri $IX1,    #0xb906
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47367 (0xb907)

lri $AR1,    #0x0040
lri $IX1,    #0xb907
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47368 (0xb908)

lri $AR1,    #0x0040
lri $IX1,    #0xb908
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47369 (0xb909)

lri $AR1,    #0x0040
lri $IX1,    #0xb909
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47370 (0xb90a)

lri $AR1,    #0x0040
lri $IX1,    #0xb90a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47371 (0xb90b)

lri $AR1,    #0x0040
lri $IX1,    #0xb90b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47372 (0xb90c)

lri $AR1,    #0x0040
lri $IX1,    #0xb90c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47373 (0xb90d)

lri $AR1,    #0x0040
lri $IX1,    #0xb90d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47374 (0xb90e)

lri $AR1,    #0x0040
lri $IX1,    #0xb90e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47375 (0xb90f)

lri $AR1,    #0x0040
lri $IX1,    #0xb90f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47376 (0xb910)

lri $AR1,    #0x0040
lri $IX1,    #0xb910
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47377 (0xb911)

lri $AR1,    #0x0040
lri $IX1,    #0xb911
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47378 (0xb912)

lri $AR1,    #0x0040
lri $IX1,    #0xb912
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47379 (0xb913)

lri $AR1,    #0x0040
lri $IX1,    #0xb913
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47380 (0xb914)

lri $AR1,    #0x0040
lri $IX1,    #0xb914
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47381 (0xb915)

lri $AR1,    #0x0040
lri $IX1,    #0xb915
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47382 (0xb916)

lri $AR1,    #0x0040
lri $IX1,    #0xb916
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47383 (0xb917)

lri $AR1,    #0x0040
lri $IX1,    #0xb917
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47384 (0xb918)

lri $AR1,    #0x0040
lri $IX1,    #0xb918
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47385 (0xb919)

lri $AR1,    #0x0040
lri $IX1,    #0xb919
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47386 (0xb91a)

lri $AR1,    #0x0040
lri $IX1,    #0xb91a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47387 (0xb91b)

lri $AR1,    #0x0040
lri $IX1,    #0xb91b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47388 (0xb91c)

lri $AR1,    #0x0040
lri $IX1,    #0xb91c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47389 (0xb91d)

lri $AR1,    #0x0040
lri $IX1,    #0xb91d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47390 (0xb91e)

lri $AR1,    #0x0040
lri $IX1,    #0xb91e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47391 (0xb91f)

lri $AR1,    #0x0040
lri $IX1,    #0xb91f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47392 (0xb920)

lri $AR1,    #0x0040
lri $IX1,    #0xb920
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47393 (0xb921)

lri $AR1,    #0x0040
lri $IX1,    #0xb921
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47394 (0xb922)

lri $AR1,    #0x0040
lri $IX1,    #0xb922
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47395 (0xb923)

lri $AR1,    #0x0040
lri $IX1,    #0xb923
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47396 (0xb924)

lri $AR1,    #0x0040
lri $IX1,    #0xb924
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47397 (0xb925)

lri $AR1,    #0x0040
lri $IX1,    #0xb925
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47398 (0xb926)

lri $AR1,    #0x0040
lri $IX1,    #0xb926
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47399 (0xb927)

lri $AR1,    #0x0040
lri $IX1,    #0xb927
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47400 (0xb928)

lri $AR1,    #0x0040
lri $IX1,    #0xb928
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47401 (0xb929)

lri $AR1,    #0x0040
lri $IX1,    #0xb929
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47402 (0xb92a)

lri $AR1,    #0x0040
lri $IX1,    #0xb92a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47403 (0xb92b)

lri $AR1,    #0x0040
lri $IX1,    #0xb92b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47404 (0xb92c)

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