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

lri $AR1,    #0x0040
lri $IX1,    #0xdeb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57017 (0xdeb9)

lri $AR1,    #0x0040
lri $IX1,    #0xdeb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57018 (0xdeba)

lri $AR1,    #0x0040
lri $IX1,    #0xdeba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57019 (0xdebb)

lri $AR1,    #0x0040
lri $IX1,    #0xdebb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57020 (0xdebc)

lri $AR1,    #0x0040
lri $IX1,    #0xdebc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57021 (0xdebd)

lri $AR1,    #0x0040
lri $IX1,    #0xdebd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57022 (0xdebe)

lri $AR1,    #0x0040
lri $IX1,    #0xdebe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57023 (0xdebf)

lri $AR1,    #0x0040
lri $IX1,    #0xdebf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57024 (0xdec0)

lri $AR1,    #0x0040
lri $IX1,    #0xdec0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57025 (0xdec1)

lri $AR1,    #0x0040
lri $IX1,    #0xdec1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57026 (0xdec2)

lri $AR1,    #0x0040
lri $IX1,    #0xdec2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57027 (0xdec3)

lri $AR1,    #0x0040
lri $IX1,    #0xdec3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57028 (0xdec4)

lri $AR1,    #0x0040
lri $IX1,    #0xdec4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57029 (0xdec5)

lri $AR1,    #0x0040
lri $IX1,    #0xdec5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57030 (0xdec6)

lri $AR1,    #0x0040
lri $IX1,    #0xdec6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57031 (0xdec7)

lri $AR1,    #0x0040
lri $IX1,    #0xdec7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57032 (0xdec8)

lri $AR1,    #0x0040
lri $IX1,    #0xdec8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57033 (0xdec9)

lri $AR1,    #0x0040
lri $IX1,    #0xdec9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57034 (0xdeca)

lri $AR1,    #0x0040
lri $IX1,    #0xdeca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57035 (0xdecb)

lri $AR1,    #0x0040
lri $IX1,    #0xdecb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57036 (0xdecc)

lri $AR1,    #0x0040
lri $IX1,    #0xdecc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57037 (0xdecd)

lri $AR1,    #0x0040
lri $IX1,    #0xdecd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57038 (0xdece)

lri $AR1,    #0x0040
lri $IX1,    #0xdece
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57039 (0xdecf)

lri $AR1,    #0x0040
lri $IX1,    #0xdecf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57040 (0xded0)

lri $AR1,    #0x0040
lri $IX1,    #0xded0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57041 (0xded1)

lri $AR1,    #0x0040
lri $IX1,    #0xded1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57042 (0xded2)

lri $AR1,    #0x0040
lri $IX1,    #0xded2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57043 (0xded3)

lri $AR1,    #0x0040
lri $IX1,    #0xded3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57044 (0xded4)

lri $AR1,    #0x0040
lri $IX1,    #0xded4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57045 (0xded5)

lri $AR1,    #0x0040
lri $IX1,    #0xded5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57046 (0xded6)

lri $AR1,    #0x0040
lri $IX1,    #0xded6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57047 (0xded7)

lri $AR1,    #0x0040
lri $IX1,    #0xded7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57048 (0xded8)

lri $AR1,    #0x0040
lri $IX1,    #0xded8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57049 (0xded9)

lri $AR1,    #0x0040
lri $IX1,    #0xded9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57050 (0xdeda)

lri $AR1,    #0x0040
lri $IX1,    #0xdeda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57051 (0xdedb)

lri $AR1,    #0x0040
lri $IX1,    #0xdedb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57052 (0xdedc)

lri $AR1,    #0x0040
lri $IX1,    #0xdedc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57053 (0xdedd)

lri $AR1,    #0x0040
lri $IX1,    #0xdedd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57054 (0xdede)

lri $AR1,    #0x0040
lri $IX1,    #0xdede
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57055 (0xdedf)

lri $AR1,    #0x0040
lri $IX1,    #0xdedf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57056 (0xdee0)

lri $AR1,    #0x0040
lri $IX1,    #0xdee0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57057 (0xdee1)

lri $AR1,    #0x0040
lri $IX1,    #0xdee1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57058 (0xdee2)

lri $AR1,    #0x0040
lri $IX1,    #0xdee2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57059 (0xdee3)

lri $AR1,    #0x0040
lri $IX1,    #0xdee3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57060 (0xdee4)

lri $AR1,    #0x0040
lri $IX1,    #0xdee4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57061 (0xdee5)

lri $AR1,    #0x0040
lri $IX1,    #0xdee5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57062 (0xdee6)

lri $AR1,    #0x0040
lri $IX1,    #0xdee6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57063 (0xdee7)

lri $AR1,    #0x0040
lri $IX1,    #0xdee7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57064 (0xdee8)

lri $AR1,    #0x0040
lri $IX1,    #0xdee8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57065 (0xdee9)

lri $AR1,    #0x0040
lri $IX1,    #0xdee9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57066 (0xdeea)

lri $AR1,    #0x0040
lri $IX1,    #0xdeea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57067 (0xdeeb)

lri $AR1,    #0x0040
lri $IX1,    #0xdeeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57068 (0xdeec)

lri $AR1,    #0x0040
lri $IX1,    #0xdeec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57069 (0xdeed)

lri $AR1,    #0x0040
lri $IX1,    #0xdeed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57070 (0xdeee)

lri $AR1,    #0x0040
lri $IX1,    #0xdeee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57071 (0xdeef)

lri $AR1,    #0x0040
lri $IX1,    #0xdeef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57072 (0xdef0)

lri $AR1,    #0x0040
lri $IX1,    #0xdef0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57073 (0xdef1)

lri $AR1,    #0x0040
lri $IX1,    #0xdef1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57074 (0xdef2)

lri $AR1,    #0x0040
lri $IX1,    #0xdef2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57075 (0xdef3)

lri $AR1,    #0x0040
lri $IX1,    #0xdef3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57076 (0xdef4)

lri $AR1,    #0x0040
lri $IX1,    #0xdef4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57077 (0xdef5)

lri $AR1,    #0x0040
lri $IX1,    #0xdef5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57078 (0xdef6)

lri $AR1,    #0x0040
lri $IX1,    #0xdef6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57079 (0xdef7)

lri $AR1,    #0x0040
lri $IX1,    #0xdef7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57080 (0xdef8)

lri $AR1,    #0x0040
lri $IX1,    #0xdef8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57081 (0xdef9)

lri $AR1,    #0x0040
lri $IX1,    #0xdef9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57082 (0xdefa)

lri $AR1,    #0x0040
lri $IX1,    #0xdefa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57083 (0xdefb)

lri $AR1,    #0x0040
lri $IX1,    #0xdefb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57084 (0xdefc)

lri $AR1,    #0x0040
lri $IX1,    #0xdefc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57085 (0xdefd)

lri $AR1,    #0x0040
lri $IX1,    #0xdefd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57086 (0xdefe)

lri $AR1,    #0x0040
lri $IX1,    #0xdefe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57087 (0xdeff)

lri $AR1,    #0x0040
lri $IX1,    #0xdeff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57088 (0xdf00)

lri $AR1,    #0x0040
lri $IX1,    #0xdf00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57089 (0xdf01)

lri $AR1,    #0x0040
lri $IX1,    #0xdf01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57090 (0xdf02)

lri $AR1,    #0x0040
lri $IX1,    #0xdf02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57091 (0xdf03)

lri $AR1,    #0x0040
lri $IX1,    #0xdf03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57092 (0xdf04)

lri $AR1,    #0x0040
lri $IX1,    #0xdf04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57093 (0xdf05)

lri $AR1,    #0x0040
lri $IX1,    #0xdf05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57094 (0xdf06)

lri $AR1,    #0x0040
lri $IX1,    #0xdf06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57095 (0xdf07)

lri $AR1,    #0x0040
lri $IX1,    #0xdf07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57096 (0xdf08)

lri $AR1,    #0x0040
lri $IX1,    #0xdf08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57097 (0xdf09)

lri $AR1,    #0x0040
lri $IX1,    #0xdf09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57098 (0xdf0a)

lri $AR1,    #0x0040
lri $IX1,    #0xdf0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57099 (0xdf0b)

lri $AR1,    #0x0040
lri $IX1,    #0xdf0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57100 (0xdf0c)

lri $AR1,    #0x0040
lri $IX1,    #0xdf0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57101 (0xdf0d)

lri $AR1,    #0x0040
lri $IX1,    #0xdf0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57102 (0xdf0e)

lri $AR1,    #0x0040
lri $IX1,    #0xdf0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57103 (0xdf0f)

lri $AR1,    #0x0040
lri $IX1,    #0xdf0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57104 (0xdf10)

lri $AR1,    #0x0040
lri $IX1,    #0xdf10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57105 (0xdf11)

lri $AR1,    #0x0040
lri $IX1,    #0xdf11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57106 (0xdf12)

lri $AR1,    #0x0040
lri $IX1,    #0xdf12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57107 (0xdf13)

lri $AR1,    #0x0040
lri $IX1,    #0xdf13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57108 (0xdf14)

lri $AR1,    #0x0040
lri $IX1,    #0xdf14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57109 (0xdf15)

lri $AR1,    #0x0040
lri $IX1,    #0xdf15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57110 (0xdf16)

lri $AR1,    #0x0040
lri $IX1,    #0xdf16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57111 (0xdf17)

lri $AR1,    #0x0040
lri $IX1,    #0xdf17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57112 (0xdf18)

lri $AR1,    #0x0040
lri $IX1,    #0xdf18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57113 (0xdf19)

lri $AR1,    #0x0040
lri $IX1,    #0xdf19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57114 (0xdf1a)

lri $AR1,    #0x0040
lri $IX1,    #0xdf1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57115 (0xdf1b)

lri $AR1,    #0x0040
lri $IX1,    #0xdf1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57116 (0xdf1c)

lri $AR1,    #0x0040
lri $IX1,    #0xdf1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57117 (0xdf1d)

lri $AR1,    #0x0040
lri $IX1,    #0xdf1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57118 (0xdf1e)

lri $AR1,    #0x0040
lri $IX1,    #0xdf1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57119 (0xdf1f)

lri $AR1,    #0x0040
lri $IX1,    #0xdf1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57120 (0xdf20)

lri $AR1,    #0x0040
lri $IX1,    #0xdf20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57121 (0xdf21)

lri $AR1,    #0x0040
lri $IX1,    #0xdf21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57122 (0xdf22)

lri $AR1,    #0x0040
lri $IX1,    #0xdf22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57123 (0xdf23)

lri $AR1,    #0x0040
lri $IX1,    #0xdf23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57124 (0xdf24)

lri $AR1,    #0x0040
lri $IX1,    #0xdf24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 57125 (0xdf25)

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