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

lri $AR1,    #0x0040
lri $IX1,    #0xaa3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43582 (0xaa3e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43583 (0xaa3f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43584 (0xaa40)

lri $AR1,    #0x0040
lri $IX1,    #0xaa40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43585 (0xaa41)

lri $AR1,    #0x0040
lri $IX1,    #0xaa41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43586 (0xaa42)

lri $AR1,    #0x0040
lri $IX1,    #0xaa42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43587 (0xaa43)

lri $AR1,    #0x0040
lri $IX1,    #0xaa43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43588 (0xaa44)

lri $AR1,    #0x0040
lri $IX1,    #0xaa44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43589 (0xaa45)

lri $AR1,    #0x0040
lri $IX1,    #0xaa45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43590 (0xaa46)

lri $AR1,    #0x0040
lri $IX1,    #0xaa46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43591 (0xaa47)

lri $AR1,    #0x0040
lri $IX1,    #0xaa47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43592 (0xaa48)

lri $AR1,    #0x0040
lri $IX1,    #0xaa48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43593 (0xaa49)

lri $AR1,    #0x0040
lri $IX1,    #0xaa49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43594 (0xaa4a)

lri $AR1,    #0x0040
lri $IX1,    #0xaa4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43595 (0xaa4b)

lri $AR1,    #0x0040
lri $IX1,    #0xaa4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43596 (0xaa4c)

lri $AR1,    #0x0040
lri $IX1,    #0xaa4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43597 (0xaa4d)

lri $AR1,    #0x0040
lri $IX1,    #0xaa4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43598 (0xaa4e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43599 (0xaa4f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43600 (0xaa50)

lri $AR1,    #0x0040
lri $IX1,    #0xaa50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43601 (0xaa51)

lri $AR1,    #0x0040
lri $IX1,    #0xaa51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43602 (0xaa52)

lri $AR1,    #0x0040
lri $IX1,    #0xaa52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43603 (0xaa53)

lri $AR1,    #0x0040
lri $IX1,    #0xaa53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43604 (0xaa54)

lri $AR1,    #0x0040
lri $IX1,    #0xaa54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43605 (0xaa55)

lri $AR1,    #0x0040
lri $IX1,    #0xaa55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43606 (0xaa56)

lri $AR1,    #0x0040
lri $IX1,    #0xaa56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43607 (0xaa57)

lri $AR1,    #0x0040
lri $IX1,    #0xaa57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43608 (0xaa58)

lri $AR1,    #0x0040
lri $IX1,    #0xaa58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43609 (0xaa59)

lri $AR1,    #0x0040
lri $IX1,    #0xaa59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43610 (0xaa5a)

lri $AR1,    #0x0040
lri $IX1,    #0xaa5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43611 (0xaa5b)

lri $AR1,    #0x0040
lri $IX1,    #0xaa5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43612 (0xaa5c)

lri $AR1,    #0x0040
lri $IX1,    #0xaa5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43613 (0xaa5d)

lri $AR1,    #0x0040
lri $IX1,    #0xaa5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43614 (0xaa5e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43615 (0xaa5f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43616 (0xaa60)

lri $AR1,    #0x0040
lri $IX1,    #0xaa60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43617 (0xaa61)

lri $AR1,    #0x0040
lri $IX1,    #0xaa61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43618 (0xaa62)

lri $AR1,    #0x0040
lri $IX1,    #0xaa62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43619 (0xaa63)

lri $AR1,    #0x0040
lri $IX1,    #0xaa63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43620 (0xaa64)

lri $AR1,    #0x0040
lri $IX1,    #0xaa64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43621 (0xaa65)

lri $AR1,    #0x0040
lri $IX1,    #0xaa65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43622 (0xaa66)

lri $AR1,    #0x0040
lri $IX1,    #0xaa66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43623 (0xaa67)

lri $AR1,    #0x0040
lri $IX1,    #0xaa67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43624 (0xaa68)

lri $AR1,    #0x0040
lri $IX1,    #0xaa68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43625 (0xaa69)

lri $AR1,    #0x0040
lri $IX1,    #0xaa69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43626 (0xaa6a)

lri $AR1,    #0x0040
lri $IX1,    #0xaa6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43627 (0xaa6b)

lri $AR1,    #0x0040
lri $IX1,    #0xaa6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43628 (0xaa6c)

lri $AR1,    #0x0040
lri $IX1,    #0xaa6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43629 (0xaa6d)

lri $AR1,    #0x0040
lri $IX1,    #0xaa6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43630 (0xaa6e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43631 (0xaa6f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43632 (0xaa70)

lri $AR1,    #0x0040
lri $IX1,    #0xaa70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43633 (0xaa71)

lri $AR1,    #0x0040
lri $IX1,    #0xaa71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43634 (0xaa72)

lri $AR1,    #0x0040
lri $IX1,    #0xaa72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43635 (0xaa73)

lri $AR1,    #0x0040
lri $IX1,    #0xaa73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43636 (0xaa74)

lri $AR1,    #0x0040
lri $IX1,    #0xaa74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43637 (0xaa75)

lri $AR1,    #0x0040
lri $IX1,    #0xaa75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43638 (0xaa76)

lri $AR1,    #0x0040
lri $IX1,    #0xaa76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43639 (0xaa77)

lri $AR1,    #0x0040
lri $IX1,    #0xaa77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43640 (0xaa78)

lri $AR1,    #0x0040
lri $IX1,    #0xaa78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43641 (0xaa79)

lri $AR1,    #0x0040
lri $IX1,    #0xaa79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43642 (0xaa7a)

lri $AR1,    #0x0040
lri $IX1,    #0xaa7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43643 (0xaa7b)

lri $AR1,    #0x0040
lri $IX1,    #0xaa7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43644 (0xaa7c)

lri $AR1,    #0x0040
lri $IX1,    #0xaa7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43645 (0xaa7d)

lri $AR1,    #0x0040
lri $IX1,    #0xaa7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43646 (0xaa7e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43647 (0xaa7f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43648 (0xaa80)

lri $AR1,    #0x0040
lri $IX1,    #0xaa80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43649 (0xaa81)

lri $AR1,    #0x0040
lri $IX1,    #0xaa81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43650 (0xaa82)

lri $AR1,    #0x0040
lri $IX1,    #0xaa82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43651 (0xaa83)

lri $AR1,    #0x0040
lri $IX1,    #0xaa83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43652 (0xaa84)

lri $AR1,    #0x0040
lri $IX1,    #0xaa84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43653 (0xaa85)

lri $AR1,    #0x0040
lri $IX1,    #0xaa85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43654 (0xaa86)

lri $AR1,    #0x0040
lri $IX1,    #0xaa86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43655 (0xaa87)

lri $AR1,    #0x0040
lri $IX1,    #0xaa87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43656 (0xaa88)

lri $AR1,    #0x0040
lri $IX1,    #0xaa88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43657 (0xaa89)

lri $AR1,    #0x0040
lri $IX1,    #0xaa89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43658 (0xaa8a)

lri $AR1,    #0x0040
lri $IX1,    #0xaa8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43659 (0xaa8b)

lri $AR1,    #0x0040
lri $IX1,    #0xaa8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43660 (0xaa8c)

lri $AR1,    #0x0040
lri $IX1,    #0xaa8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43661 (0xaa8d)

lri $AR1,    #0x0040
lri $IX1,    #0xaa8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43662 (0xaa8e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43663 (0xaa8f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43664 (0xaa90)

lri $AR1,    #0x0040
lri $IX1,    #0xaa90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43665 (0xaa91)

lri $AR1,    #0x0040
lri $IX1,    #0xaa91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43666 (0xaa92)

lri $AR1,    #0x0040
lri $IX1,    #0xaa92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43667 (0xaa93)

lri $AR1,    #0x0040
lri $IX1,    #0xaa93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43668 (0xaa94)

lri $AR1,    #0x0040
lri $IX1,    #0xaa94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43669 (0xaa95)

lri $AR1,    #0x0040
lri $IX1,    #0xaa95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43670 (0xaa96)

lri $AR1,    #0x0040
lri $IX1,    #0xaa96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43671 (0xaa97)

lri $AR1,    #0x0040
lri $IX1,    #0xaa97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43672 (0xaa98)

lri $AR1,    #0x0040
lri $IX1,    #0xaa98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43673 (0xaa99)

lri $AR1,    #0x0040
lri $IX1,    #0xaa99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43674 (0xaa9a)

lri $AR1,    #0x0040
lri $IX1,    #0xaa9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43675 (0xaa9b)

lri $AR1,    #0x0040
lri $IX1,    #0xaa9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43676 (0xaa9c)

lri $AR1,    #0x0040
lri $IX1,    #0xaa9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43677 (0xaa9d)

lri $AR1,    #0x0040
lri $IX1,    #0xaa9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43678 (0xaa9e)

lri $AR1,    #0x0040
lri $IX1,    #0xaa9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43679 (0xaa9f)

lri $AR1,    #0x0040
lri $IX1,    #0xaa9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43680 (0xaaa0)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43681 (0xaaa1)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43682 (0xaaa2)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43683 (0xaaa3)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43684 (0xaaa4)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43685 (0xaaa5)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43686 (0xaaa6)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43687 (0xaaa7)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43688 (0xaaa8)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43689 (0xaaa9)

lri $AR1,    #0x0040
lri $IX1,    #0xaaa9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43690 (0xaaaa)

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