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

lri $AR1,    #0x0040
lri $IX1,    #0xcccc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52429 (0xcccd)

lri $AR1,    #0x0040
lri $IX1,    #0xcccd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52430 (0xccce)

lri $AR1,    #0x0040
lri $IX1,    #0xccce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52431 (0xcccf)

lri $AR1,    #0x0040
lri $IX1,    #0xcccf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52432 (0xccd0)

lri $AR1,    #0x0040
lri $IX1,    #0xccd0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52433 (0xccd1)

lri $AR1,    #0x0040
lri $IX1,    #0xccd1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52434 (0xccd2)

lri $AR1,    #0x0040
lri $IX1,    #0xccd2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52435 (0xccd3)

lri $AR1,    #0x0040
lri $IX1,    #0xccd3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52436 (0xccd4)

lri $AR1,    #0x0040
lri $IX1,    #0xccd4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52437 (0xccd5)

lri $AR1,    #0x0040
lri $IX1,    #0xccd5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52438 (0xccd6)

lri $AR1,    #0x0040
lri $IX1,    #0xccd6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52439 (0xccd7)

lri $AR1,    #0x0040
lri $IX1,    #0xccd7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52440 (0xccd8)

lri $AR1,    #0x0040
lri $IX1,    #0xccd8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52441 (0xccd9)

lri $AR1,    #0x0040
lri $IX1,    #0xccd9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52442 (0xccda)

lri $AR1,    #0x0040
lri $IX1,    #0xccda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52443 (0xccdb)

lri $AR1,    #0x0040
lri $IX1,    #0xccdb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52444 (0xccdc)

lri $AR1,    #0x0040
lri $IX1,    #0xccdc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52445 (0xccdd)

lri $AR1,    #0x0040
lri $IX1,    #0xccdd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52446 (0xccde)

lri $AR1,    #0x0040
lri $IX1,    #0xccde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52447 (0xccdf)

lri $AR1,    #0x0040
lri $IX1,    #0xccdf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52448 (0xcce0)

lri $AR1,    #0x0040
lri $IX1,    #0xcce0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52449 (0xcce1)

lri $AR1,    #0x0040
lri $IX1,    #0xcce1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52450 (0xcce2)

lri $AR1,    #0x0040
lri $IX1,    #0xcce2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52451 (0xcce3)

lri $AR1,    #0x0040
lri $IX1,    #0xcce3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52452 (0xcce4)

lri $AR1,    #0x0040
lri $IX1,    #0xcce4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52453 (0xcce5)

lri $AR1,    #0x0040
lri $IX1,    #0xcce5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52454 (0xcce6)

lri $AR1,    #0x0040
lri $IX1,    #0xcce6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52455 (0xcce7)

lri $AR1,    #0x0040
lri $IX1,    #0xcce7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52456 (0xcce8)

lri $AR1,    #0x0040
lri $IX1,    #0xcce8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52457 (0xcce9)

lri $AR1,    #0x0040
lri $IX1,    #0xcce9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52458 (0xccea)

lri $AR1,    #0x0040
lri $IX1,    #0xccea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52459 (0xcceb)

lri $AR1,    #0x0040
lri $IX1,    #0xcceb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52460 (0xccec)

lri $AR1,    #0x0040
lri $IX1,    #0xccec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52461 (0xcced)

lri $AR1,    #0x0040
lri $IX1,    #0xcced
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52462 (0xccee)

lri $AR1,    #0x0040
lri $IX1,    #0xccee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52463 (0xccef)

lri $AR1,    #0x0040
lri $IX1,    #0xccef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52464 (0xccf0)

lri $AR1,    #0x0040
lri $IX1,    #0xccf0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52465 (0xccf1)

lri $AR1,    #0x0040
lri $IX1,    #0xccf1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52466 (0xccf2)

lri $AR1,    #0x0040
lri $IX1,    #0xccf2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52467 (0xccf3)

lri $AR1,    #0x0040
lri $IX1,    #0xccf3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52468 (0xccf4)

lri $AR1,    #0x0040
lri $IX1,    #0xccf4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52469 (0xccf5)

lri $AR1,    #0x0040
lri $IX1,    #0xccf5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52470 (0xccf6)

lri $AR1,    #0x0040
lri $IX1,    #0xccf6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52471 (0xccf7)

lri $AR1,    #0x0040
lri $IX1,    #0xccf7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52472 (0xccf8)

lri $AR1,    #0x0040
lri $IX1,    #0xccf8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52473 (0xccf9)

lri $AR1,    #0x0040
lri $IX1,    #0xccf9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52474 (0xccfa)

lri $AR1,    #0x0040
lri $IX1,    #0xccfa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52475 (0xccfb)

lri $AR1,    #0x0040
lri $IX1,    #0xccfb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52476 (0xccfc)

lri $AR1,    #0x0040
lri $IX1,    #0xccfc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52477 (0xccfd)

lri $AR1,    #0x0040
lri $IX1,    #0xccfd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52478 (0xccfe)

lri $AR1,    #0x0040
lri $IX1,    #0xccfe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52479 (0xccff)

lri $AR1,    #0x0040
lri $IX1,    #0xccff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52480 (0xcd00)

lri $AR1,    #0x0040
lri $IX1,    #0xcd00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52481 (0xcd01)

lri $AR1,    #0x0040
lri $IX1,    #0xcd01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52482 (0xcd02)

lri $AR1,    #0x0040
lri $IX1,    #0xcd02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52483 (0xcd03)

lri $AR1,    #0x0040
lri $IX1,    #0xcd03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52484 (0xcd04)

lri $AR1,    #0x0040
lri $IX1,    #0xcd04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52485 (0xcd05)

lri $AR1,    #0x0040
lri $IX1,    #0xcd05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52486 (0xcd06)

lri $AR1,    #0x0040
lri $IX1,    #0xcd06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52487 (0xcd07)

lri $AR1,    #0x0040
lri $IX1,    #0xcd07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52488 (0xcd08)

lri $AR1,    #0x0040
lri $IX1,    #0xcd08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52489 (0xcd09)

lri $AR1,    #0x0040
lri $IX1,    #0xcd09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52490 (0xcd0a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52491 (0xcd0b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52492 (0xcd0c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52493 (0xcd0d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52494 (0xcd0e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52495 (0xcd0f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52496 (0xcd10)

lri $AR1,    #0x0040
lri $IX1,    #0xcd10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52497 (0xcd11)

lri $AR1,    #0x0040
lri $IX1,    #0xcd11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52498 (0xcd12)

lri $AR1,    #0x0040
lri $IX1,    #0xcd12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52499 (0xcd13)

lri $AR1,    #0x0040
lri $IX1,    #0xcd13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52500 (0xcd14)

lri $AR1,    #0x0040
lri $IX1,    #0xcd14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52501 (0xcd15)

lri $AR1,    #0x0040
lri $IX1,    #0xcd15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52502 (0xcd16)

lri $AR1,    #0x0040
lri $IX1,    #0xcd16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52503 (0xcd17)

lri $AR1,    #0x0040
lri $IX1,    #0xcd17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52504 (0xcd18)

lri $AR1,    #0x0040
lri $IX1,    #0xcd18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52505 (0xcd19)

lri $AR1,    #0x0040
lri $IX1,    #0xcd19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52506 (0xcd1a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52507 (0xcd1b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52508 (0xcd1c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52509 (0xcd1d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52510 (0xcd1e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52511 (0xcd1f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52512 (0xcd20)

lri $AR1,    #0x0040
lri $IX1,    #0xcd20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52513 (0xcd21)

lri $AR1,    #0x0040
lri $IX1,    #0xcd21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52514 (0xcd22)

lri $AR1,    #0x0040
lri $IX1,    #0xcd22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52515 (0xcd23)

lri $AR1,    #0x0040
lri $IX1,    #0xcd23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52516 (0xcd24)

lri $AR1,    #0x0040
lri $IX1,    #0xcd24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52517 (0xcd25)

lri $AR1,    #0x0040
lri $IX1,    #0xcd25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52518 (0xcd26)

lri $AR1,    #0x0040
lri $IX1,    #0xcd26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52519 (0xcd27)

lri $AR1,    #0x0040
lri $IX1,    #0xcd27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52520 (0xcd28)

lri $AR1,    #0x0040
lri $IX1,    #0xcd28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52521 (0xcd29)

lri $AR1,    #0x0040
lri $IX1,    #0xcd29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52522 (0xcd2a)

lri $AR1,    #0x0040
lri $IX1,    #0xcd2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52523 (0xcd2b)

lri $AR1,    #0x0040
lri $IX1,    #0xcd2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52524 (0xcd2c)

lri $AR1,    #0x0040
lri $IX1,    #0xcd2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52525 (0xcd2d)

lri $AR1,    #0x0040
lri $IX1,    #0xcd2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52526 (0xcd2e)

lri $AR1,    #0x0040
lri $IX1,    #0xcd2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52527 (0xcd2f)

lri $AR1,    #0x0040
lri $IX1,    #0xcd2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52528 (0xcd30)

lri $AR1,    #0x0040
lri $IX1,    #0xcd30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52529 (0xcd31)

lri $AR1,    #0x0040
lri $IX1,    #0xcd31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52530 (0xcd32)

lri $AR1,    #0x0040
lri $IX1,    #0xcd32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52531 (0xcd33)

lri $AR1,    #0x0040
lri $IX1,    #0xcd33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52532 (0xcd34)

lri $AR1,    #0x0040
lri $IX1,    #0xcd34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52533 (0xcd35)

lri $AR1,    #0x0040
lri $IX1,    #0xcd35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52534 (0xcd36)

lri $AR1,    #0x0040
lri $IX1,    #0xcd36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52535 (0xcd37)

lri $AR1,    #0x0040
lri $IX1,    #0xcd37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52536 (0xcd38)

lri $AR1,    #0x0040
lri $IX1,    #0xcd38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52537 (0xcd39)

lri $AR1,    #0x0040
lri $IX1,    #0xcd39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52538 (0xcd3a)

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