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

lri $AR1,    #0x56a9
lri $IX1,    #0x612e
lri $WR1,    #0x8a24
cw 0xd
call send_back  ; 55379 (0xd853)

lri $AR1,    #0xe991
lri $IX1,    #0x036e
lri $WR1,    #0x81c7
cw 0xd
call send_back  ; 55380 (0xd854)

lri $AR1,    #0x693e
lri $IX1,    #0xa80a
lri $WR1,    #0x2345
cw 0xd
call send_back  ; 55381 (0xd855)

lri $AR1,    #0xc93d
lri $IX1,    #0xa868
lri $WR1,    #0xadab
cw 0xd
call send_back  ; 55382 (0xd856)

lri $AR1,    #0x7b09
lri $IX1,    #0x69e0
lri $WR1,    #0x2fe5
cw 0xd
call send_back  ; 55383 (0xd857)

lri $AR1,    #0x85c0
lri $IX1,    #0x77cc
lri $WR1,    #0x3703
cw 0xd
call send_back  ; 55384 (0xd858)

lri $AR1,    #0xb061
lri $IX1,    #0x9014
lri $WR1,    #0x3124
cw 0xd
call send_back  ; 55385 (0xd859)

lri $AR1,    #0x64d0
lri $IX1,    #0x1ae8
lri $WR1,    #0xbabb
cw 0xd
call send_back  ; 55386 (0xd85a)

lri $AR1,    #0x6580
lri $IX1,    #0x960e
lri $WR1,    #0x5d1e
cw 0xd
call send_back  ; 55387 (0xd85b)

lri $AR1,    #0x56ff
lri $IX1,    #0x9f98
lri $WR1,    #0x5b00
cw 0xd
call send_back  ; 55388 (0xd85c)

lri $AR1,    #0x5a4e
lri $IX1,    #0x6338
lri $WR1,    #0x60de
cw 0xd
call send_back  ; 55389 (0xd85d)

lri $AR1,    #0x643d
lri $IX1,    #0x191c
lri $WR1,    #0x2cf2
cw 0xd
call send_back  ; 55390 (0xd85e)

lri $AR1,    #0x81a7
lri $IX1,    #0xe492
lri $WR1,    #0xe3be
cw 0xd
call send_back  ; 55391 (0xd85f)

lri $AR1,    #0x2fe0
lri $IX1,    #0x9452
lri $WR1,    #0xabc0
cw 0xd
call send_back  ; 55392 (0xd860)

lri $AR1,    #0x3c1e
lri $IX1,    #0x6dae
lri $WR1,    #0xb452
cw 0xd
call send_back  ; 55393 (0xd861)

lri $AR1,    #0x9c2e
lri $IX1,    #0x2784
lri $WR1,    #0xd95a
cw 0xd
call send_back  ; 55394 (0xd862)

lri $AR1,    #0xc64d
lri $IX1,    #0x6940
lri $WR1,    #0x86ce
cw 0xd
call send_back  ; 55395 (0xd863)

lri $AR1,    #0x9566
lri $IX1,    #0x65b2
lri $WR1,    #0x3497
cw 0xd
call send_back  ; 55396 (0xd864)

lri $AR1,    #0x229a
lri $IX1,    #0x6122
lri $WR1,    #0xacf3
cw 0xd
call send_back  ; 55397 (0xd865)

lri $AR1,    #0x8c47
lri $IX1,    #0xfd56
lri $WR1,    #0xacd8
cw 0xd
call send_back  ; 55398 (0xd866)

lri $AR1,    #0x467c
lri $IX1,    #0xe5e2
lri $WR1,    #0xaf71
cw 0xd
call send_back  ; 55399 (0xd867)

lri $AR1,    #0x2812
lri $IX1,    #0xcaaa
lri $WR1,    #0xbb37
cw 0xd
call send_back  ; 55400 (0xd868)

lri $AR1,    #0x5346
lri $IX1,    #0x5dbe
lri $WR1,    #0x30d1
cw 0xd
call send_back  ; 55401 (0xd869)

lri $AR1,    #0x3820
lri $IX1,    #0x2578
lri $WR1,    #0xc927
cw 0xd
call send_back  ; 55402 (0xd86a)

lri $AR1,    #0xa272
lri $IX1,    #0x4338
lri $WR1,    #0x81de
cw 0xd
call send_back  ; 55403 (0xd86b)

lri $AR1,    #0x6cd9
lri $IX1,    #0xb260
lri $WR1,    #0x8ca5
cw 0xd
call send_back  ; 55404 (0xd86c)

lri $AR1,    #0xed61
lri $IX1,    #0xdb1a
lri $WR1,    #0xcf8e
cw 0xd
call send_back  ; 55405 (0xd86d)

lri $AR1,    #0x604b
lri $IX1,    #0x7f94
lri $WR1,    #0x81da
cw 0xd
call send_back  ; 55406 (0xd86e)

lri $AR1,    #0x58a9
lri $IX1,    #0xe9fe
lri $WR1,    #0xd268
cw 0xd
call send_back  ; 55407 (0xd86f)

lri $AR1,    #0x7629
lri $IX1,    #0xb534
lri $WR1,    #0xaa43
cw 0xd
call send_back  ; 55408 (0xd870)

lri $AR1,    #0xaadd
lri $IX1,    #0x7152
lri $WR1,    #0x676b
cw 0xd
call send_back  ; 55409 (0xd871)

lri $AR1,    #0x9b55
lri $IX1,    #0xa106
lri $WR1,    #0x395c
cw 0xd
call send_back  ; 55410 (0xd872)

lri $AR1,    #0x76d1
lri $IX1,    #0xfbe8
lri $WR1,    #0x7a77
cw 0xd
call send_back  ; 55411 (0xd873)

lri $AR1,    #0x6ce8
lri $IX1,    #0x65c2
lri $WR1,    #0xd6c7
cw 0xd
call send_back  ; 55412 (0xd874)

lri $AR1,    #0x8166
lri $IX1,    #0x81f2
lri $WR1,    #0xaa3a
cw 0xd
call send_back  ; 55413 (0xd875)

lri $AR1,    #0x4ebe
lri $IX1,    #0x15de
lri $WR1,    #0x9df0
cw 0xd
call send_back  ; 55414 (0xd876)

lri $AR1,    #0x2ad2
lri $IX1,    #0x6c9c
lri $WR1,    #0x0d8e
cw 0xd
call send_back  ; 55415 (0xd877)

lri $AR1,    #0x7975
lri $IX1,    #0x81d6
lri $WR1,    #0x833e
cw 0xd
call send_back  ; 55416 (0xd878)

lri $AR1,    #0xa362
lri $IX1,    #0xc102
lri $WR1,    #0x826a
cw 0xd
call send_back  ; 55417 (0xd879)

lri $AR1,    #0x8800
lri $IX1,    #0x81ec
lri $WR1,    #0x46b2
cw 0xd
call send_back  ; 55418 (0xd87a)

lri $AR1,    #0xb3cb
lri $IX1,    #0xfac0
lri $WR1,    #0x6e44
cw 0xd
call send_back  ; 55419 (0xd87b)

lri $AR1,    #0x8ca6
lri $IX1,    #0x037a
lri $WR1,    #0x9c12
cw 0xd
call send_back  ; 55420 (0xd87c)

lri $AR1,    #0x60ec
lri $IX1,    #0x9dfc
lri $WR1,    #0x5800
cw 0xd
call send_back  ; 55421 (0xd87d)

lri $AR1,    #0xb58f
lri $IX1,    #0xa1b2
lri $WR1,    #0xb095
cw 0xd
call send_back  ; 55422 (0xd87e)

lri $AR1,    #0x3316
lri $IX1,    #0x08ec
lri $WR1,    #0xc34c
cw 0xd
call send_back  ; 55423 (0xd87f)

lri $AR1,    #0x88c9
lri $IX1,    #0x11ee
lri $WR1,    #0x3602
cw 0xd
call send_back  ; 55424 (0xd880)

lri $AR1,    #0x68d9
lri $IX1,    #0x8cdc
lri $WR1,    #0x3598
cw 0xd
call send_back  ; 55425 (0xd881)

lri $AR1,    #0xbfd5
lri $IX1,    #0x2b6e
lri $WR1,    #0x9b63
cw 0xd
call send_back  ; 55426 (0xd882)

lri $AR1,    #0x5d44
lri $IX1,    #0x56b4
lri $WR1,    #0xcc6f
cw 0xd
call send_back  ; 55427 (0xd883)

lri $AR1,    #0x4aa6
lri $IX1,    #0xd2aa
lri $WR1,    #0x9b24
cw 0xd
call send_back  ; 55428 (0xd884)

lri $AR1,    #0x69b4
lri $IX1,    #0x2f0a
lri $WR1,    #0xcd68
cw 0xd
call send_back  ; 55429 (0xd885)

lri $AR1,    #0x8232
lri $IX1,    #0x9014
lri $WR1,    #0xc6c1
cw 0xd
call send_back  ; 55430 (0xd886)

lri $AR1,    #0x8b1a
lri $IX1,    #0x99a2
lri $WR1,    #0x978d
cw 0xd
call send_back  ; 55431 (0xd887)

lri $AR1,    #0x9278
lri $IX1,    #0x1a60
lri $WR1,    #0x37e9
cw 0xd
call send_back  ; 55432 (0xd888)

lri $AR1,    #0x92c2
lri $IX1,    #0x5c72
lri $WR1,    #0x5e3f
cw 0xd
call send_back  ; 55433 (0xd889)

lri $AR1,    #0x2403
lri $IX1,    #0x9c50
lri $WR1,    #0x8f2a
cw 0xd
call send_back  ; 55434 (0xd88a)

lri $AR1,    #0x2a9b
lri $IX1,    #0xf636
lri $WR1,    #0x95a1
cw 0xd
call send_back  ; 55435 (0xd88b)

lri $AR1,    #0x4cf7
lri $IX1,    #0xfdf6
lri $WR1,    #0xe817
cw 0xd
call send_back  ; 55436 (0xd88c)

lri $AR1,    #0x7500
lri $IX1,    #0x0c6e
lri $WR1,    #0x7880
cw 0xd
call send_back  ; 55437 (0xd88d)

lri $AR1,    #0x5199
lri $IX1,    #0xf984
lri $WR1,    #0xeaf0
cw 0xd
call send_back  ; 55438 (0xd88e)

lri $AR1,    #0x8fff
lri $IX1,    #0x58ec
lri $WR1,    #0x0fbb
cw 0xd
call send_back  ; 55439 (0xd88f)

lri $AR1,    #0xbc52
lri $IX1,    #0x438e
lri $WR1,    #0xa3cc
cw 0xd
call send_back  ; 55440 (0xd890)

lri $AR1,    #0x4421
lri $IX1,    #0x1ed8
lri $WR1,    #0x232a
cw 0xd
call send_back  ; 55441 (0xd891)

lri $AR1,    #0xd53e
lri $IX1,    #0x8ed0
lri $WR1,    #0x473f
cw 0xd
call send_back  ; 55442 (0xd892)

lri $AR1,    #0xa6b5
lri $IX1,    #0xaf38
lri $WR1,    #0x7c04
cw 0xd
call send_back  ; 55443 (0xd893)

lri $AR1,    #0x812f
lri $IX1,    #0xb37e
lri $WR1,    #0x8c82
cw 0xd
call send_back  ; 55444 (0xd894)

lri $AR1,    #0x7792
lri $IX1,    #0x04fa
lri $WR1,    #0x60d0
cw 0xd
call send_back  ; 55445 (0xd895)

lri $AR1,    #0x1035
lri $IX1,    #0xc206
lri $WR1,    #0xc51b
cw 0xd
call send_back  ; 55446 (0xd896)

lri $AR1,    #0x8266
lri $IX1,    #0x0080
lri $WR1,    #0xb2c0
cw 0xd
call send_back  ; 55447 (0xd897)

lri $AR1,    #0x83aa
lri $IX1,    #0x495a
lri $WR1,    #0x5a07
cw 0xd
call send_back  ; 55448 (0xd898)

lri $AR1,    #0x4b77
lri $IX1,    #0x4a9e
lri $WR1,    #0x14a1
cw 0xd
call send_back  ; 55449 (0xd899)

lri $AR1,    #0x53b8
lri $IX1,    #0x98b4
lri $WR1,    #0x565f
cw 0xd
call send_back  ; 55450 (0xd89a)

lri $AR1,    #0xcff2
lri $IX1,    #0x672a
lri $WR1,    #0x8344
cw 0xd
call send_back  ; 55451 (0xd89b)

lri $AR1,    #0xbc5d
lri $IX1,    #0x44e6
lri $WR1,    #0xa782
cw 0xd
call send_back  ; 55452 (0xd89c)

lri $AR1,    #0xa1ac
lri $IX1,    #0xff00
lri $WR1,    #0x4762
cw 0xd
call send_back  ; 55453 (0xd89d)

lri $AR1,    #0x99f9
lri $IX1,    #0xb91c
lri $WR1,    #0x3abd
cw 0xd
call send_back  ; 55454 (0xd89e)

lri $AR1,    #0xa671
lri $IX1,    #0xe98e
lri $WR1,    #0xa904
cw 0xd
call send_back  ; 55455 (0xd89f)

lri $AR1,    #0x5d53
lri $IX1,    #0x1b24
lri $WR1,    #0xa072
cw 0xd
call send_back  ; 55456 (0xd8a0)

lri $AR1,    #0x42c6
lri $IX1,    #0xfdd8
lri $WR1,    #0x4c70
cw 0xd
call send_back  ; 55457 (0xd8a1)

lri $AR1,    #0x9f21
lri $IX1,    #0x4b3c
lri $WR1,    #0x5cc1
cw 0xd
call send_back  ; 55458 (0xd8a2)

lri $AR1,    #0xb835
lri $IX1,    #0x3300
lri $WR1,    #0x2089
cw 0xd
call send_back  ; 55459 (0xd8a3)

lri $AR1,    #0x5b13
lri $IX1,    #0x474e
lri $WR1,    #0x8daf
cw 0xd
call send_back  ; 55460 (0xd8a4)

lri $AR1,    #0x7f11
lri $IX1,    #0x1852
lri $WR1,    #0x46bf
cw 0xd
call send_back  ; 55461 (0xd8a5)

lri $AR1,    #0x5a55
lri $IX1,    #0xb9c6
lri $WR1,    #0x8ece
cw 0xd
call send_back  ; 55462 (0xd8a6)

lri $AR1,    #0x63c5
lri $IX1,    #0x2cc8
lri $WR1,    #0xdc73
cw 0xd
call send_back  ; 55463 (0xd8a7)

lri $AR1,    #0xd59d
lri $IX1,    #0xfbd2
lri $WR1,    #0x4268
cw 0xd
call send_back  ; 55464 (0xd8a8)

lri $AR1,    #0x2f91
lri $IX1,    #0x1e16
lri $WR1,    #0x8ddf
cw 0xd
call send_back  ; 55465 (0xd8a9)

lri $AR1,    #0xd6ae
lri $IX1,    #0x532a
lri $WR1,    #0xa820
cw 0xd
call send_back  ; 55466 (0xd8aa)

lri $AR1,    #0x24e0
lri $IX1,    #0x772c
lri $WR1,    #0xda7d
cw 0xd
call send_back  ; 55467 (0xd8ab)

lri $AR1,    #0x6165
lri $IX1,    #0xb358
lri $WR1,    #0x6924
cw 0xd
call send_back  ; 55468 (0xd8ac)

lri $AR1,    #0x9702
lri $IX1,    #0xc642
lri $WR1,    #0x72f4
cw 0xd
call send_back  ; 55469 (0xd8ad)

lri $AR1,    #0x6c3e
lri $IX1,    #0xca88
lri $WR1,    #0x81cb
cw 0xd
call send_back  ; 55470 (0xd8ae)

lri $AR1,    #0x6580
lri $IX1,    #0xc262
lri $WR1,    #0x9878
cw 0xd
call send_back  ; 55471 (0xd8af)

lri $AR1,    #0x305b
lri $IX1,    #0xa1c2
lri $WR1,    #0xb0c3
cw 0xd
call send_back  ; 55472 (0xd8b0)

lri $AR1,    #0xa2d9
lri $IX1,    #0x786c
lri $WR1,    #0x65ba
cw 0xd
call send_back  ; 55473 (0xd8b1)

lri $AR1,    #0x590f
lri $IX1,    #0x98c0
lri $WR1,    #0xd3b8
cw 0xd
call send_back  ; 55474 (0xd8b2)

lri $AR1,    #0xaed4
lri $IX1,    #0x079e
lri $WR1,    #0x694b
cw 0xd
call send_back  ; 55475 (0xd8b3)

lri $AR1,    #0x9ae4
lri $IX1,    #0x0528
lri $WR1,    #0xd97c
cw 0xd
call send_back  ; 55476 (0xd8b4)

lri $AR1,    #0x8c42
lri $IX1,    #0xf5a2
lri $WR1,    #0x7988
cw 0xd
call send_back  ; 55477 (0xd8b5)

lri $AR1,    #0xba24
lri $IX1,    #0x3d62
lri $WR1,    #0x71ac
cw 0xd
call send_back  ; 55478 (0xd8b6)

lri $AR1,    #0x3a46
lri $IX1,    #0xa20c
lri $WR1,    #0xa9fb
cw 0xd
call send_back  ; 55479 (0xd8b7)

lri $AR1,    #0x88df
lri $IX1,    #0x56da
lri $WR1,    #0xa1dc
cw 0xd
call send_back  ; 55480 (0xd8b8)

lri $AR1,    #0xd920
lri $IX1,    #0xe16a
lri $WR1,    #0x4a4a
cw 0xd
call send_back  ; 55481 (0xd8b9)

lri $AR1,    #0x6477
lri $IX1,    #0x5fc0
lri $WR1,    #0x6840
cw 0xd
call send_back  ; 55482 (0xd8ba)

lri $AR1,    #0xe274
lri $IX1,    #0x47cc
lri $WR1,    #0x569d
cw 0xd
call send_back  ; 55483 (0xd8bb)

lri $AR1,    #0xbaa2
lri $IX1,    #0x5c5e
lri $WR1,    #0x93cf
cw 0xd
call send_back  ; 55484 (0xd8bc)

lri $AR1,    #0xbd11
lri $IX1,    #0x2ac4
lri $WR1,    #0xc185
cw 0xd
call send_back  ; 55485 (0xd8bd)

lri $AR1,    #0x9dfa
lri $IX1,    #0xcfd8
lri $WR1,    #0x79eb
cw 0xd
call send_back  ; 55486 (0xd8be)

lri $AR1,    #0x7438
lri $IX1,    #0xe2f8
lri $WR1,    #0x7f65
cw 0xd
call send_back  ; 55487 (0xd8bf)

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