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

lri $AR1,    #0x4000
lri $IX1,    #0xa980
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43393 (0xa981)

lri $AR1,    #0x4000
lri $IX1,    #0xa981
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43394 (0xa982)

lri $AR1,    #0x4000
lri $IX1,    #0xa982
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43395 (0xa983)

lri $AR1,    #0x4000
lri $IX1,    #0xa983
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43396 (0xa984)

lri $AR1,    #0x4000
lri $IX1,    #0xa984
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43397 (0xa985)

lri $AR1,    #0x4000
lri $IX1,    #0xa985
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43398 (0xa986)

lri $AR1,    #0x4000
lri $IX1,    #0xa986
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43399 (0xa987)

lri $AR1,    #0x4000
lri $IX1,    #0xa987
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43400 (0xa988)

lri $AR1,    #0x4000
lri $IX1,    #0xa988
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43401 (0xa989)

lri $AR1,    #0x4000
lri $IX1,    #0xa989
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43402 (0xa98a)

lri $AR1,    #0x4000
lri $IX1,    #0xa98a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43403 (0xa98b)

lri $AR1,    #0x4000
lri $IX1,    #0xa98b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43404 (0xa98c)

lri $AR1,    #0x4000
lri $IX1,    #0xa98c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43405 (0xa98d)

lri $AR1,    #0x4000
lri $IX1,    #0xa98d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43406 (0xa98e)

lri $AR1,    #0x4000
lri $IX1,    #0xa98e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43407 (0xa98f)

lri $AR1,    #0x4000
lri $IX1,    #0xa98f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43408 (0xa990)

lri $AR1,    #0x4000
lri $IX1,    #0xa990
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43409 (0xa991)

lri $AR1,    #0x4000
lri $IX1,    #0xa991
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43410 (0xa992)

lri $AR1,    #0x4000
lri $IX1,    #0xa992
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43411 (0xa993)

lri $AR1,    #0x4000
lri $IX1,    #0xa993
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43412 (0xa994)

lri $AR1,    #0x4000
lri $IX1,    #0xa994
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43413 (0xa995)

lri $AR1,    #0x4000
lri $IX1,    #0xa995
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43414 (0xa996)

lri $AR1,    #0x4000
lri $IX1,    #0xa996
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43415 (0xa997)

lri $AR1,    #0x4000
lri $IX1,    #0xa997
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43416 (0xa998)

lri $AR1,    #0x4000
lri $IX1,    #0xa998
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43417 (0xa999)

lri $AR1,    #0x4000
lri $IX1,    #0xa999
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43418 (0xa99a)

lri $AR1,    #0x4000
lri $IX1,    #0xa99a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43419 (0xa99b)

lri $AR1,    #0x4000
lri $IX1,    #0xa99b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43420 (0xa99c)

lri $AR1,    #0x4000
lri $IX1,    #0xa99c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43421 (0xa99d)

lri $AR1,    #0x4000
lri $IX1,    #0xa99d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43422 (0xa99e)

lri $AR1,    #0x4000
lri $IX1,    #0xa99e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43423 (0xa99f)

lri $AR1,    #0x4000
lri $IX1,    #0xa99f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43424 (0xa9a0)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43425 (0xa9a1)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43426 (0xa9a2)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43427 (0xa9a3)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43428 (0xa9a4)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43429 (0xa9a5)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43430 (0xa9a6)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43431 (0xa9a7)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43432 (0xa9a8)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43433 (0xa9a9)

lri $AR1,    #0x4000
lri $IX1,    #0xa9a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43434 (0xa9aa)

lri $AR1,    #0x4000
lri $IX1,    #0xa9aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43435 (0xa9ab)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43436 (0xa9ac)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43437 (0xa9ad)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43438 (0xa9ae)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43439 (0xa9af)

lri $AR1,    #0x4000
lri $IX1,    #0xa9af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43440 (0xa9b0)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43441 (0xa9b1)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43442 (0xa9b2)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43443 (0xa9b3)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43444 (0xa9b4)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43445 (0xa9b5)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43446 (0xa9b6)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43447 (0xa9b7)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43448 (0xa9b8)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43449 (0xa9b9)

lri $AR1,    #0x4000
lri $IX1,    #0xa9b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43450 (0xa9ba)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43451 (0xa9bb)

lri $AR1,    #0x4000
lri $IX1,    #0xa9bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43452 (0xa9bc)

lri $AR1,    #0x4000
lri $IX1,    #0xa9bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43453 (0xa9bd)

lri $AR1,    #0x4000
lri $IX1,    #0xa9bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43454 (0xa9be)

lri $AR1,    #0x4000
lri $IX1,    #0xa9be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43455 (0xa9bf)

lri $AR1,    #0x4000
lri $IX1,    #0xa9bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43456 (0xa9c0)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43457 (0xa9c1)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43458 (0xa9c2)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43459 (0xa9c3)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43460 (0xa9c4)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43461 (0xa9c5)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43462 (0xa9c6)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43463 (0xa9c7)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43464 (0xa9c8)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43465 (0xa9c9)

lri $AR1,    #0x4000
lri $IX1,    #0xa9c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43466 (0xa9ca)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43467 (0xa9cb)

lri $AR1,    #0x4000
lri $IX1,    #0xa9cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43468 (0xa9cc)

lri $AR1,    #0x4000
lri $IX1,    #0xa9cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43469 (0xa9cd)

lri $AR1,    #0x4000
lri $IX1,    #0xa9cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43470 (0xa9ce)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43471 (0xa9cf)

lri $AR1,    #0x4000
lri $IX1,    #0xa9cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43472 (0xa9d0)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43473 (0xa9d1)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43474 (0xa9d2)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43475 (0xa9d3)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43476 (0xa9d4)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43477 (0xa9d5)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43478 (0xa9d6)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43479 (0xa9d7)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43480 (0xa9d8)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43481 (0xa9d9)

lri $AR1,    #0x4000
lri $IX1,    #0xa9d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43482 (0xa9da)

lri $AR1,    #0x4000
lri $IX1,    #0xa9da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43483 (0xa9db)

lri $AR1,    #0x4000
lri $IX1,    #0xa9db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43484 (0xa9dc)

lri $AR1,    #0x4000
lri $IX1,    #0xa9dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43485 (0xa9dd)

lri $AR1,    #0x4000
lri $IX1,    #0xa9dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43486 (0xa9de)

lri $AR1,    #0x4000
lri $IX1,    #0xa9de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43487 (0xa9df)

lri $AR1,    #0x4000
lri $IX1,    #0xa9df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43488 (0xa9e0)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43489 (0xa9e1)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43490 (0xa9e2)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43491 (0xa9e3)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43492 (0xa9e4)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43493 (0xa9e5)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43494 (0xa9e6)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43495 (0xa9e7)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43496 (0xa9e8)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43497 (0xa9e9)

lri $AR1,    #0x4000
lri $IX1,    #0xa9e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43498 (0xa9ea)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43499 (0xa9eb)

lri $AR1,    #0x4000
lri $IX1,    #0xa9eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43500 (0xa9ec)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43501 (0xa9ed)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43502 (0xa9ee)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43503 (0xa9ef)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43504 (0xa9f0)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43505 (0xa9f1)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43506 (0xa9f2)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43507 (0xa9f3)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43508 (0xa9f4)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43509 (0xa9f5)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43510 (0xa9f6)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43511 (0xa9f7)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43512 (0xa9f8)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43513 (0xa9f9)

lri $AR1,    #0x4000
lri $IX1,    #0xa9f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43514 (0xa9fa)

lri $AR1,    #0x4000
lri $IX1,    #0xa9fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43515 (0xa9fb)

lri $AR1,    #0x4000
lri $IX1,    #0xa9fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43516 (0xa9fc)

lri $AR1,    #0x4000
lri $IX1,    #0xa9fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43517 (0xa9fd)

lri $AR1,    #0x4000
lri $IX1,    #0xa9fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43518 (0xa9fe)

lri $AR1,    #0x4000
lri $IX1,    #0xa9fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43519 (0xa9ff)

lri $AR1,    #0x4000
lri $IX1,    #0xa9ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43520 (0xaa00)

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

