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

lri $AR1,    #0x0040
lri $IX1,    #0xc3d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50136 (0xc3d8)

lri $AR1,    #0x0040
lri $IX1,    #0xc3d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50137 (0xc3d9)

lri $AR1,    #0x0040
lri $IX1,    #0xc3d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50138 (0xc3da)

lri $AR1,    #0x0040
lri $IX1,    #0xc3da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50139 (0xc3db)

lri $AR1,    #0x0040
lri $IX1,    #0xc3db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50140 (0xc3dc)

lri $AR1,    #0x0040
lri $IX1,    #0xc3dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50141 (0xc3dd)

lri $AR1,    #0x0040
lri $IX1,    #0xc3dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50142 (0xc3de)

lri $AR1,    #0x0040
lri $IX1,    #0xc3de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50143 (0xc3df)

lri $AR1,    #0x0040
lri $IX1,    #0xc3df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50144 (0xc3e0)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50145 (0xc3e1)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50146 (0xc3e2)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50147 (0xc3e3)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50148 (0xc3e4)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50149 (0xc3e5)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50150 (0xc3e6)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50151 (0xc3e7)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50152 (0xc3e8)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50153 (0xc3e9)

lri $AR1,    #0x0040
lri $IX1,    #0xc3e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50154 (0xc3ea)

lri $AR1,    #0x0040
lri $IX1,    #0xc3ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50155 (0xc3eb)

lri $AR1,    #0x0040
lri $IX1,    #0xc3eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50156 (0xc3ec)

lri $AR1,    #0x0040
lri $IX1,    #0xc3ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50157 (0xc3ed)

lri $AR1,    #0x0040
lri $IX1,    #0xc3ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50158 (0xc3ee)

lri $AR1,    #0x0040
lri $IX1,    #0xc3ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50159 (0xc3ef)

lri $AR1,    #0x0040
lri $IX1,    #0xc3ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50160 (0xc3f0)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50161 (0xc3f1)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50162 (0xc3f2)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50163 (0xc3f3)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50164 (0xc3f4)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50165 (0xc3f5)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50166 (0xc3f6)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50167 (0xc3f7)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50168 (0xc3f8)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50169 (0xc3f9)

lri $AR1,    #0x0040
lri $IX1,    #0xc3f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50170 (0xc3fa)

lri $AR1,    #0x0040
lri $IX1,    #0xc3fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50171 (0xc3fb)

lri $AR1,    #0x0040
lri $IX1,    #0xc3fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50172 (0xc3fc)

lri $AR1,    #0x0040
lri $IX1,    #0xc3fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50173 (0xc3fd)

lri $AR1,    #0x0040
lri $IX1,    #0xc3fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50174 (0xc3fe)

lri $AR1,    #0x0040
lri $IX1,    #0xc3fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50175 (0xc3ff)

lri $AR1,    #0x0040
lri $IX1,    #0xc3ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50176 (0xc400)

lri $AR1,    #0x0040
lri $IX1,    #0xc400
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50177 (0xc401)

lri $AR1,    #0x0040
lri $IX1,    #0xc401
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50178 (0xc402)

lri $AR1,    #0x0040
lri $IX1,    #0xc402
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50179 (0xc403)

lri $AR1,    #0x0040
lri $IX1,    #0xc403
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50180 (0xc404)

lri $AR1,    #0x0040
lri $IX1,    #0xc404
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50181 (0xc405)

lri $AR1,    #0x0040
lri $IX1,    #0xc405
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50182 (0xc406)

lri $AR1,    #0x0040
lri $IX1,    #0xc406
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50183 (0xc407)

lri $AR1,    #0x0040
lri $IX1,    #0xc407
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50184 (0xc408)

lri $AR1,    #0x0040
lri $IX1,    #0xc408
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50185 (0xc409)

lri $AR1,    #0x0040
lri $IX1,    #0xc409
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50186 (0xc40a)

lri $AR1,    #0x0040
lri $IX1,    #0xc40a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50187 (0xc40b)

lri $AR1,    #0x0040
lri $IX1,    #0xc40b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50188 (0xc40c)

lri $AR1,    #0x0040
lri $IX1,    #0xc40c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50189 (0xc40d)

lri $AR1,    #0x0040
lri $IX1,    #0xc40d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50190 (0xc40e)

lri $AR1,    #0x0040
lri $IX1,    #0xc40e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50191 (0xc40f)

lri $AR1,    #0x0040
lri $IX1,    #0xc40f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50192 (0xc410)

lri $AR1,    #0x0040
lri $IX1,    #0xc410
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50193 (0xc411)

lri $AR1,    #0x0040
lri $IX1,    #0xc411
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50194 (0xc412)

lri $AR1,    #0x0040
lri $IX1,    #0xc412
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50195 (0xc413)

lri $AR1,    #0x0040
lri $IX1,    #0xc413
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50196 (0xc414)

lri $AR1,    #0x0040
lri $IX1,    #0xc414
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50197 (0xc415)

lri $AR1,    #0x0040
lri $IX1,    #0xc415
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50198 (0xc416)

lri $AR1,    #0x0040
lri $IX1,    #0xc416
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50199 (0xc417)

lri $AR1,    #0x0040
lri $IX1,    #0xc417
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50200 (0xc418)

lri $AR1,    #0x0040
lri $IX1,    #0xc418
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50201 (0xc419)

lri $AR1,    #0x0040
lri $IX1,    #0xc419
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50202 (0xc41a)

lri $AR1,    #0x0040
lri $IX1,    #0xc41a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50203 (0xc41b)

lri $AR1,    #0x0040
lri $IX1,    #0xc41b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50204 (0xc41c)

lri $AR1,    #0x0040
lri $IX1,    #0xc41c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50205 (0xc41d)

lri $AR1,    #0x0040
lri $IX1,    #0xc41d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50206 (0xc41e)

lri $AR1,    #0x0040
lri $IX1,    #0xc41e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50207 (0xc41f)

lri $AR1,    #0x0040
lri $IX1,    #0xc41f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50208 (0xc420)

lri $AR1,    #0x0040
lri $IX1,    #0xc420
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50209 (0xc421)

lri $AR1,    #0x0040
lri $IX1,    #0xc421
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50210 (0xc422)

lri $AR1,    #0x0040
lri $IX1,    #0xc422
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50211 (0xc423)

lri $AR1,    #0x0040
lri $IX1,    #0xc423
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50212 (0xc424)

lri $AR1,    #0x0040
lri $IX1,    #0xc424
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50213 (0xc425)

lri $AR1,    #0x0040
lri $IX1,    #0xc425
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50214 (0xc426)

lri $AR1,    #0x0040
lri $IX1,    #0xc426
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50215 (0xc427)

lri $AR1,    #0x0040
lri $IX1,    #0xc427
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50216 (0xc428)

lri $AR1,    #0x0040
lri $IX1,    #0xc428
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50217 (0xc429)

lri $AR1,    #0x0040
lri $IX1,    #0xc429
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50218 (0xc42a)

lri $AR1,    #0x0040
lri $IX1,    #0xc42a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50219 (0xc42b)

lri $AR1,    #0x0040
lri $IX1,    #0xc42b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50220 (0xc42c)

lri $AR1,    #0x0040
lri $IX1,    #0xc42c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50221 (0xc42d)

lri $AR1,    #0x0040
lri $IX1,    #0xc42d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50222 (0xc42e)

lri $AR1,    #0x0040
lri $IX1,    #0xc42e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50223 (0xc42f)

lri $AR1,    #0x0040
lri $IX1,    #0xc42f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50224 (0xc430)

lri $AR1,    #0x0040
lri $IX1,    #0xc430
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50225 (0xc431)

lri $AR1,    #0x0040
lri $IX1,    #0xc431
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50226 (0xc432)

lri $AR1,    #0x0040
lri $IX1,    #0xc432
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50227 (0xc433)

lri $AR1,    #0x0040
lri $IX1,    #0xc433
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50228 (0xc434)

lri $AR1,    #0x0040
lri $IX1,    #0xc434
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50229 (0xc435)

lri $AR1,    #0x0040
lri $IX1,    #0xc435
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50230 (0xc436)

lri $AR1,    #0x0040
lri $IX1,    #0xc436
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50231 (0xc437)

lri $AR1,    #0x0040
lri $IX1,    #0xc437
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50232 (0xc438)

lri $AR1,    #0x0040
lri $IX1,    #0xc438
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50233 (0xc439)

lri $AR1,    #0x0040
lri $IX1,    #0xc439
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50234 (0xc43a)

lri $AR1,    #0x0040
lri $IX1,    #0xc43a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50235 (0xc43b)

lri $AR1,    #0x0040
lri $IX1,    #0xc43b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50236 (0xc43c)

lri $AR1,    #0x0040
lri $IX1,    #0xc43c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50237 (0xc43d)

lri $AR1,    #0x0040
lri $IX1,    #0xc43d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50238 (0xc43e)

lri $AR1,    #0x0040
lri $IX1,    #0xc43e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50239 (0xc43f)

lri $AR1,    #0x0040
lri $IX1,    #0xc43f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50240 (0xc440)

lri $AR1,    #0x0040
lri $IX1,    #0xc440
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50241 (0xc441)

lri $AR1,    #0x0040
lri $IX1,    #0xc441
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50242 (0xc442)

lri $AR1,    #0x0040
lri $IX1,    #0xc442
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50243 (0xc443)

lri $AR1,    #0x0040
lri $IX1,    #0xc443
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 50244 (0xc444)

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