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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61313 (0xef81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61314 (0xef82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61315 (0xef83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61316 (0xef84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61317 (0xef85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61318 (0xef86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61319 (0xef87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61320 (0xef88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61321 (0xef89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61322 (0xef8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61323 (0xef8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61324 (0xef8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61325 (0xef8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61326 (0xef8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61327 (0xef8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61328 (0xef90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61329 (0xef91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61330 (0xef92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61331 (0xef93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61332 (0xef94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61333 (0xef95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61334 (0xef96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61335 (0xef97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61336 (0xef98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61337 (0xef99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61338 (0xef9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61339 (0xef9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61340 (0xef9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61341 (0xef9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61342 (0xef9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61343 (0xef9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61344 (0xefa0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61345 (0xefa1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61346 (0xefa2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61347 (0xefa3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61348 (0xefa4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61349 (0xefa5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61350 (0xefa6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61351 (0xefa7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61352 (0xefa8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61353 (0xefa9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61354 (0xefaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61355 (0xefab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61356 (0xefac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61357 (0xefad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61358 (0xefae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61359 (0xefaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61360 (0xefb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61361 (0xefb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61362 (0xefb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61363 (0xefb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61364 (0xefb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61365 (0xefb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61366 (0xefb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61367 (0xefb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61368 (0xefb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61369 (0xefb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61370 (0xefba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61371 (0xefbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61372 (0xefbc)

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

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61374 (0xefbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61375 (0xefbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61376 (0xefc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61377 (0xefc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61378 (0xefc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61379 (0xefc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61380 (0xefc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61381 (0xefc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61382 (0xefc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61383 (0xefc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61384 (0xefc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61385 (0xefc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61386 (0xefca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61387 (0xefcb)

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

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61389 (0xefcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61390 (0xefce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61391 (0xefcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61392 (0xefd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61393 (0xefd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61394 (0xefd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61395 (0xefd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61396 (0xefd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61397 (0xefd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61398 (0xefd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61399 (0xefd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61400 (0xefd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61401 (0xefd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61402 (0xefda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61403 (0xefdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61404 (0xefdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61405 (0xefdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61406 (0xefde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61407 (0xefdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61408 (0xefe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61409 (0xefe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61410 (0xefe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61411 (0xefe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61412 (0xefe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61413 (0xefe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61414 (0xefe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61415 (0xefe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61416 (0xefe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61417 (0xefe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61418 (0xefea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61419 (0xefeb)

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

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61421 (0xefed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61422 (0xefee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61423 (0xefef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61424 (0xeff0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61425 (0xeff1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61426 (0xeff2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61427 (0xeff3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61428 (0xeff4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61429 (0xeff5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61430 (0xeff6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61431 (0xeff7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61432 (0xeff8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61433 (0xeff9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61434 (0xeffa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61435 (0xeffb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61436 (0xeffc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61437 (0xeffd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61438 (0xeffe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61439 (0xefff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61440 (0xf000)

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