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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48257 (0xbc81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48258 (0xbc82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48259 (0xbc83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48260 (0xbc84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48261 (0xbc85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48262 (0xbc86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48263 (0xbc87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48264 (0xbc88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48265 (0xbc89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48266 (0xbc8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48267 (0xbc8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48268 (0xbc8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48269 (0xbc8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48270 (0xbc8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48271 (0xbc8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48272 (0xbc90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48273 (0xbc91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48274 (0xbc92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48275 (0xbc93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48276 (0xbc94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48277 (0xbc95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48278 (0xbc96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48279 (0xbc97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48280 (0xbc98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48281 (0xbc99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48282 (0xbc9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48283 (0xbc9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48284 (0xbc9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48285 (0xbc9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48286 (0xbc9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48287 (0xbc9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48288 (0xbca0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48289 (0xbca1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48290 (0xbca2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48291 (0xbca3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48292 (0xbca4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48293 (0xbca5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48294 (0xbca6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48295 (0xbca7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48296 (0xbca8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48297 (0xbca9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48298 (0xbcaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48299 (0xbcab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48300 (0xbcac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48301 (0xbcad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48302 (0xbcae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48303 (0xbcaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48304 (0xbcb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48305 (0xbcb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48306 (0xbcb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48307 (0xbcb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48308 (0xbcb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48309 (0xbcb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48310 (0xbcb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48311 (0xbcb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48312 (0xbcb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48313 (0xbcb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48314 (0xbcba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48315 (0xbcbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48316 (0xbcbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48317 (0xbcbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48318 (0xbcbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48319 (0xbcbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48320 (0xbcc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48321 (0xbcc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48322 (0xbcc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48323 (0xbcc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48324 (0xbcc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48325 (0xbcc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48326 (0xbcc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48327 (0xbcc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48328 (0xbcc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48329 (0xbcc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48330 (0xbcca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48331 (0xbccb)

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

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48333 (0xbccd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48334 (0xbcce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48335 (0xbccf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48336 (0xbcd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48337 (0xbcd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48338 (0xbcd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48339 (0xbcd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48340 (0xbcd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48341 (0xbcd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48342 (0xbcd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48343 (0xbcd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48344 (0xbcd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48345 (0xbcd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48346 (0xbcda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48347 (0xbcdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48348 (0xbcdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48349 (0xbcdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48350 (0xbcde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48351 (0xbcdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48352 (0xbce0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48353 (0xbce1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48354 (0xbce2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48355 (0xbce3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48356 (0xbce4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48357 (0xbce5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48358 (0xbce6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48359 (0xbce7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48360 (0xbce8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48361 (0xbce9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48362 (0xbcea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48363 (0xbceb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48364 (0xbcec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48365 (0xbced)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48366 (0xbcee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48367 (0xbcef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48368 (0xbcf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48369 (0xbcf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48370 (0xbcf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48371 (0xbcf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48372 (0xbcf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48373 (0xbcf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48374 (0xbcf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48375 (0xbcf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48376 (0xbcf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48377 (0xbcf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48378 (0xbcfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48379 (0xbcfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48380 (0xbcfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48381 (0xbcfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48382 (0xbcfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48383 (0xbcff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00bc
cw 0x5
call send_back  ; 48384 (0xbd00)

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