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

lri $AR1,    #0x0040
lri $IX1,    #0xa1b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41398 (0xa1b6)

lri $AR1,    #0x0040
lri $IX1,    #0xa1b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41399 (0xa1b7)

lri $AR1,    #0x0040
lri $IX1,    #0xa1b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41400 (0xa1b8)

lri $AR1,    #0x0040
lri $IX1,    #0xa1b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41401 (0xa1b9)

lri $AR1,    #0x0040
lri $IX1,    #0xa1b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41402 (0xa1ba)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41403 (0xa1bb)

lri $AR1,    #0x0040
lri $IX1,    #0xa1bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41404 (0xa1bc)

lri $AR1,    #0x0040
lri $IX1,    #0xa1bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41405 (0xa1bd)

lri $AR1,    #0x0040
lri $IX1,    #0xa1bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41406 (0xa1be)

lri $AR1,    #0x0040
lri $IX1,    #0xa1be
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41407 (0xa1bf)

lri $AR1,    #0x0040
lri $IX1,    #0xa1bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41408 (0xa1c0)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41409 (0xa1c1)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41410 (0xa1c2)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41411 (0xa1c3)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41412 (0xa1c4)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41413 (0xa1c5)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41414 (0xa1c6)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41415 (0xa1c7)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41416 (0xa1c8)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41417 (0xa1c9)

lri $AR1,    #0x0040
lri $IX1,    #0xa1c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41418 (0xa1ca)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41419 (0xa1cb)

lri $AR1,    #0x0040
lri $IX1,    #0xa1cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41420 (0xa1cc)

lri $AR1,    #0x0040
lri $IX1,    #0xa1cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41421 (0xa1cd)

lri $AR1,    #0x0040
lri $IX1,    #0xa1cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41422 (0xa1ce)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41423 (0xa1cf)

lri $AR1,    #0x0040
lri $IX1,    #0xa1cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41424 (0xa1d0)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41425 (0xa1d1)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41426 (0xa1d2)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41427 (0xa1d3)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41428 (0xa1d4)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41429 (0xa1d5)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41430 (0xa1d6)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41431 (0xa1d7)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41432 (0xa1d8)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41433 (0xa1d9)

lri $AR1,    #0x0040
lri $IX1,    #0xa1d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41434 (0xa1da)

lri $AR1,    #0x0040
lri $IX1,    #0xa1da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41435 (0xa1db)

lri $AR1,    #0x0040
lri $IX1,    #0xa1db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41436 (0xa1dc)

lri $AR1,    #0x0040
lri $IX1,    #0xa1dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41437 (0xa1dd)

lri $AR1,    #0x0040
lri $IX1,    #0xa1dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41438 (0xa1de)

lri $AR1,    #0x0040
lri $IX1,    #0xa1de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41439 (0xa1df)

lri $AR1,    #0x0040
lri $IX1,    #0xa1df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41440 (0xa1e0)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41441 (0xa1e1)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41442 (0xa1e2)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41443 (0xa1e3)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41444 (0xa1e4)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41445 (0xa1e5)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41446 (0xa1e6)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41447 (0xa1e7)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41448 (0xa1e8)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41449 (0xa1e9)

lri $AR1,    #0x0040
lri $IX1,    #0xa1e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41450 (0xa1ea)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41451 (0xa1eb)

lri $AR1,    #0x0040
lri $IX1,    #0xa1eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41452 (0xa1ec)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41453 (0xa1ed)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41454 (0xa1ee)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41455 (0xa1ef)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41456 (0xa1f0)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41457 (0xa1f1)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41458 (0xa1f2)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41459 (0xa1f3)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41460 (0xa1f4)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41461 (0xa1f5)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41462 (0xa1f6)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41463 (0xa1f7)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41464 (0xa1f8)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41465 (0xa1f9)

lri $AR1,    #0x0040
lri $IX1,    #0xa1f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41466 (0xa1fa)

lri $AR1,    #0x0040
lri $IX1,    #0xa1fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41467 (0xa1fb)

lri $AR1,    #0x0040
lri $IX1,    #0xa1fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41468 (0xa1fc)

lri $AR1,    #0x0040
lri $IX1,    #0xa1fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41469 (0xa1fd)

lri $AR1,    #0x0040
lri $IX1,    #0xa1fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41470 (0xa1fe)

lri $AR1,    #0x0040
lri $IX1,    #0xa1fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41471 (0xa1ff)

lri $AR1,    #0x0040
lri $IX1,    #0xa1ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41472 (0xa200)

lri $AR1,    #0x0040
lri $IX1,    #0xa200
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41473 (0xa201)

lri $AR1,    #0x0040
lri $IX1,    #0xa201
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41474 (0xa202)

lri $AR1,    #0x0040
lri $IX1,    #0xa202
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41475 (0xa203)

lri $AR1,    #0x0040
lri $IX1,    #0xa203
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41476 (0xa204)

lri $AR1,    #0x0040
lri $IX1,    #0xa204
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41477 (0xa205)

lri $AR1,    #0x0040
lri $IX1,    #0xa205
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41478 (0xa206)

lri $AR1,    #0x0040
lri $IX1,    #0xa206
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41479 (0xa207)

lri $AR1,    #0x0040
lri $IX1,    #0xa207
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41480 (0xa208)

lri $AR1,    #0x0040
lri $IX1,    #0xa208
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41481 (0xa209)

lri $AR1,    #0x0040
lri $IX1,    #0xa209
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41482 (0xa20a)

lri $AR1,    #0x0040
lri $IX1,    #0xa20a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41483 (0xa20b)

lri $AR1,    #0x0040
lri $IX1,    #0xa20b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41484 (0xa20c)

lri $AR1,    #0x0040
lri $IX1,    #0xa20c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41485 (0xa20d)

lri $AR1,    #0x0040
lri $IX1,    #0xa20d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41486 (0xa20e)

lri $AR1,    #0x0040
lri $IX1,    #0xa20e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41487 (0xa20f)

lri $AR1,    #0x0040
lri $IX1,    #0xa20f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41488 (0xa210)

lri $AR1,    #0x0040
lri $IX1,    #0xa210
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41489 (0xa211)

lri $AR1,    #0x0040
lri $IX1,    #0xa211
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41490 (0xa212)

lri $AR1,    #0x0040
lri $IX1,    #0xa212
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41491 (0xa213)

lri $AR1,    #0x0040
lri $IX1,    #0xa213
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41492 (0xa214)

lri $AR1,    #0x0040
lri $IX1,    #0xa214
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41493 (0xa215)

lri $AR1,    #0x0040
lri $IX1,    #0xa215
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41494 (0xa216)

lri $AR1,    #0x0040
lri $IX1,    #0xa216
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41495 (0xa217)

lri $AR1,    #0x0040
lri $IX1,    #0xa217
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41496 (0xa218)

lri $AR1,    #0x0040
lri $IX1,    #0xa218
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41497 (0xa219)

lri $AR1,    #0x0040
lri $IX1,    #0xa219
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41498 (0xa21a)

lri $AR1,    #0x0040
lri $IX1,    #0xa21a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41499 (0xa21b)

lri $AR1,    #0x0040
lri $IX1,    #0xa21b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41500 (0xa21c)

lri $AR1,    #0x0040
lri $IX1,    #0xa21c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41501 (0xa21d)

lri $AR1,    #0x0040
lri $IX1,    #0xa21d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41502 (0xa21e)

lri $AR1,    #0x0040
lri $IX1,    #0xa21e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41503 (0xa21f)

lri $AR1,    #0x0040
lri $IX1,    #0xa21f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41504 (0xa220)

lri $AR1,    #0x0040
lri $IX1,    #0xa220
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41505 (0xa221)

lri $AR1,    #0x0040
lri $IX1,    #0xa221
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41506 (0xa222)

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