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

lri $AR1,    #0x0040
lri $IX1,    #0xeccc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60621 (0xeccd)

lri $AR1,    #0x0040
lri $IX1,    #0xeccd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60622 (0xecce)

lri $AR1,    #0x0040
lri $IX1,    #0xecce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60623 (0xeccf)

lri $AR1,    #0x0040
lri $IX1,    #0xeccf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60624 (0xecd0)

lri $AR1,    #0x0040
lri $IX1,    #0xecd0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60625 (0xecd1)

lri $AR1,    #0x0040
lri $IX1,    #0xecd1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60626 (0xecd2)

lri $AR1,    #0x0040
lri $IX1,    #0xecd2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60627 (0xecd3)

lri $AR1,    #0x0040
lri $IX1,    #0xecd3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60628 (0xecd4)

lri $AR1,    #0x0040
lri $IX1,    #0xecd4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60629 (0xecd5)

lri $AR1,    #0x0040
lri $IX1,    #0xecd5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60630 (0xecd6)

lri $AR1,    #0x0040
lri $IX1,    #0xecd6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60631 (0xecd7)

lri $AR1,    #0x0040
lri $IX1,    #0xecd7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60632 (0xecd8)

lri $AR1,    #0x0040
lri $IX1,    #0xecd8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60633 (0xecd9)

lri $AR1,    #0x0040
lri $IX1,    #0xecd9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60634 (0xecda)

lri $AR1,    #0x0040
lri $IX1,    #0xecda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60635 (0xecdb)

lri $AR1,    #0x0040
lri $IX1,    #0xecdb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60636 (0xecdc)

lri $AR1,    #0x0040
lri $IX1,    #0xecdc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60637 (0xecdd)

lri $AR1,    #0x0040
lri $IX1,    #0xecdd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60638 (0xecde)

lri $AR1,    #0x0040
lri $IX1,    #0xecde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60639 (0xecdf)

lri $AR1,    #0x0040
lri $IX1,    #0xecdf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60640 (0xece0)

lri $AR1,    #0x0040
lri $IX1,    #0xece0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60641 (0xece1)

lri $AR1,    #0x0040
lri $IX1,    #0xece1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60642 (0xece2)

lri $AR1,    #0x0040
lri $IX1,    #0xece2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60643 (0xece3)

lri $AR1,    #0x0040
lri $IX1,    #0xece3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60644 (0xece4)

lri $AR1,    #0x0040
lri $IX1,    #0xece4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60645 (0xece5)

lri $AR1,    #0x0040
lri $IX1,    #0xece5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60646 (0xece6)

lri $AR1,    #0x0040
lri $IX1,    #0xece6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60647 (0xece7)

lri $AR1,    #0x0040
lri $IX1,    #0xece7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60648 (0xece8)

lri $AR1,    #0x0040
lri $IX1,    #0xece8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60649 (0xece9)

lri $AR1,    #0x0040
lri $IX1,    #0xece9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60650 (0xecea)

lri $AR1,    #0x0040
lri $IX1,    #0xecea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60651 (0xeceb)

lri $AR1,    #0x0040
lri $IX1,    #0xeceb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60652 (0xecec)

lri $AR1,    #0x0040
lri $IX1,    #0xecec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60653 (0xeced)

lri $AR1,    #0x0040
lri $IX1,    #0xeced
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60654 (0xecee)

lri $AR1,    #0x0040
lri $IX1,    #0xecee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60655 (0xecef)

lri $AR1,    #0x0040
lri $IX1,    #0xecef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60656 (0xecf0)

lri $AR1,    #0x0040
lri $IX1,    #0xecf0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60657 (0xecf1)

lri $AR1,    #0x0040
lri $IX1,    #0xecf1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60658 (0xecf2)

lri $AR1,    #0x0040
lri $IX1,    #0xecf2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60659 (0xecf3)

lri $AR1,    #0x0040
lri $IX1,    #0xecf3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60660 (0xecf4)

lri $AR1,    #0x0040
lri $IX1,    #0xecf4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60661 (0xecf5)

lri $AR1,    #0x0040
lri $IX1,    #0xecf5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60662 (0xecf6)

lri $AR1,    #0x0040
lri $IX1,    #0xecf6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60663 (0xecf7)

lri $AR1,    #0x0040
lri $IX1,    #0xecf7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60664 (0xecf8)

lri $AR1,    #0x0040
lri $IX1,    #0xecf8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60665 (0xecf9)

lri $AR1,    #0x0040
lri $IX1,    #0xecf9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60666 (0xecfa)

lri $AR1,    #0x0040
lri $IX1,    #0xecfa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60667 (0xecfb)

lri $AR1,    #0x0040
lri $IX1,    #0xecfb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60668 (0xecfc)

lri $AR1,    #0x0040
lri $IX1,    #0xecfc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60669 (0xecfd)

lri $AR1,    #0x0040
lri $IX1,    #0xecfd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60670 (0xecfe)

lri $AR1,    #0x0040
lri $IX1,    #0xecfe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60671 (0xecff)

lri $AR1,    #0x0040
lri $IX1,    #0xecff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60672 (0xed00)

lri $AR1,    #0x0040
lri $IX1,    #0xed00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60673 (0xed01)

lri $AR1,    #0x0040
lri $IX1,    #0xed01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60674 (0xed02)

lri $AR1,    #0x0040
lri $IX1,    #0xed02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60675 (0xed03)

lri $AR1,    #0x0040
lri $IX1,    #0xed03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60676 (0xed04)

lri $AR1,    #0x0040
lri $IX1,    #0xed04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60677 (0xed05)

lri $AR1,    #0x0040
lri $IX1,    #0xed05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60678 (0xed06)

lri $AR1,    #0x0040
lri $IX1,    #0xed06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60679 (0xed07)

lri $AR1,    #0x0040
lri $IX1,    #0xed07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60680 (0xed08)

lri $AR1,    #0x0040
lri $IX1,    #0xed08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60681 (0xed09)

lri $AR1,    #0x0040
lri $IX1,    #0xed09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60682 (0xed0a)

lri $AR1,    #0x0040
lri $IX1,    #0xed0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60683 (0xed0b)

lri $AR1,    #0x0040
lri $IX1,    #0xed0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60684 (0xed0c)

lri $AR1,    #0x0040
lri $IX1,    #0xed0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60685 (0xed0d)

lri $AR1,    #0x0040
lri $IX1,    #0xed0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60686 (0xed0e)

lri $AR1,    #0x0040
lri $IX1,    #0xed0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60687 (0xed0f)

lri $AR1,    #0x0040
lri $IX1,    #0xed0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60688 (0xed10)

lri $AR1,    #0x0040
lri $IX1,    #0xed10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60689 (0xed11)

lri $AR1,    #0x0040
lri $IX1,    #0xed11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60690 (0xed12)

lri $AR1,    #0x0040
lri $IX1,    #0xed12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60691 (0xed13)

lri $AR1,    #0x0040
lri $IX1,    #0xed13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60692 (0xed14)

lri $AR1,    #0x0040
lri $IX1,    #0xed14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60693 (0xed15)

lri $AR1,    #0x0040
lri $IX1,    #0xed15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60694 (0xed16)

lri $AR1,    #0x0040
lri $IX1,    #0xed16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60695 (0xed17)

lri $AR1,    #0x0040
lri $IX1,    #0xed17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60696 (0xed18)

lri $AR1,    #0x0040
lri $IX1,    #0xed18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60697 (0xed19)

lri $AR1,    #0x0040
lri $IX1,    #0xed19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60698 (0xed1a)

lri $AR1,    #0x0040
lri $IX1,    #0xed1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60699 (0xed1b)

lri $AR1,    #0x0040
lri $IX1,    #0xed1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60700 (0xed1c)

lri $AR1,    #0x0040
lri $IX1,    #0xed1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60701 (0xed1d)

lri $AR1,    #0x0040
lri $IX1,    #0xed1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60702 (0xed1e)

lri $AR1,    #0x0040
lri $IX1,    #0xed1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60703 (0xed1f)

lri $AR1,    #0x0040
lri $IX1,    #0xed1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60704 (0xed20)

lri $AR1,    #0x0040
lri $IX1,    #0xed20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60705 (0xed21)

lri $AR1,    #0x0040
lri $IX1,    #0xed21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60706 (0xed22)

lri $AR1,    #0x0040
lri $IX1,    #0xed22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60707 (0xed23)

lri $AR1,    #0x0040
lri $IX1,    #0xed23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60708 (0xed24)

lri $AR1,    #0x0040
lri $IX1,    #0xed24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60709 (0xed25)

lri $AR1,    #0x0040
lri $IX1,    #0xed25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60710 (0xed26)

lri $AR1,    #0x0040
lri $IX1,    #0xed26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60711 (0xed27)

lri $AR1,    #0x0040
lri $IX1,    #0xed27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60712 (0xed28)

lri $AR1,    #0x0040
lri $IX1,    #0xed28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60713 (0xed29)

lri $AR1,    #0x0040
lri $IX1,    #0xed29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60714 (0xed2a)

lri $AR1,    #0x0040
lri $IX1,    #0xed2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60715 (0xed2b)

lri $AR1,    #0x0040
lri $IX1,    #0xed2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60716 (0xed2c)

lri $AR1,    #0x0040
lri $IX1,    #0xed2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60717 (0xed2d)

lri $AR1,    #0x0040
lri $IX1,    #0xed2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60718 (0xed2e)

lri $AR1,    #0x0040
lri $IX1,    #0xed2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60719 (0xed2f)

lri $AR1,    #0x0040
lri $IX1,    #0xed2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60720 (0xed30)

lri $AR1,    #0x0040
lri $IX1,    #0xed30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60721 (0xed31)

lri $AR1,    #0x0040
lri $IX1,    #0xed31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60722 (0xed32)

lri $AR1,    #0x0040
lri $IX1,    #0xed32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60723 (0xed33)

lri $AR1,    #0x0040
lri $IX1,    #0xed33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60724 (0xed34)

lri $AR1,    #0x0040
lri $IX1,    #0xed34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60725 (0xed35)

lri $AR1,    #0x0040
lri $IX1,    #0xed35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60726 (0xed36)

lri $AR1,    #0x0040
lri $IX1,    #0xed36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60727 (0xed37)

lri $AR1,    #0x0040
lri $IX1,    #0xed37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60728 (0xed38)

lri $AR1,    #0x0040
lri $IX1,    #0xed38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60729 (0xed39)

lri $AR1,    #0x0040
lri $IX1,    #0xed39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60730 (0xed3a)

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