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

lri $AR1,    #0xf080
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61569 (0xf081)

lri $AR1,    #0xf081
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61570 (0xf082)

lri $AR1,    #0xf082
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61571 (0xf083)

lri $AR1,    #0xf083
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61572 (0xf084)

lri $AR1,    #0xf084
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61573 (0xf085)

lri $AR1,    #0xf085
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61574 (0xf086)

lri $AR1,    #0xf086
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61575 (0xf087)

lri $AR1,    #0xf087
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61576 (0xf088)

lri $AR1,    #0xf088
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61577 (0xf089)

lri $AR1,    #0xf089
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61578 (0xf08a)

lri $AR1,    #0xf08a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61579 (0xf08b)

lri $AR1,    #0xf08b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61580 (0xf08c)

lri $AR1,    #0xf08c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61581 (0xf08d)

lri $AR1,    #0xf08d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61582 (0xf08e)

lri $AR1,    #0xf08e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61583 (0xf08f)

lri $AR1,    #0xf08f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61584 (0xf090)

lri $AR1,    #0xf090
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61585 (0xf091)

lri $AR1,    #0xf091
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61586 (0xf092)

lri $AR1,    #0xf092
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61587 (0xf093)

lri $AR1,    #0xf093
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61588 (0xf094)

lri $AR1,    #0xf094
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61589 (0xf095)

lri $AR1,    #0xf095
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61590 (0xf096)

lri $AR1,    #0xf096
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61591 (0xf097)

lri $AR1,    #0xf097
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61592 (0xf098)

lri $AR1,    #0xf098
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61593 (0xf099)

lri $AR1,    #0xf099
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61594 (0xf09a)

lri $AR1,    #0xf09a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61595 (0xf09b)

lri $AR1,    #0xf09b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61596 (0xf09c)

lri $AR1,    #0xf09c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61597 (0xf09d)

lri $AR1,    #0xf09d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61598 (0xf09e)

lri $AR1,    #0xf09e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61599 (0xf09f)

lri $AR1,    #0xf09f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61600 (0xf0a0)

lri $AR1,    #0xf0a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61601 (0xf0a1)

lri $AR1,    #0xf0a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61602 (0xf0a2)

lri $AR1,    #0xf0a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61603 (0xf0a3)

lri $AR1,    #0xf0a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61604 (0xf0a4)

lri $AR1,    #0xf0a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61605 (0xf0a5)

lri $AR1,    #0xf0a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61606 (0xf0a6)

lri $AR1,    #0xf0a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61607 (0xf0a7)

lri $AR1,    #0xf0a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61608 (0xf0a8)

lri $AR1,    #0xf0a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61609 (0xf0a9)

lri $AR1,    #0xf0a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61610 (0xf0aa)

lri $AR1,    #0xf0aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61611 (0xf0ab)

lri $AR1,    #0xf0ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61612 (0xf0ac)

lri $AR1,    #0xf0ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61613 (0xf0ad)

lri $AR1,    #0xf0ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61614 (0xf0ae)

lri $AR1,    #0xf0ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61615 (0xf0af)

lri $AR1,    #0xf0af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61616 (0xf0b0)

lri $AR1,    #0xf0b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61617 (0xf0b1)

lri $AR1,    #0xf0b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61618 (0xf0b2)

lri $AR1,    #0xf0b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61619 (0xf0b3)

lri $AR1,    #0xf0b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61620 (0xf0b4)

lri $AR1,    #0xf0b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61621 (0xf0b5)

lri $AR1,    #0xf0b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61622 (0xf0b6)

lri $AR1,    #0xf0b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61623 (0xf0b7)

lri $AR1,    #0xf0b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61624 (0xf0b8)

lri $AR1,    #0xf0b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61625 (0xf0b9)

lri $AR1,    #0xf0b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61626 (0xf0ba)

lri $AR1,    #0xf0ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61627 (0xf0bb)

lri $AR1,    #0xf0bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61628 (0xf0bc)

lri $AR1,    #0xf0bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61629 (0xf0bd)

lri $AR1,    #0xf0bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61630 (0xf0be)

lri $AR1,    #0xf0be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61631 (0xf0bf)

lri $AR1,    #0xf0bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61632 (0xf0c0)

lri $AR1,    #0xf0c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61633 (0xf0c1)

lri $AR1,    #0xf0c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61634 (0xf0c2)

lri $AR1,    #0xf0c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61635 (0xf0c3)

lri $AR1,    #0xf0c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61636 (0xf0c4)

lri $AR1,    #0xf0c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61637 (0xf0c5)

lri $AR1,    #0xf0c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61638 (0xf0c6)

lri $AR1,    #0xf0c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61639 (0xf0c7)

lri $AR1,    #0xf0c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61640 (0xf0c8)

lri $AR1,    #0xf0c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61641 (0xf0c9)

lri $AR1,    #0xf0c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61642 (0xf0ca)

lri $AR1,    #0xf0ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61643 (0xf0cb)

lri $AR1,    #0xf0cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61644 (0xf0cc)

lri $AR1,    #0xf0cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61645 (0xf0cd)

lri $AR1,    #0xf0cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61646 (0xf0ce)

lri $AR1,    #0xf0ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61647 (0xf0cf)

lri $AR1,    #0xf0cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61648 (0xf0d0)

lri $AR1,    #0xf0d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61649 (0xf0d1)

lri $AR1,    #0xf0d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61650 (0xf0d2)

lri $AR1,    #0xf0d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61651 (0xf0d3)

lri $AR1,    #0xf0d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61652 (0xf0d4)

lri $AR1,    #0xf0d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61653 (0xf0d5)

lri $AR1,    #0xf0d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61654 (0xf0d6)

lri $AR1,    #0xf0d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61655 (0xf0d7)

lri $AR1,    #0xf0d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61656 (0xf0d8)

lri $AR1,    #0xf0d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61657 (0xf0d9)

lri $AR1,    #0xf0d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61658 (0xf0da)

lri $AR1,    #0xf0da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61659 (0xf0db)

lri $AR1,    #0xf0db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61660 (0xf0dc)

lri $AR1,    #0xf0dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61661 (0xf0dd)

lri $AR1,    #0xf0dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61662 (0xf0de)

lri $AR1,    #0xf0de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61663 (0xf0df)

lri $AR1,    #0xf0df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61664 (0xf0e0)

lri $AR1,    #0xf0e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61665 (0xf0e1)

lri $AR1,    #0xf0e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61666 (0xf0e2)

lri $AR1,    #0xf0e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61667 (0xf0e3)

lri $AR1,    #0xf0e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61668 (0xf0e4)

lri $AR1,    #0xf0e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61669 (0xf0e5)

lri $AR1,    #0xf0e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61670 (0xf0e6)

lri $AR1,    #0xf0e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61671 (0xf0e7)

lri $AR1,    #0xf0e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61672 (0xf0e8)

lri $AR1,    #0xf0e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61673 (0xf0e9)

lri $AR1,    #0xf0e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61674 (0xf0ea)

lri $AR1,    #0xf0ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61675 (0xf0eb)

lri $AR1,    #0xf0eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61676 (0xf0ec)

lri $AR1,    #0xf0ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61677 (0xf0ed)

lri $AR1,    #0xf0ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61678 (0xf0ee)

lri $AR1,    #0xf0ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61679 (0xf0ef)

lri $AR1,    #0xf0ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61680 (0xf0f0)

lri $AR1,    #0xf0f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61681 (0xf0f1)

lri $AR1,    #0xf0f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61682 (0xf0f2)

lri $AR1,    #0xf0f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61683 (0xf0f3)

lri $AR1,    #0xf0f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61684 (0xf0f4)

lri $AR1,    #0xf0f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61685 (0xf0f5)

lri $AR1,    #0xf0f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61686 (0xf0f6)

lri $AR1,    #0xf0f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61687 (0xf0f7)

lri $AR1,    #0xf0f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61688 (0xf0f8)

lri $AR1,    #0xf0f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61689 (0xf0f9)

lri $AR1,    #0xf0f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61690 (0xf0fa)

lri $AR1,    #0xf0fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61691 (0xf0fb)

lri $AR1,    #0xf0fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61692 (0xf0fc)

lri $AR1,    #0xf0fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61693 (0xf0fd)

lri $AR1,    #0xf0fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61694 (0xf0fe)

lri $AR1,    #0xf0fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61695 (0xf0ff)

lri $AR1,    #0xf0ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61696 (0xf100)

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

