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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52097 (0xcb81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52098 (0xcb82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52099 (0xcb83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52100 (0xcb84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52101 (0xcb85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52102 (0xcb86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52103 (0xcb87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52104 (0xcb88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52105 (0xcb89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52106 (0xcb8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52107 (0xcb8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52108 (0xcb8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52109 (0xcb8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52110 (0xcb8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52111 (0xcb8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52112 (0xcb90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52113 (0xcb91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52114 (0xcb92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52115 (0xcb93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52116 (0xcb94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52117 (0xcb95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52118 (0xcb96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52119 (0xcb97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52120 (0xcb98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52121 (0xcb99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52122 (0xcb9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52123 (0xcb9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52124 (0xcb9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52125 (0xcb9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52126 (0xcb9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52127 (0xcb9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52128 (0xcba0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52129 (0xcba1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52130 (0xcba2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52131 (0xcba3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52132 (0xcba4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52133 (0xcba5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52134 (0xcba6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52135 (0xcba7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52136 (0xcba8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52137 (0xcba9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52138 (0xcbaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52139 (0xcbab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52140 (0xcbac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52141 (0xcbad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52142 (0xcbae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52143 (0xcbaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52144 (0xcbb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52145 (0xcbb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52146 (0xcbb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52147 (0xcbb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52148 (0xcbb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52149 (0xcbb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52150 (0xcbb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52151 (0xcbb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52152 (0xcbb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52153 (0xcbb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52154 (0xcbba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52155 (0xcbbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52156 (0xcbbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52157 (0xcbbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52158 (0xcbbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52159 (0xcbbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52160 (0xcbc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52161 (0xcbc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52162 (0xcbc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52163 (0xcbc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52164 (0xcbc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52165 (0xcbc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52166 (0xcbc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52167 (0xcbc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52168 (0xcbc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52169 (0xcbc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52170 (0xcbca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52171 (0xcbcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52172 (0xcbcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52173 (0xcbcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52174 (0xcbce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52175 (0xcbcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52176 (0xcbd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52177 (0xcbd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52178 (0xcbd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52179 (0xcbd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52180 (0xcbd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52181 (0xcbd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52182 (0xcbd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52183 (0xcbd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52184 (0xcbd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52185 (0xcbd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52186 (0xcbda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52187 (0xcbdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52188 (0xcbdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52189 (0xcbdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52190 (0xcbde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52191 (0xcbdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52192 (0xcbe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52193 (0xcbe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52194 (0xcbe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52195 (0xcbe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52196 (0xcbe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52197 (0xcbe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52198 (0xcbe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52199 (0xcbe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52200 (0xcbe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52201 (0xcbe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52202 (0xcbea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52203 (0xcbeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52204 (0xcbec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52205 (0xcbed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52206 (0xcbee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52207 (0xcbef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52208 (0xcbf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52209 (0xcbf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52210 (0xcbf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52211 (0xcbf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52212 (0xcbf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52213 (0xcbf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52214 (0xcbf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52215 (0xcbf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52216 (0xcbf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52217 (0xcbf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52218 (0xcbfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52219 (0xcbfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52220 (0xcbfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52221 (0xcbfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52222 (0xcbfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52223 (0xcbff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52224 (0xcc00)

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