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

lri $AR1,    #0xa480
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42113 (0xa481)

lri $AR1,    #0xa481
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42114 (0xa482)

lri $AR1,    #0xa482
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42115 (0xa483)

lri $AR1,    #0xa483
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42116 (0xa484)

lri $AR1,    #0xa484
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42117 (0xa485)

lri $AR1,    #0xa485
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42118 (0xa486)

lri $AR1,    #0xa486
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42119 (0xa487)

lri $AR1,    #0xa487
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42120 (0xa488)

lri $AR1,    #0xa488
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42121 (0xa489)

lri $AR1,    #0xa489
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42122 (0xa48a)

lri $AR1,    #0xa48a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42123 (0xa48b)

lri $AR1,    #0xa48b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42124 (0xa48c)

lri $AR1,    #0xa48c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42125 (0xa48d)

lri $AR1,    #0xa48d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42126 (0xa48e)

lri $AR1,    #0xa48e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42127 (0xa48f)

lri $AR1,    #0xa48f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42128 (0xa490)

lri $AR1,    #0xa490
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42129 (0xa491)

lri $AR1,    #0xa491
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42130 (0xa492)

lri $AR1,    #0xa492
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42131 (0xa493)

lri $AR1,    #0xa493
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42132 (0xa494)

lri $AR1,    #0xa494
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42133 (0xa495)

lri $AR1,    #0xa495
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42134 (0xa496)

lri $AR1,    #0xa496
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42135 (0xa497)

lri $AR1,    #0xa497
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42136 (0xa498)

lri $AR1,    #0xa498
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42137 (0xa499)

lri $AR1,    #0xa499
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42138 (0xa49a)

lri $AR1,    #0xa49a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42139 (0xa49b)

lri $AR1,    #0xa49b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42140 (0xa49c)

lri $AR1,    #0xa49c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42141 (0xa49d)

lri $AR1,    #0xa49d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42142 (0xa49e)

lri $AR1,    #0xa49e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42143 (0xa49f)

lri $AR1,    #0xa49f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42144 (0xa4a0)

lri $AR1,    #0xa4a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42145 (0xa4a1)

lri $AR1,    #0xa4a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42146 (0xa4a2)

lri $AR1,    #0xa4a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42147 (0xa4a3)

lri $AR1,    #0xa4a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42148 (0xa4a4)

lri $AR1,    #0xa4a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42149 (0xa4a5)

lri $AR1,    #0xa4a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42150 (0xa4a6)

lri $AR1,    #0xa4a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42151 (0xa4a7)

lri $AR1,    #0xa4a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42152 (0xa4a8)

lri $AR1,    #0xa4a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42153 (0xa4a9)

lri $AR1,    #0xa4a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42154 (0xa4aa)

lri $AR1,    #0xa4aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42155 (0xa4ab)

lri $AR1,    #0xa4ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42156 (0xa4ac)

lri $AR1,    #0xa4ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42157 (0xa4ad)

lri $AR1,    #0xa4ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42158 (0xa4ae)

lri $AR1,    #0xa4ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42159 (0xa4af)

lri $AR1,    #0xa4af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42160 (0xa4b0)

lri $AR1,    #0xa4b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42161 (0xa4b1)

lri $AR1,    #0xa4b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42162 (0xa4b2)

lri $AR1,    #0xa4b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42163 (0xa4b3)

lri $AR1,    #0xa4b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42164 (0xa4b4)

lri $AR1,    #0xa4b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42165 (0xa4b5)

lri $AR1,    #0xa4b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42166 (0xa4b6)

lri $AR1,    #0xa4b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42167 (0xa4b7)

lri $AR1,    #0xa4b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42168 (0xa4b8)

lri $AR1,    #0xa4b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42169 (0xa4b9)

lri $AR1,    #0xa4b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42170 (0xa4ba)

lri $AR1,    #0xa4ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42171 (0xa4bb)

lri $AR1,    #0xa4bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42172 (0xa4bc)

lri $AR1,    #0xa4bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42173 (0xa4bd)

lri $AR1,    #0xa4bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42174 (0xa4be)

lri $AR1,    #0xa4be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42175 (0xa4bf)

lri $AR1,    #0xa4bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42176 (0xa4c0)

lri $AR1,    #0xa4c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42177 (0xa4c1)

lri $AR1,    #0xa4c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42178 (0xa4c2)

lri $AR1,    #0xa4c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42179 (0xa4c3)

lri $AR1,    #0xa4c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42180 (0xa4c4)

lri $AR1,    #0xa4c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42181 (0xa4c5)

lri $AR1,    #0xa4c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42182 (0xa4c6)

lri $AR1,    #0xa4c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42183 (0xa4c7)

lri $AR1,    #0xa4c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42184 (0xa4c8)

lri $AR1,    #0xa4c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42185 (0xa4c9)

lri $AR1,    #0xa4c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42186 (0xa4ca)

lri $AR1,    #0xa4ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42187 (0xa4cb)

lri $AR1,    #0xa4cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42188 (0xa4cc)

lri $AR1,    #0xa4cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42189 (0xa4cd)

lri $AR1,    #0xa4cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42190 (0xa4ce)

lri $AR1,    #0xa4ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42191 (0xa4cf)

lri $AR1,    #0xa4cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42192 (0xa4d0)

lri $AR1,    #0xa4d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42193 (0xa4d1)

lri $AR1,    #0xa4d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42194 (0xa4d2)

lri $AR1,    #0xa4d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42195 (0xa4d3)

lri $AR1,    #0xa4d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42196 (0xa4d4)

lri $AR1,    #0xa4d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42197 (0xa4d5)

lri $AR1,    #0xa4d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42198 (0xa4d6)

lri $AR1,    #0xa4d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42199 (0xa4d7)

lri $AR1,    #0xa4d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42200 (0xa4d8)

lri $AR1,    #0xa4d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42201 (0xa4d9)

lri $AR1,    #0xa4d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42202 (0xa4da)

lri $AR1,    #0xa4da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42203 (0xa4db)

lri $AR1,    #0xa4db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42204 (0xa4dc)

lri $AR1,    #0xa4dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42205 (0xa4dd)

lri $AR1,    #0xa4dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42206 (0xa4de)

lri $AR1,    #0xa4de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42207 (0xa4df)

lri $AR1,    #0xa4df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42208 (0xa4e0)

lri $AR1,    #0xa4e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42209 (0xa4e1)

lri $AR1,    #0xa4e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42210 (0xa4e2)

lri $AR1,    #0xa4e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42211 (0xa4e3)

lri $AR1,    #0xa4e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42212 (0xa4e4)

lri $AR1,    #0xa4e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42213 (0xa4e5)

lri $AR1,    #0xa4e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42214 (0xa4e6)

lri $AR1,    #0xa4e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42215 (0xa4e7)

lri $AR1,    #0xa4e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42216 (0xa4e8)

lri $AR1,    #0xa4e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42217 (0xa4e9)

lri $AR1,    #0xa4e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42218 (0xa4ea)

lri $AR1,    #0xa4ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42219 (0xa4eb)

lri $AR1,    #0xa4eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42220 (0xa4ec)

lri $AR1,    #0xa4ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42221 (0xa4ed)

lri $AR1,    #0xa4ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42222 (0xa4ee)

lri $AR1,    #0xa4ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42223 (0xa4ef)

lri $AR1,    #0xa4ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42224 (0xa4f0)

lri $AR1,    #0xa4f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42225 (0xa4f1)

lri $AR1,    #0xa4f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42226 (0xa4f2)

lri $AR1,    #0xa4f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42227 (0xa4f3)

lri $AR1,    #0xa4f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42228 (0xa4f4)

lri $AR1,    #0xa4f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42229 (0xa4f5)

lri $AR1,    #0xa4f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42230 (0xa4f6)

lri $AR1,    #0xa4f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42231 (0xa4f7)

lri $AR1,    #0xa4f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42232 (0xa4f8)

lri $AR1,    #0xa4f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42233 (0xa4f9)

lri $AR1,    #0xa4f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42234 (0xa4fa)

lri $AR1,    #0xa4fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42235 (0xa4fb)

lri $AR1,    #0xa4fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42236 (0xa4fc)

lri $AR1,    #0xa4fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42237 (0xa4fd)

lri $AR1,    #0xa4fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42238 (0xa4fe)

lri $AR1,    #0xa4fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42239 (0xa4ff)

lri $AR1,    #0xa4ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42240 (0xa500)

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

