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

lri $AR1,    #0x8597
lri $IX1,    #0x8d78
lri $WR1,    #0x507b
cw 0xd
call send_back  ; 39541 (0x9a75)

lri $AR1,    #0xceb0
lri $IX1,    #0x82bc
lri $WR1,    #0x2fa8
cw 0xd
call send_back  ; 39542 (0x9a76)

lri $AR1,    #0x925a
lri $IX1,    #0x5934
lri $WR1,    #0xc395
cw 0xd
call send_back  ; 39543 (0x9a77)

lri $AR1,    #0x4194
lri $IX1,    #0xe33a
lri $WR1,    #0x725f
cw 0xd
call send_back  ; 39544 (0x9a78)

lri $AR1,    #0x52ca
lri $IX1,    #0x6776
lri $WR1,    #0x8dde
cw 0xd
call send_back  ; 39545 (0x9a79)

lri $AR1,    #0x9f93
lri $IX1,    #0xe960
lri $WR1,    #0xaea5
cw 0xd
call send_back  ; 39546 (0x9a7a)

lri $AR1,    #0x271a
lri $IX1,    #0x0758
lri $WR1,    #0x9a4e
cw 0xd
call send_back  ; 39547 (0x9a7b)

lri $AR1,    #0x6674
lri $IX1,    #0xca06
lri $WR1,    #0xc1be
cw 0xd
call send_back  ; 39548 (0x9a7c)

lri $AR1,    #0x33aa
lri $IX1,    #0x5880
lri $WR1,    #0x9d47
cw 0xd
call send_back  ; 39549 (0x9a7d)

lri $AR1,    #0x77e0
lri $IX1,    #0xefde
lri $WR1,    #0x6a62
cw 0xd
call send_back  ; 39550 (0x9a7e)

lri $AR1,    #0xa84c
lri $IX1,    #0x9ca2
lri $WR1,    #0x6ffa
cw 0xd
call send_back  ; 39551 (0x9a7f)

lri $AR1,    #0x5567
lri $IX1,    #0xe7c0
lri $WR1,    #0x53d9
cw 0xd
call send_back  ; 39552 (0x9a80)

lri $AR1,    #0x730e
lri $IX1,    #0xd08c
lri $WR1,    #0x9553
cw 0xd
call send_back  ; 39553 (0x9a81)

lri $AR1,    #0x7c04
lri $IX1,    #0xe870
lri $WR1,    #0x4eab
cw 0xd
call send_back  ; 39554 (0x9a82)

lri $AR1,    #0x2680
lri $IX1,    #0x14aa
lri $WR1,    #0xd05f
cw 0xd
call send_back  ; 39555 (0x9a83)

lri $AR1,    #0xe731
lri $IX1,    #0x3de4
lri $WR1,    #0x5ec6
cw 0xd
call send_back  ; 39556 (0x9a84)

lri $AR1,    #0x5b80
lri $IX1,    #0xed0c
lri $WR1,    #0x3436
cw 0xd
call send_back  ; 39557 (0x9a85)

lri $AR1,    #0xc361
lri $IX1,    #0x600e
lri $WR1,    #0x4724
cw 0xd
call send_back  ; 39558 (0x9a86)

lri $AR1,    #0xd67e
lri $IX1,    #0xe0f6
lri $WR1,    #0x9560
cw 0xd
call send_back  ; 39559 (0x9a87)

lri $AR1,    #0x5812
lri $IX1,    #0xfd20
lri $WR1,    #0xbaf6
cw 0xd
call send_back  ; 39560 (0x9a88)

lri $AR1,    #0x3846
lri $IX1,    #0x81e2
lri $WR1,    #0xc4bf
cw 0xd
call send_back  ; 39561 (0x9a89)

lri $AR1,    #0x3151
lri $IX1,    #0xbf60
lri $WR1,    #0x5c48
cw 0xd
call send_back  ; 39562 (0x9a8a)

lri $AR1,    #0x8246
lri $IX1,    #0x620a
lri $WR1,    #0x7bf7
cw 0xd
call send_back  ; 39563 (0x9a8b)

lri $AR1,    #0x90c2
lri $IX1,    #0x165e
lri $WR1,    #0xb02f
cw 0xd
call send_back  ; 39564 (0x9a8c)

lri $AR1,    #0xb65b
lri $IX1,    #0x026e
lri $WR1,    #0xe354
cw 0xd
call send_back  ; 39565 (0x9a8d)

lri $AR1,    #0xae26
lri $IX1,    #0xcbcc
lri $WR1,    #0xb069
cw 0xd
call send_back  ; 39566 (0x9a8e)

lri $AR1,    #0x5a11
lri $IX1,    #0x405e
lri $WR1,    #0x9934
cw 0xd
call send_back  ; 39567 (0x9a8f)

lri $AR1,    #0x4f6b
lri $IX1,    #0xabbc
lri $WR1,    #0xa28f
cw 0xd
call send_back  ; 39568 (0x9a90)

lri $AR1,    #0xa573
lri $IX1,    #0x4a86
lri $WR1,    #0x22f0
cw 0xd
call send_back  ; 39569 (0x9a91)

lri $AR1,    #0x402a
lri $IX1,    #0x086e
lri $WR1,    #0x5cb4
cw 0xd
call send_back  ; 39570 (0x9a92)

lri $AR1,    #0x254d
lri $IX1,    #0xa568
lri $WR1,    #0x2f41
cw 0xd
call send_back  ; 39571 (0x9a93)

lri $AR1,    #0xb0b6
lri $IX1,    #0x6194
lri $WR1,    #0x9f90
cw 0xd
call send_back  ; 39572 (0x9a94)

lri $AR1,    #0x98fb
lri $IX1,    #0x4778
lri $WR1,    #0x922a
cw 0xd
call send_back  ; 39573 (0x9a95)

lri $AR1,    #0x84a0
lri $IX1,    #0xf71c
lri $WR1,    #0x2e2b
cw 0xd
call send_back  ; 39574 (0x9a96)

lri $AR1,    #0xd3a6
lri $IX1,    #0x5490
lri $WR1,    #0x625e
cw 0xd
call send_back  ; 39575 (0x9a97)

lri $AR1,    #0x18c1
lri $IX1,    #0x8f76
lri $WR1,    #0x4b00
cw 0xd
call send_back  ; 39576 (0x9a98)

lri $AR1,    #0x6916
lri $IX1,    #0x810a
lri $WR1,    #0xa02d
cw 0xd
call send_back  ; 39577 (0x9a99)

lri $AR1,    #0x88c1
lri $IX1,    #0x3960
lri $WR1,    #0x42a9
cw 0xd
call send_back  ; 39578 (0x9a9a)

lri $AR1,    #0x6df9
lri $IX1,    #0xa43a
lri $WR1,    #0xcde6
cw 0xd
call send_back  ; 39579 (0x9a9b)

lri $AR1,    #0x7c22
lri $IX1,    #0x512a
lri $WR1,    #0xac06
cw 0xd
call send_back  ; 39580 (0x9a9c)

lri $AR1,    #0x93a3
lri $IX1,    #0x827c
lri $WR1,    #0x61c1
cw 0xd
call send_back  ; 39581 (0x9a9d)

lri $AR1,    #0x82c2
lri $IX1,    #0x9180
lri $WR1,    #0x85e2
cw 0xd
call send_back  ; 39582 (0x9a9e)

lri $AR1,    #0x6760
lri $IX1,    #0x56bc
lri $WR1,    #0x7949
cw 0xd
call send_back  ; 39583 (0x9a9f)

lri $AR1,    #0x88e8
lri $IX1,    #0x77b0
lri $WR1,    #0x5a21
cw 0xd
call send_back  ; 39584 (0x9aa0)

lri $AR1,    #0x7d35
lri $IX1,    #0x2382
lri $WR1,    #0x3642
cw 0xd
call send_back  ; 39585 (0x9aa1)

lri $AR1,    #0x6aca
lri $IX1,    #0xc376
lri $WR1,    #0x8e62
cw 0xd
call send_back  ; 39586 (0x9aa2)

lri $AR1,    #0x4e2a
lri $IX1,    #0x536e
lri $WR1,    #0xad11
cw 0xd
call send_back  ; 39587 (0x9aa3)

lri $AR1,    #0xaf97
lri $IX1,    #0x5a40
lri $WR1,    #0x8a29
cw 0xd
call send_back  ; 39588 (0x9aa4)

lri $AR1,    #0x9216
lri $IX1,    #0xb14a
lri $WR1,    #0xcca5
cw 0xd
call send_back  ; 39589 (0x9aa5)

lri $AR1,    #0x73fc
lri $IX1,    #0x55f8
lri $WR1,    #0xda8a
cw 0xd
call send_back  ; 39590 (0x9aa6)

lri $AR1,    #0x5ce1
lri $IX1,    #0x3f96
lri $WR1,    #0xa7df
cw 0xd
call send_back  ; 39591 (0x9aa7)

lri $AR1,    #0x8c2f
lri $IX1,    #0x874a
lri $WR1,    #0x7b4d
cw 0xd
call send_back  ; 39592 (0x9aa8)

lri $AR1,    #0x474d
lri $IX1,    #0xf77e
lri $WR1,    #0x8878
cw 0xd
call send_back  ; 39593 (0x9aa9)

lri $AR1,    #0x6574
lri $IX1,    #0x3372
lri $WR1,    #0x6d97
cw 0xd
call send_back  ; 39594 (0x9aaa)

lri $AR1,    #0x6b42
lri $IX1,    #0xf776
lri $WR1,    #0x336c
cw 0xd
call send_back  ; 39595 (0x9aab)

lri $AR1,    #0xaf27
lri $IX1,    #0x5578
lri $WR1,    #0x4414
cw 0xd
call send_back  ; 39596 (0x9aac)

lri $AR1,    #0x7b95
lri $IX1,    #0x2938
lri $WR1,    #0xc6df
cw 0xd
call send_back  ; 39597 (0x9aad)

lri $AR1,    #0x5343
lri $IX1,    #0x2b08
lri $WR1,    #0x4c9c
cw 0xd
call send_back  ; 39598 (0x9aae)

lri $AR1,    #0xbf4a
lri $IX1,    #0xe74c
lri $WR1,    #0x1989
cw 0xd
call send_back  ; 39599 (0x9aaf)

lri $AR1,    #0x466c
lri $IX1,    #0x54aa
lri $WR1,    #0x7f5d
cw 0xd
call send_back  ; 39600 (0x9ab0)

lri $AR1,    #0xb862
lri $IX1,    #0xaa12
lri $WR1,    #0x8399
cw 0xd
call send_back  ; 39601 (0x9ab1)

lri $AR1,    #0xb773
lri $IX1,    #0x5196
lri $WR1,    #0x5b85
cw 0xd
call send_back  ; 39602 (0x9ab2)

lri $AR1,    #0xbe25
lri $IX1,    #0x4448
lri $WR1,    #0x791f
cw 0xd
call send_back  ; 39603 (0x9ab3)

lri $AR1,    #0x2663
lri $IX1,    #0x9ef6
lri $WR1,    #0xd961
cw 0xd
call send_back  ; 39604 (0x9ab4)

lri $AR1,    #0xd2e2
lri $IX1,    #0xb716
lri $WR1,    #0x5df9
cw 0xd
call send_back  ; 39605 (0x9ab5)

lri $AR1,    #0xeb07
lri $IX1,    #0x42b0
lri $WR1,    #0x1a13
cw 0xd
call send_back  ; 39606 (0x9ab6)

lri $AR1,    #0x7d3e
lri $IX1,    #0x2594
lri $WR1,    #0x7b31
cw 0xd
call send_back  ; 39607 (0x9ab7)

lri $AR1,    #0x32ee
lri $IX1,    #0x09ae
lri $WR1,    #0x7cae
cw 0xd
call send_back  ; 39608 (0x9ab8)

lri $AR1,    #0x6cf8
lri $IX1,    #0xefce
lri $WR1,    #0x7dee
cw 0xd
call send_back  ; 39609 (0x9ab9)

lri $AR1,    #0x7ef8
lri $IX1,    #0x41a4
lri $WR1,    #0xc0e3
cw 0xd
call send_back  ; 39610 (0x9aba)

lri $AR1,    #0xb333
lri $IX1,    #0x7d52
lri $WR1,    #0xe7d8
cw 0xd
call send_back  ; 39611 (0x9abb)

lri $AR1,    #0xa85f
lri $IX1,    #0x365a
lri $WR1,    #0x5f2a
cw 0xd
call send_back  ; 39612 (0x9abc)

lri $AR1,    #0x5640
lri $IX1,    #0xbf36
lri $WR1,    #0xd8fd
cw 0xd
call send_back  ; 39613 (0x9abd)

lri $AR1,    #0x753b
lri $IX1,    #0x3a74
lri $WR1,    #0xbe68
cw 0xd
call send_back  ; 39614 (0x9abe)

lri $AR1,    #0x88de
lri $IX1,    #0xf19e
lri $WR1,    #0x9b43
cw 0xd
call send_back  ; 39615 (0x9abf)

lri $AR1,    #0xc488
lri $IX1,    #0x83ba
lri $WR1,    #0x6f16
cw 0xd
call send_back  ; 39616 (0x9ac0)

lri $AR1,    #0xcd0e
lri $IX1,    #0xa4c6
lri $WR1,    #0xd743
cw 0xd
call send_back  ; 39617 (0x9ac1)

lri $AR1,    #0x59b6
lri $IX1,    #0xa2de
lri $WR1,    #0x13ee
cw 0xd
call send_back  ; 39618 (0x9ac2)

lri $AR1,    #0x4a4f
lri $IX1,    #0x9588
lri $WR1,    #0xdabd
cw 0xd
call send_back  ; 39619 (0x9ac3)

lri $AR1,    #0x4fad
lri $IX1,    #0xdec6
lri $WR1,    #0xa009
cw 0xd
call send_back  ; 39620 (0x9ac4)

lri $AR1,    #0x9f6f
lri $IX1,    #0x5d6a
lri $WR1,    #0xd876
cw 0xd
call send_back  ; 39621 (0x9ac5)

lri $AR1,    #0x3b4f
lri $IX1,    #0x3b56
lri $WR1,    #0x9296
cw 0xd
call send_back  ; 39622 (0x9ac6)

lri $AR1,    #0x77cd
lri $IX1,    #0x821c
lri $WR1,    #0x89a6
cw 0xd
call send_back  ; 39623 (0x9ac7)

lri $AR1,    #0x858c
lri $IX1,    #0x73b0
lri $WR1,    #0x57f2
cw 0xd
call send_back  ; 39624 (0x9ac8)

lri $AR1,    #0x2c27
lri $IX1,    #0xec8a
lri $WR1,    #0x98e2
cw 0xd
call send_back  ; 39625 (0x9ac9)

lri $AR1,    #0x84df
lri $IX1,    #0xb008
lri $WR1,    #0x785c
cw 0xd
call send_back  ; 39626 (0x9aca)

lri $AR1,    #0x36db
lri $IX1,    #0x4f5c
lri $WR1,    #0xbe7a
cw 0xd
call send_back  ; 39627 (0x9acb)

lri $AR1,    #0x5e5d
lri $IX1,    #0x3ede
lri $WR1,    #0xbc18
cw 0xd
call send_back  ; 39628 (0x9acc)

lri $AR1,    #0xc3b3
lri $IX1,    #0x8504
lri $WR1,    #0x766c
cw 0xd
call send_back  ; 39629 (0x9acd)

lri $AR1,    #0xb638
lri $IX1,    #0x19d6
lri $WR1,    #0x6d15
cw 0xd
call send_back  ; 39630 (0x9ace)

lri $AR1,    #0xa32e
lri $IX1,    #0x6d42
lri $WR1,    #0xb7c7
cw 0xd
call send_back  ; 39631 (0x9acf)

lri $AR1,    #0xb7cc
lri $IX1,    #0x7df2
lri $WR1,    #0xde1a
cw 0xd
call send_back  ; 39632 (0x9ad0)

lri $AR1,    #0x6946
lri $IX1,    #0x522e
lri $WR1,    #0x9592
cw 0xd
call send_back  ; 39633 (0x9ad1)

lri $AR1,    #0x7d24
lri $IX1,    #0x5f60
lri $WR1,    #0x5f6b
cw 0xd
call send_back  ; 39634 (0x9ad2)

lri $AR1,    #0x7fb8
lri $IX1,    #0x5cbe
lri $WR1,    #0xb138
cw 0xd
call send_back  ; 39635 (0x9ad3)

lri $AR1,    #0x5e01
lri $IX1,    #0x00c2
lri $WR1,    #0x48f0
cw 0xd
call send_back  ; 39636 (0x9ad4)

lri $AR1,    #0x73cc
lri $IX1,    #0x20d6
lri $WR1,    #0x666a
cw 0xd
call send_back  ; 39637 (0x9ad5)

lri $AR1,    #0xae66
lri $IX1,    #0x75f8
lri $WR1,    #0xc1e1
cw 0xd
call send_back  ; 39638 (0x9ad6)

lri $AR1,    #0xc7a1
lri $IX1,    #0xc8be
lri $WR1,    #0x988e
cw 0xd
call send_back  ; 39639 (0x9ad7)

lri $AR1,    #0x749a
lri $IX1,    #0x5a62
lri $WR1,    #0xedea
cw 0xd
call send_back  ; 39640 (0x9ad8)

lri $AR1,    #0x8eec
lri $IX1,    #0xe842
lri $WR1,    #0x89a1
cw 0xd
call send_back  ; 39641 (0x9ad9)

lri $AR1,    #0x1eb7
lri $IX1,    #0x82aa
lri $WR1,    #0xa7d3
cw 0xd
call send_back  ; 39642 (0x9ada)

lri $AR1,    #0x9f4a
lri $IX1,    #0x7f24
lri $WR1,    #0x22a2
cw 0xd
call send_back  ; 39643 (0x9adb)

lri $AR1,    #0xbfad
lri $IX1,    #0xf216
lri $WR1,    #0x71ac
cw 0xd
call send_back  ; 39644 (0x9adc)

lri $AR1,    #0x9bff
lri $IX1,    #0x3330
lri $WR1,    #0x957b
cw 0xd
call send_back  ; 39645 (0x9add)

lri $AR1,    #0xdbcb
lri $IX1,    #0xdb3c
lri $WR1,    #0xc274
cw 0xd
call send_back  ; 39646 (0x9ade)

lri $AR1,    #0xa549
lri $IX1,    #0x49c6
lri $WR1,    #0x4066
cw 0xd
call send_back  ; 39647 (0x9adf)

lri $AR1,    #0xccc8
lri $IX1,    #0xf460
lri $WR1,    #0x5939
cw 0xd
call send_back  ; 39648 (0x9ae0)

lri $AR1,    #0x731b
lri $IX1,    #0x68d8
lri $WR1,    #0xbad6
cw 0xd
call send_back  ; 39649 (0x9ae1)

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