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

lri $AR1,    #0x0040
lri $IX1,    #0xb17e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45439 (0xb17f)

lri $AR1,    #0x0040
lri $IX1,    #0xb17f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45440 (0xb180)

lri $AR1,    #0x0040
lri $IX1,    #0xb180
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45441 (0xb181)

lri $AR1,    #0x0040
lri $IX1,    #0xb181
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45442 (0xb182)

lri $AR1,    #0x0040
lri $IX1,    #0xb182
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45443 (0xb183)

lri $AR1,    #0x0040
lri $IX1,    #0xb183
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45444 (0xb184)

lri $AR1,    #0x0040
lri $IX1,    #0xb184
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45445 (0xb185)

lri $AR1,    #0x0040
lri $IX1,    #0xb185
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45446 (0xb186)

lri $AR1,    #0x0040
lri $IX1,    #0xb186
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45447 (0xb187)

lri $AR1,    #0x0040
lri $IX1,    #0xb187
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45448 (0xb188)

lri $AR1,    #0x0040
lri $IX1,    #0xb188
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45449 (0xb189)

lri $AR1,    #0x0040
lri $IX1,    #0xb189
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45450 (0xb18a)

lri $AR1,    #0x0040
lri $IX1,    #0xb18a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45451 (0xb18b)

lri $AR1,    #0x0040
lri $IX1,    #0xb18b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45452 (0xb18c)

lri $AR1,    #0x0040
lri $IX1,    #0xb18c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45453 (0xb18d)

lri $AR1,    #0x0040
lri $IX1,    #0xb18d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45454 (0xb18e)

lri $AR1,    #0x0040
lri $IX1,    #0xb18e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45455 (0xb18f)

lri $AR1,    #0x0040
lri $IX1,    #0xb18f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45456 (0xb190)

lri $AR1,    #0x0040
lri $IX1,    #0xb190
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45457 (0xb191)

lri $AR1,    #0x0040
lri $IX1,    #0xb191
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45458 (0xb192)

lri $AR1,    #0x0040
lri $IX1,    #0xb192
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45459 (0xb193)

lri $AR1,    #0x0040
lri $IX1,    #0xb193
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45460 (0xb194)

lri $AR1,    #0x0040
lri $IX1,    #0xb194
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45461 (0xb195)

lri $AR1,    #0x0040
lri $IX1,    #0xb195
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45462 (0xb196)

lri $AR1,    #0x0040
lri $IX1,    #0xb196
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45463 (0xb197)

lri $AR1,    #0x0040
lri $IX1,    #0xb197
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45464 (0xb198)

lri $AR1,    #0x0040
lri $IX1,    #0xb198
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45465 (0xb199)

lri $AR1,    #0x0040
lri $IX1,    #0xb199
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45466 (0xb19a)

lri $AR1,    #0x0040
lri $IX1,    #0xb19a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45467 (0xb19b)

lri $AR1,    #0x0040
lri $IX1,    #0xb19b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45468 (0xb19c)

lri $AR1,    #0x0040
lri $IX1,    #0xb19c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45469 (0xb19d)

lri $AR1,    #0x0040
lri $IX1,    #0xb19d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45470 (0xb19e)

lri $AR1,    #0x0040
lri $IX1,    #0xb19e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45471 (0xb19f)

lri $AR1,    #0x0040
lri $IX1,    #0xb19f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45472 (0xb1a0)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45473 (0xb1a1)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45474 (0xb1a2)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45475 (0xb1a3)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45476 (0xb1a4)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45477 (0xb1a5)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45478 (0xb1a6)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45479 (0xb1a7)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45480 (0xb1a8)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45481 (0xb1a9)

lri $AR1,    #0x0040
lri $IX1,    #0xb1a9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45482 (0xb1aa)

lri $AR1,    #0x0040
lri $IX1,    #0xb1aa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45483 (0xb1ab)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45484 (0xb1ac)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45485 (0xb1ad)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45486 (0xb1ae)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45487 (0xb1af)

lri $AR1,    #0x0040
lri $IX1,    #0xb1af
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45488 (0xb1b0)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45489 (0xb1b1)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45490 (0xb1b2)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45491 (0xb1b3)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45492 (0xb1b4)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45493 (0xb1b5)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45494 (0xb1b6)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45495 (0xb1b7)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45496 (0xb1b8)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45497 (0xb1b9)

lri $AR1,    #0x0040
lri $IX1,    #0xb1b9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45498 (0xb1ba)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45499 (0xb1bb)

lri $AR1,    #0x0040
lri $IX1,    #0xb1bb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45500 (0xb1bc)

lri $AR1,    #0x0040
lri $IX1,    #0xb1bc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45501 (0xb1bd)

lri $AR1,    #0x0040
lri $IX1,    #0xb1bd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45502 (0xb1be)

lri $AR1,    #0x0040
lri $IX1,    #0xb1be
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45503 (0xb1bf)

lri $AR1,    #0x0040
lri $IX1,    #0xb1bf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45504 (0xb1c0)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45505 (0xb1c1)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45506 (0xb1c2)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45507 (0xb1c3)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45508 (0xb1c4)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45509 (0xb1c5)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45510 (0xb1c6)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45511 (0xb1c7)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45512 (0xb1c8)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45513 (0xb1c9)

lri $AR1,    #0x0040
lri $IX1,    #0xb1c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45514 (0xb1ca)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45515 (0xb1cb)

lri $AR1,    #0x0040
lri $IX1,    #0xb1cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45516 (0xb1cc)

lri $AR1,    #0x0040
lri $IX1,    #0xb1cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45517 (0xb1cd)

lri $AR1,    #0x0040
lri $IX1,    #0xb1cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45518 (0xb1ce)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45519 (0xb1cf)

lri $AR1,    #0x0040
lri $IX1,    #0xb1cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45520 (0xb1d0)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45521 (0xb1d1)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45522 (0xb1d2)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45523 (0xb1d3)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45524 (0xb1d4)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45525 (0xb1d5)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45526 (0xb1d6)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45527 (0xb1d7)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45528 (0xb1d8)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45529 (0xb1d9)

lri $AR1,    #0x0040
lri $IX1,    #0xb1d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45530 (0xb1da)

lri $AR1,    #0x0040
lri $IX1,    #0xb1da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45531 (0xb1db)

lri $AR1,    #0x0040
lri $IX1,    #0xb1db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45532 (0xb1dc)

lri $AR1,    #0x0040
lri $IX1,    #0xb1dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45533 (0xb1dd)

lri $AR1,    #0x0040
lri $IX1,    #0xb1dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45534 (0xb1de)

lri $AR1,    #0x0040
lri $IX1,    #0xb1de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45535 (0xb1df)

lri $AR1,    #0x0040
lri $IX1,    #0xb1df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45536 (0xb1e0)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45537 (0xb1e1)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45538 (0xb1e2)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45539 (0xb1e3)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45540 (0xb1e4)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45541 (0xb1e5)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45542 (0xb1e6)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45543 (0xb1e7)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45544 (0xb1e8)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45545 (0xb1e9)

lri $AR1,    #0x0040
lri $IX1,    #0xb1e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45546 (0xb1ea)

lri $AR1,    #0x0040
lri $IX1,    #0xb1ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45547 (0xb1eb)

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