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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

lri $AR1,    #0xcd3a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52539 (0xcd3b)

lri $AR1,    #0xcd3b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52540 (0xcd3c)

lri $AR1,    #0xcd3c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52541 (0xcd3d)

lri $AR1,    #0xcd3d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52542 (0xcd3e)

lri $AR1,    #0xcd3e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52543 (0xcd3f)

lri $AR1,    #0xcd3f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52544 (0xcd40)

lri $AR1,    #0xcd40
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52545 (0xcd41)

lri $AR1,    #0xcd41
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52546 (0xcd42)

lri $AR1,    #0xcd42
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52547 (0xcd43)

lri $AR1,    #0xcd43
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52548 (0xcd44)

lri $AR1,    #0xcd44
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52549 (0xcd45)

lri $AR1,    #0xcd45
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52550 (0xcd46)

lri $AR1,    #0xcd46
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52551 (0xcd47)

lri $AR1,    #0xcd47
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52552 (0xcd48)

lri $AR1,    #0xcd48
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52553 (0xcd49)

lri $AR1,    #0xcd49
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52554 (0xcd4a)

lri $AR1,    #0xcd4a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52555 (0xcd4b)

lri $AR1,    #0xcd4b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52556 (0xcd4c)

lri $AR1,    #0xcd4c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52557 (0xcd4d)

lri $AR1,    #0xcd4d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52558 (0xcd4e)

lri $AR1,    #0xcd4e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52559 (0xcd4f)

lri $AR1,    #0xcd4f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52560 (0xcd50)

lri $AR1,    #0xcd50
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52561 (0xcd51)

lri $AR1,    #0xcd51
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52562 (0xcd52)

lri $AR1,    #0xcd52
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52563 (0xcd53)

lri $AR1,    #0xcd53
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52564 (0xcd54)

lri $AR1,    #0xcd54
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52565 (0xcd55)

lri $AR1,    #0xcd55
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52566 (0xcd56)

lri $AR1,    #0xcd56
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52567 (0xcd57)

lri $AR1,    #0xcd57
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52568 (0xcd58)

lri $AR1,    #0xcd58
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52569 (0xcd59)

lri $AR1,    #0xcd59
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52570 (0xcd5a)

lri $AR1,    #0xcd5a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52571 (0xcd5b)

lri $AR1,    #0xcd5b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52572 (0xcd5c)

lri $AR1,    #0xcd5c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52573 (0xcd5d)

lri $AR1,    #0xcd5d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52574 (0xcd5e)

lri $AR1,    #0xcd5e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52575 (0xcd5f)

lri $AR1,    #0xcd5f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52576 (0xcd60)

lri $AR1,    #0xcd60
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52577 (0xcd61)

lri $AR1,    #0xcd61
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52578 (0xcd62)

lri $AR1,    #0xcd62
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52579 (0xcd63)

lri $AR1,    #0xcd63
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52580 (0xcd64)

lri $AR1,    #0xcd64
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52581 (0xcd65)

lri $AR1,    #0xcd65
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52582 (0xcd66)

lri $AR1,    #0xcd66
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52583 (0xcd67)

lri $AR1,    #0xcd67
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52584 (0xcd68)

lri $AR1,    #0xcd68
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52585 (0xcd69)

lri $AR1,    #0xcd69
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52586 (0xcd6a)

lri $AR1,    #0xcd6a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52587 (0xcd6b)

lri $AR1,    #0xcd6b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52588 (0xcd6c)

lri $AR1,    #0xcd6c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52589 (0xcd6d)

lri $AR1,    #0xcd6d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52590 (0xcd6e)

lri $AR1,    #0xcd6e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52591 (0xcd6f)

lri $AR1,    #0xcd6f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52592 (0xcd70)

lri $AR1,    #0xcd70
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52593 (0xcd71)

lri $AR1,    #0xcd71
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52594 (0xcd72)

lri $AR1,    #0xcd72
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52595 (0xcd73)

lri $AR1,    #0xcd73
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52596 (0xcd74)

lri $AR1,    #0xcd74
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52597 (0xcd75)

lri $AR1,    #0xcd75
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52598 (0xcd76)

lri $AR1,    #0xcd76
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52599 (0xcd77)

lri $AR1,    #0xcd77
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52600 (0xcd78)

lri $AR1,    #0xcd78
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52601 (0xcd79)

lri $AR1,    #0xcd79
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52602 (0xcd7a)

lri $AR1,    #0xcd7a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52603 (0xcd7b)

lri $AR1,    #0xcd7b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52604 (0xcd7c)

lri $AR1,    #0xcd7c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52605 (0xcd7d)

lri $AR1,    #0xcd7d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52606 (0xcd7e)

lri $AR1,    #0xcd7e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52607 (0xcd7f)

lri $AR1,    #0xcd7f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52608 (0xcd80)

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

