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

lri $AR1,    #0x8703
lri $IX1,    #0xbba2
lri $WR1,    #0x2951
cw 0x15
call send_back  ; 46422 (0xb556)

lri $AR1,    #0xbf9f
lri $IX1,    #0x6612
lri $WR1,    #0x5a05
cw 0x15
call send_back  ; 46423 (0xb557)

lri $AR1,    #0x1423
lri $IX1,    #0x3728
lri $WR1,    #0x7aec
cw 0x15
call send_back  ; 46424 (0xb558)

lri $AR1,    #0xa307
lri $IX1,    #0x2dc8
lri $WR1,    #0x607f
cw 0x15
call send_back  ; 46425 (0xb559)

lri $AR1,    #0x2ae7
lri $IX1,    #0x3746
lri $WR1,    #0x57c9
cw 0x15
call send_back  ; 46426 (0xb55a)

lri $AR1,    #0x6e2b
lri $IX1,    #0x2624
lri $WR1,    #0x8af9
cw 0x15
call send_back  ; 46427 (0xb55b)

lri $AR1,    #0xba9c
lri $IX1,    #0xb958
lri $WR1,    #0x83d8
cw 0x15
call send_back  ; 46428 (0xb55c)

lri $AR1,    #0xd1b3
lri $IX1,    #0x70fa
lri $WR1,    #0x223c
cw 0x15
call send_back  ; 46429 (0xb55d)

lri $AR1,    #0x5df5
lri $IX1,    #0x0162
lri $WR1,    #0x99f8
cw 0x15
call send_back  ; 46430 (0xb55e)

lri $AR1,    #0x2538
lri $IX1,    #0x968e
lri $WR1,    #0x2d64
cw 0x15
call send_back  ; 46431 (0xb55f)

lri $AR1,    #0x9f07
lri $IX1,    #0xe5c8
lri $WR1,    #0xbf17
cw 0x15
call send_back  ; 46432 (0xb560)

lri $AR1,    #0x6210
lri $IX1,    #0x648a
lri $WR1,    #0x5ec4
cw 0x15
call send_back  ; 46433 (0xb561)

lri $AR1,    #0x5ad8
lri $IX1,    #0xff7c
lri $WR1,    #0x82e8
cw 0x15
call send_back  ; 46434 (0xb562)

lri $AR1,    #0xd194
lri $IX1,    #0x7d7e
lri $WR1,    #0x9250
cw 0x15
call send_back  ; 46435 (0xb563)

lri $AR1,    #0x4c67
lri $IX1,    #0x76c2
lri $WR1,    #0x15ff
cw 0x15
call send_back  ; 46436 (0xb564)

lri $AR1,    #0x36e9
lri $IX1,    #0x90cc
lri $WR1,    #0xc589
cw 0x15
call send_back  ; 46437 (0xb565)

lri $AR1,    #0x4731
lri $IX1,    #0xa460
lri $WR1,    #0x7d7e
cw 0x15
call send_back  ; 46438 (0xb566)

lri $AR1,    #0xbc47
lri $IX1,    #0xb32c
lri $WR1,    #0x70de
cw 0x15
call send_back  ; 46439 (0xb567)

lri $AR1,    #0xa93c
lri $IX1,    #0x3f56
lri $WR1,    #0x6c3d
cw 0x15
call send_back  ; 46440 (0xb568)

lri $AR1,    #0x6bc3
lri $IX1,    #0xcf98
lri $WR1,    #0x2a99
cw 0x15
call send_back  ; 46441 (0xb569)

lri $AR1,    #0x8c9c
lri $IX1,    #0x4f1e
lri $WR1,    #0xe974
cw 0x15
call send_back  ; 46442 (0xb56a)

lri $AR1,    #0x7b94
lri $IX1,    #0xa8d2
lri $WR1,    #0x7b46
cw 0x15
call send_back  ; 46443 (0xb56b)

lri $AR1,    #0x407c
lri $IX1,    #0x9a5a
lri $WR1,    #0x6cdc
cw 0x15
call send_back  ; 46444 (0xb56c)

lri $AR1,    #0x35db
lri $IX1,    #0x6352
lri $WR1,    #0x4b9b
cw 0x15
call send_back  ; 46445 (0xb56d)

lri $AR1,    #0x91a9
lri $IX1,    #0xca14
lri $WR1,    #0x985e
cw 0x15
call send_back  ; 46446 (0xb56e)

lri $AR1,    #0x43f0
lri $IX1,    #0x0fba
lri $WR1,    #0x53dc
cw 0x15
call send_back  ; 46447 (0xb56f)

lri $AR1,    #0x6a95
lri $IX1,    #0xf970
lri $WR1,    #0x3739
cw 0x15
call send_back  ; 46448 (0xb570)

lri $AR1,    #0xa524
lri $IX1,    #0x2de0
lri $WR1,    #0x74cb
cw 0x15
call send_back  ; 46449 (0xb571)

lri $AR1,    #0xd2e4
lri $IX1,    #0xe9e6
lri $WR1,    #0xaaa8
cw 0x15
call send_back  ; 46450 (0xb572)

lri $AR1,    #0x990d
lri $IX1,    #0xa030
lri $WR1,    #0x6208
cw 0x15
call send_back  ; 46451 (0xb573)

lri $AR1,    #0x566e
lri $IX1,    #0x93fe
lri $WR1,    #0xec0b
cw 0x15
call send_back  ; 46452 (0xb574)

lri $AR1,    #0x454c
lri $IX1,    #0x07b6
lri $WR1,    #0x85fd
cw 0x15
call send_back  ; 46453 (0xb575)

lri $AR1,    #0x5bce
lri $IX1,    #0x4c80
lri $WR1,    #0x4c93
cw 0x15
call send_back  ; 46454 (0xb576)

lri $AR1,    #0x5ed4
lri $IX1,    #0x008a
lri $WR1,    #0x8749
cw 0x15
call send_back  ; 46455 (0xb577)

lri $AR1,    #0x7265
lri $IX1,    #0x3634
lri $WR1,    #0x9a62
cw 0x15
call send_back  ; 46456 (0xb578)

lri $AR1,    #0x9eb5
lri $IX1,    #0x36ce
lri $WR1,    #0xd7a0
cw 0x15
call send_back  ; 46457 (0xb579)

lri $AR1,    #0x1fe3
lri $IX1,    #0x3816
lri $WR1,    #0x533d
cw 0x15
call send_back  ; 46458 (0xb57a)

lri $AR1,    #0xca63
lri $IX1,    #0xcc24
lri $WR1,    #0xb43b
cw 0x15
call send_back  ; 46459 (0xb57b)

lri $AR1,    #0xb550
lri $IX1,    #0x300a
lri $WR1,    #0x8ca7
cw 0x15
call send_back  ; 46460 (0xb57c)

lri $AR1,    #0x177c
lri $IX1,    #0x05aa
lri $WR1,    #0x7fb9
cw 0x15
call send_back  ; 46461 (0xb57d)

lri $AR1,    #0x3393
lri $IX1,    #0x9a20
lri $WR1,    #0x3996
cw 0x15
call send_back  ; 46462 (0xb57e)

lri $AR1,    #0xb314
lri $IX1,    #0xba66
lri $WR1,    #0xdd8f
cw 0x15
call send_back  ; 46463 (0xb57f)

lri $AR1,    #0x477d
lri $IX1,    #0x6440
lri $WR1,    #0x7595
cw 0x15
call send_back  ; 46464 (0xb580)

lri $AR1,    #0xb476
lri $IX1,    #0x7a52
lri $WR1,    #0xf6e6
cw 0x15
call send_back  ; 46465 (0xb581)

lri $AR1,    #0x654a
lri $IX1,    #0x2668
lri $WR1,    #0x7d6c
cw 0x15
call send_back  ; 46466 (0xb582)

lri $AR1,    #0x4376
lri $IX1,    #0xe5be
lri $WR1,    #0xd10d
cw 0x15
call send_back  ; 46467 (0xb583)

lri $AR1,    #0x8bb1
lri $IX1,    #0x775e
lri $WR1,    #0x7d48
cw 0x15
call send_back  ; 46468 (0xb584)

lri $AR1,    #0x3a2f
lri $IX1,    #0x2d58
lri $WR1,    #0x9d5a
cw 0x15
call send_back  ; 46469 (0xb585)

lri $AR1,    #0xb66a
lri $IX1,    #0x95f4
lri $WR1,    #0x5c61
cw 0x15
call send_back  ; 46470 (0xb586)

lri $AR1,    #0x8a52
lri $IX1,    #0x32a0
lri $WR1,    #0x6a96
cw 0x15
call send_back  ; 46471 (0xb587)

lri $AR1,    #0x882e
lri $IX1,    #0x1eb4
lri $WR1,    #0xae2b
cw 0x15
call send_back  ; 46472 (0xb588)

lri $AR1,    #0xadeb
lri $IX1,    #0x40d8
lri $WR1,    #0x9fe4
cw 0x15
call send_back  ; 46473 (0xb589)

lri $AR1,    #0x344c
lri $IX1,    #0x061c
lri $WR1,    #0x70f2
cw 0x15
call send_back  ; 46474 (0xb58a)

lri $AR1,    #0x6ba9
lri $IX1,    #0xd688
lri $WR1,    #0x2925
cw 0x15
call send_back  ; 46475 (0xb58b)

lri $AR1,    #0xafa7
lri $IX1,    #0x8f58
lri $WR1,    #0x4209
cw 0x15
call send_back  ; 46476 (0xb58c)

lri $AR1,    #0xb6a6
lri $IX1,    #0x7772
lri $WR1,    #0xbce9
cw 0x15
call send_back  ; 46477 (0xb58d)

lri $AR1,    #0xb143
lri $IX1,    #0x7778
lri $WR1,    #0xaf70
cw 0x15
call send_back  ; 46478 (0xb58e)

lri $AR1,    #0x71b1
lri $IX1,    #0xff00
lri $WR1,    #0xa3cb
cw 0x15
call send_back  ; 46479 (0xb58f)

lri $AR1,    #0x8a4b
lri $IX1,    #0x0d2a
lri $WR1,    #0xcefe
cw 0x15
call send_back  ; 46480 (0xb590)

lri $AR1,    #0x5e15
lri $IX1,    #0x6b50
lri $WR1,    #0x6966
cw 0x15
call send_back  ; 46481 (0xb591)

lri $AR1,    #0xdd9a
lri $IX1,    #0x6cf0
lri $WR1,    #0xc306
cw 0x15
call send_back  ; 46482 (0xb592)

lri $AR1,    #0x7dde
lri $IX1,    #0x9894
lri $WR1,    #0x5eb0
cw 0x15
call send_back  ; 46483 (0xb593)

lri $AR1,    #0x3ec1
lri $IX1,    #0x99d4
lri $WR1,    #0x5484
cw 0x15
call send_back  ; 46484 (0xb594)

lri $AR1,    #0xb1a3
lri $IX1,    #0xe522
lri $WR1,    #0xd5f0
cw 0x15
call send_back  ; 46485 (0xb595)

lri $AR1,    #0x4092
lri $IX1,    #0xaaac
lri $WR1,    #0xcaba
cw 0x15
call send_back  ; 46486 (0xb596)

lri $AR1,    #0x59d3
lri $IX1,    #0x35da
lri $WR1,    #0x8016
cw 0x15
call send_back  ; 46487 (0xb597)

lri $AR1,    #0x7b26
lri $IX1,    #0xc3c4
lri $WR1,    #0xa868
cw 0x15
call send_back  ; 46488 (0xb598)

lri $AR1,    #0x4376
lri $IX1,    #0x5326
lri $WR1,    #0x53b4
cw 0x15
call send_back  ; 46489 (0xb599)

lri $AR1,    #0x1166
lri $IX1,    #0x1522
lri $WR1,    #0x7665
cw 0x15
call send_back  ; 46490 (0xb59a)

lri $AR1,    #0xa875
lri $IX1,    #0x1670
lri $WR1,    #0xe557
cw 0x15
call send_back  ; 46491 (0xb59b)

lri $AR1,    #0x3e12
lri $IX1,    #0x9532
lri $WR1,    #0xc3d2
cw 0x15
call send_back  ; 46492 (0xb59c)

lri $AR1,    #0x0b69
lri $IX1,    #0x601a
lri $WR1,    #0x9979
cw 0x15
call send_back  ; 46493 (0xb59d)

lri $AR1,    #0x7049
lri $IX1,    #0xb00c
lri $WR1,    #0x83bb
cw 0x15
call send_back  ; 46494 (0xb59e)

lri $AR1,    #0xb6db
lri $IX1,    #0x4dfa
lri $WR1,    #0x97e3
cw 0x15
call send_back  ; 46495 (0xb59f)

lri $AR1,    #0x7f92
lri $IX1,    #0xa31e
lri $WR1,    #0x7042
cw 0x15
call send_back  ; 46496 (0xb5a0)

lri $AR1,    #0xa811
lri $IX1,    #0xaa4a
lri $WR1,    #0xe89a
cw 0x15
call send_back  ; 46497 (0xb5a1)

lri $AR1,    #0x7f64
lri $IX1,    #0xbd6e
lri $WR1,    #0x9b46
cw 0x15
call send_back  ; 46498 (0xb5a2)

lri $AR1,    #0xad53
lri $IX1,    #0x0b26
lri $WR1,    #0xa243
cw 0x15
call send_back  ; 46499 (0xb5a3)

lri $AR1,    #0x3a2c
lri $IX1,    #0x3c50
lri $WR1,    #0xd48e
cw 0x15
call send_back  ; 46500 (0xb5a4)

lri $AR1,    #0x7fb8
lri $IX1,    #0x9a86
lri $WR1,    #0x920e
cw 0x15
call send_back  ; 46501 (0xb5a5)

lri $AR1,    #0x5bd8
lri $IX1,    #0xfc96
lri $WR1,    #0x0d6c
cw 0x15
call send_back  ; 46502 (0xb5a6)

lri $AR1,    #0xa068
lri $IX1,    #0xfeac
lri $WR1,    #0x4519
cw 0x15
call send_back  ; 46503 (0xb5a7)

lri $AR1,    #0x53df
lri $IX1,    #0xb856
lri $WR1,    #0x61e7
cw 0x15
call send_back  ; 46504 (0xb5a8)

lri $AR1,    #0x4166
lri $IX1,    #0x5b28
lri $WR1,    #0x5b60
cw 0x15
call send_back  ; 46505 (0xb5a9)

lri $AR1,    #0x76c3
lri $IX1,    #0x0916
lri $WR1,    #0xef65
cw 0x15
call send_back  ; 46506 (0xb5aa)

lri $AR1,    #0x81d9
lri $IX1,    #0xe248
lri $WR1,    #0x8c1f
cw 0x15
call send_back  ; 46507 (0xb5ab)

lri $AR1,    #0x6720
lri $IX1,    #0xe68a
lri $WR1,    #0xa0d2
cw 0x15
call send_back  ; 46508 (0xb5ac)

lri $AR1,    #0x45d4
lri $IX1,    #0xef12
lri $WR1,    #0x43b8
cw 0x15
call send_back  ; 46509 (0xb5ad)

lri $AR1,    #0x4e34
lri $IX1,    #0xd9ca
lri $WR1,    #0x1847
cw 0x15
call send_back  ; 46510 (0xb5ae)

lri $AR1,    #0x719e
lri $IX1,    #0x1fc0
lri $WR1,    #0x4324
cw 0x15
call send_back  ; 46511 (0xb5af)

lri $AR1,    #0x6be0
lri $IX1,    #0x9d0a
lri $WR1,    #0x5e31
cw 0x15
call send_back  ; 46512 (0xb5b0)

lri $AR1,    #0xd079
lri $IX1,    #0x68b0
lri $WR1,    #0xa8d2
cw 0x15
call send_back  ; 46513 (0xb5b1)

lri $AR1,    #0x8637
lri $IX1,    #0x5fd4
lri $WR1,    #0x7dfc
cw 0x15
call send_back  ; 46514 (0xb5b2)

lri $AR1,    #0x6ee8
lri $IX1,    #0x97e2
lri $WR1,    #0x4b14
cw 0x15
call send_back  ; 46515 (0xb5b3)

lri $AR1,    #0x4082
lri $IX1,    #0x67c0
lri $WR1,    #0x3838
cw 0x15
call send_back  ; 46516 (0xb5b4)

lri $AR1,    #0xb07f
lri $IX1,    #0x40f0
lri $WR1,    #0xcc03
cw 0x15
call send_back  ; 46517 (0xb5b5)

lri $AR1,    #0x61cd
lri $IX1,    #0x45a4
lri $WR1,    #0x7246
cw 0x15
call send_back  ; 46518 (0xb5b6)

lri $AR1,    #0x6920
lri $IX1,    #0x8982
lri $WR1,    #0x4eed
cw 0x15
call send_back  ; 46519 (0xb5b7)

lri $AR1,    #0x92e7
lri $IX1,    #0x5758
lri $WR1,    #0x8b79
cw 0x15
call send_back  ; 46520 (0xb5b8)

lri $AR1,    #0xc1cb
lri $IX1,    #0xce4e
lri $WR1,    #0x3739
cw 0x15
call send_back  ; 46521 (0xb5b9)

lri $AR1,    #0x9bf1
lri $IX1,    #0xcdea
lri $WR1,    #0x3fc3
cw 0x15
call send_back  ; 46522 (0xb5ba)

lri $AR1,    #0x30e4
lri $IX1,    #0x9882
lri $WR1,    #0x58cc
cw 0x15
call send_back  ; 46523 (0xb5bb)

lri $AR1,    #0xa964
lri $IX1,    #0xf04e
lri $WR1,    #0x3fdb
cw 0x15
call send_back  ; 46524 (0xb5bc)

lri $AR1,    #0xcdf9
lri $IX1,    #0xdbca
lri $WR1,    #0x81f8
cw 0x15
call send_back  ; 46525 (0xb5bd)

lri $AR1,    #0xa096
lri $IX1,    #0xd2a2
lri $WR1,    #0x26e5
cw 0x15
call send_back  ; 46526 (0xb5be)

lri $AR1,    #0xc90d
lri $IX1,    #0xf4c4
lri $WR1,    #0x46df
cw 0x15
call send_back  ; 46527 (0xb5bf)

lri $AR1,    #0x8bc6
lri $IX1,    #0x39e0
lri $WR1,    #0x759b
cw 0x15
call send_back  ; 46528 (0xb5c0)

lri $AR1,    #0x4d5e
lri $IX1,    #0x5ff2
lri $WR1,    #0x765e
cw 0x15
call send_back  ; 46529 (0xb5c1)

lri $AR1,    #0xa5a4
lri $IX1,    #0xe412
lri $WR1,    #0x3af6
cw 0x15
call send_back  ; 46530 (0xb5c2)

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