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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60289 (0xeb81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60290 (0xeb82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60291 (0xeb83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60292 (0xeb84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60293 (0xeb85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60294 (0xeb86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60295 (0xeb87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60296 (0xeb88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60297 (0xeb89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60298 (0xeb8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60299 (0xeb8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60300 (0xeb8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60301 (0xeb8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60302 (0xeb8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60303 (0xeb8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60304 (0xeb90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60305 (0xeb91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60306 (0xeb92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60307 (0xeb93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60308 (0xeb94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60309 (0xeb95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60310 (0xeb96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60311 (0xeb97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60312 (0xeb98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60313 (0xeb99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60314 (0xeb9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60315 (0xeb9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60316 (0xeb9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60317 (0xeb9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60318 (0xeb9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60319 (0xeb9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60320 (0xeba0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60321 (0xeba1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60322 (0xeba2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60323 (0xeba3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60324 (0xeba4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60325 (0xeba5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60326 (0xeba6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60327 (0xeba7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60328 (0xeba8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60329 (0xeba9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60330 (0xebaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60331 (0xebab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60332 (0xebac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60333 (0xebad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60334 (0xebae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60335 (0xebaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60336 (0xebb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60337 (0xebb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60338 (0xebb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60339 (0xebb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60340 (0xebb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60341 (0xebb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60342 (0xebb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60343 (0xebb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60344 (0xebb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60345 (0xebb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60346 (0xebba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60347 (0xebbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60348 (0xebbc)

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

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60350 (0xebbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60351 (0xebbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60352 (0xebc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60353 (0xebc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60354 (0xebc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60355 (0xebc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60356 (0xebc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60357 (0xebc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60358 (0xebc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60359 (0xebc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60360 (0xebc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60361 (0xebc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60362 (0xebca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60363 (0xebcb)

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

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60365 (0xebcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60366 (0xebce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60367 (0xebcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60368 (0xebd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60369 (0xebd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60370 (0xebd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60371 (0xebd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60372 (0xebd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60373 (0xebd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60374 (0xebd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60375 (0xebd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60376 (0xebd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60377 (0xebd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60378 (0xebda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60379 (0xebdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60380 (0xebdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60381 (0xebdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60382 (0xebde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60383 (0xebdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60384 (0xebe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60385 (0xebe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60386 (0xebe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60387 (0xebe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60388 (0xebe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60389 (0xebe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60390 (0xebe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60391 (0xebe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60392 (0xebe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60393 (0xebe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60394 (0xebea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60395 (0xebeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60396 (0xebec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60397 (0xebed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60398 (0xebee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60399 (0xebef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60400 (0xebf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60401 (0xebf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60402 (0xebf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60403 (0xebf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60404 (0xebf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60405 (0xebf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60406 (0xebf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60407 (0xebf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60408 (0xebf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60409 (0xebf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60410 (0xebfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60411 (0xebfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60412 (0xebfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60413 (0xebfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60414 (0xebfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60415 (0xebff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00eb
cw 0x5
call send_back  ; 60416 (0xec00)

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