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

lri $AR1,    #0x7ab5
lri $IX1,    #0x579e
lri $WR1,    #0x721b
cw 0x15
call send_back  ; 30694 (0x77e6)

lri $AR1,    #0x9202
lri $IX1,    #0x7412
lri $WR1,    #0x66d5
cw 0x15
call send_back  ; 30695 (0x77e7)

lri $AR1,    #0xc4c2
lri $IX1,    #0x6cbe
lri $WR1,    #0xd11b
cw 0x15
call send_back  ; 30696 (0x77e8)

lri $AR1,    #0x6542
lri $IX1,    #0xd6e0
lri $WR1,    #0x6f76
cw 0x15
call send_back  ; 30697 (0x77e9)

lri $AR1,    #0xac7e
lri $IX1,    #0xd386
lri $WR1,    #0xb913
cw 0x15
call send_back  ; 30698 (0x77ea)

lri $AR1,    #0x8520
lri $IX1,    #0xa3e2
lri $WR1,    #0x5b3a
cw 0x15
call send_back  ; 30699 (0x77eb)

lri $AR1,    #0x7375
lri $IX1,    #0x8d3a
lri $WR1,    #0x919f
cw 0x15
call send_back  ; 30700 (0x77ec)

lri $AR1,    #0x6f1e
lri $IX1,    #0xf12e
lri $WR1,    #0xa7b7
cw 0x15
call send_back  ; 30701 (0x77ed)

lri $AR1,    #0xb2d3
lri $IX1,    #0x5380
lri $WR1,    #0x6e88
cw 0x15
call send_back  ; 30702 (0x77ee)

lri $AR1,    #0x49f5
lri $IX1,    #0x270c
lri $WR1,    #0x5413
cw 0x15
call send_back  ; 30703 (0x77ef)

lri $AR1,    #0x5b69
lri $IX1,    #0xc81e
lri $WR1,    #0xeeea
cw 0x15
call send_back  ; 30704 (0x77f0)

lri $AR1,    #0xbc54
lri $IX1,    #0x22ea
lri $WR1,    #0x99ee
cw 0x15
call send_back  ; 30705 (0x77f1)

lri $AR1,    #0x953b
lri $IX1,    #0x492e
lri $WR1,    #0x89e2
cw 0x15
call send_back  ; 30706 (0x77f2)

lri $AR1,    #0xb733
lri $IX1,    #0xcada
lri $WR1,    #0x77c9
cw 0x15
call send_back  ; 30707 (0x77f3)

lri $AR1,    #0x8684
lri $IX1,    #0x21d4
lri $WR1,    #0x70b2
cw 0x15
call send_back  ; 30708 (0x77f4)

lri $AR1,    #0x7b90
lri $IX1,    #0x0986
lri $WR1,    #0x74f1
cw 0x15
call send_back  ; 30709 (0x77f5)

lri $AR1,    #0x8a3d
lri $IX1,    #0x4f7c
lri $WR1,    #0x2e68
cw 0x15
call send_back  ; 30710 (0x77f6)

lri $AR1,    #0x23c2
lri $IX1,    #0xaaa6
lri $WR1,    #0x86df
cw 0x15
call send_back  ; 30711 (0x77f7)

lri $AR1,    #0x5e26
lri $IX1,    #0x938a
lri $WR1,    #0x2d07
cw 0x15
call send_back  ; 30712 (0x77f8)

lri $AR1,    #0x7836
lri $IX1,    #0x0ffc
lri $WR1,    #0x802c
cw 0x15
call send_back  ; 30713 (0x77f9)

lri $AR1,    #0xd050
lri $IX1,    #0x099c
lri $WR1,    #0x4832
cw 0x15
call send_back  ; 30714 (0x77fa)

lri $AR1,    #0x57c2
lri $IX1,    #0x36ca
lri $WR1,    #0x70ed
cw 0x15
call send_back  ; 30715 (0x77fb)

lri $AR1,    #0x7423
lri $IX1,    #0xfa38
lri $WR1,    #0x1551
cw 0x15
call send_back  ; 30716 (0x77fc)

lri $AR1,    #0x7b63
lri $IX1,    #0x05cc
lri $WR1,    #0x60a5
cw 0x15
call send_back  ; 30717 (0x77fd)

lri $AR1,    #0x66e7
lri $IX1,    #0x220a
lri $WR1,    #0x8936
cw 0x15
call send_back  ; 30718 (0x77fe)

lri $AR1,    #0x5d8b
lri $IX1,    #0x5bac
lri $WR1,    #0x49a4
cw 0x15
call send_back  ; 30719 (0x77ff)

lri $AR1,    #0xabcb
lri $IX1,    #0x259c
lri $WR1,    #0xa34d
cw 0x15
call send_back  ; 30720 (0x7800)

lri $AR1,    #0x8cea
lri $IX1,    #0xd602
lri $WR1,    #0x3df9
cw 0x15
call send_back  ; 30721 (0x7801)

lri $AR1,    #0xa76d
lri $IX1,    #0x698c
lri $WR1,    #0x463e
cw 0x15
call send_back  ; 30722 (0x7802)

lri $AR1,    #0x32ae
lri $IX1,    #0xc8bc
lri $WR1,    #0x9dce
cw 0x15
call send_back  ; 30723 (0x7803)

lri $AR1,    #0xc2e3
lri $IX1,    #0x0742
lri $WR1,    #0xe615
cw 0x15
call send_back  ; 30724 (0x7804)

lri $AR1,    #0x9457
lri $IX1,    #0x5e2e
lri $WR1,    #0xc75c
cw 0x15
call send_back  ; 30725 (0x7805)

lri $AR1,    #0xbe43
lri $IX1,    #0x162c
lri $WR1,    #0x33ee
cw 0x15
call send_back  ; 30726 (0x7806)

lri $AR1,    #0xd8f4
lri $IX1,    #0x5770
lri $WR1,    #0xa84c
cw 0x15
call send_back  ; 30727 (0x7807)

lri $AR1,    #0xbaa9
lri $IX1,    #0x0176
lri $WR1,    #0xef17
cw 0x15
call send_back  ; 30728 (0x7808)

lri $AR1,    #0xd9ef
lri $IX1,    #0x656a
lri $WR1,    #0x989e
cw 0x15
call send_back  ; 30729 (0x7809)

lri $AR1,    #0x83c4
lri $IX1,    #0x223e
lri $WR1,    #0x83bf
cw 0x15
call send_back  ; 30730 (0x780a)

lri $AR1,    #0x475b
lri $IX1,    #0x9242
lri $WR1,    #0x6717
cw 0x15
call send_back  ; 30731 (0x780b)

lri $AR1,    #0xa0d6
lri $IX1,    #0x5652
lri $WR1,    #0x9f1a
cw 0x15
call send_back  ; 30732 (0x780c)

lri $AR1,    #0x67af
lri $IX1,    #0xb358
lri $WR1,    #0x7f23
cw 0x15
call send_back  ; 30733 (0x780d)

lri $AR1,    #0xb541
lri $IX1,    #0xcb5e
lri $WR1,    #0xe106
cw 0x15
call send_back  ; 30734 (0x780e)

lri $AR1,    #0x3b1c
lri $IX1,    #0x5bbc
lri $WR1,    #0x9040
cw 0x15
call send_back  ; 30735 (0x780f)

lri $AR1,    #0x3894
lri $IX1,    #0xb6b4
lri $WR1,    #0xd33d
cw 0x15
call send_back  ; 30736 (0x7810)

lri $AR1,    #0x4a4b
lri $IX1,    #0x4724
lri $WR1,    #0x1ee7
cw 0x15
call send_back  ; 30737 (0x7811)

lri $AR1,    #0x8e07
lri $IX1,    #0x3170
lri $WR1,    #0x4def
cw 0x15
call send_back  ; 30738 (0x7812)

lri $AR1,    #0x68a9
lri $IX1,    #0xb568
lri $WR1,    #0xe6f1
cw 0x15
call send_back  ; 30739 (0x7813)

lri $AR1,    #0x838d
lri $IX1,    #0xf144
lri $WR1,    #0x71f8
cw 0x15
call send_back  ; 30740 (0x7814)

lri $AR1,    #0x322f
lri $IX1,    #0xae7c
lri $WR1,    #0x7781
cw 0x15
call send_back  ; 30741 (0x7815)

lri $AR1,    #0x4056
lri $IX1,    #0x15a0
lri $WR1,    #0xe07d
cw 0x15
call send_back  ; 30742 (0x7816)

lri $AR1,    #0x8ca8
lri $IX1,    #0xa6e0
lri $WR1,    #0x706b
cw 0x15
call send_back  ; 30743 (0x7817)

lri $AR1,    #0xaadd
lri $IX1,    #0xc174
lri $WR1,    #0x5819
cw 0x15
call send_back  ; 30744 (0x7818)

lri $AR1,    #0x747e
lri $IX1,    #0x7c9c
lri $WR1,    #0x491c
cw 0x15
call send_back  ; 30745 (0x7819)

lri $AR1,    #0x4e69
lri $IX1,    #0xb962
lri $WR1,    #0x5f8a
cw 0x15
call send_back  ; 30746 (0x781a)

lri $AR1,    #0x5cfb
lri $IX1,    #0x44be
lri $WR1,    #0x8907
cw 0x15
call send_back  ; 30747 (0x781b)

lri $AR1,    #0xc81b
lri $IX1,    #0xbe78
lri $WR1,    #0xa5ca
cw 0x15
call send_back  ; 30748 (0x781c)

lri $AR1,    #0x6c15
lri $IX1,    #0xe146
lri $WR1,    #0x5981
cw 0x15
call send_back  ; 30749 (0x781d)

lri $AR1,    #0xc373
lri $IX1,    #0xdd6e
lri $WR1,    #0x3fc9
cw 0x15
call send_back  ; 30750 (0x781e)

lri $AR1,    #0xd9b9
lri $IX1,    #0xd7aa
lri $WR1,    #0xd936
cw 0x15
call send_back  ; 30751 (0x781f)

lri $AR1,    #0x8e55
lri $IX1,    #0x6a54
lri $WR1,    #0x6b88
cw 0x15
call send_back  ; 30752 (0x7820)

lri $AR1,    #0xba8a
lri $IX1,    #0x5fc2
lri $WR1,    #0x990a
cw 0x15
call send_back  ; 30753 (0x7821)

lri $AR1,    #0x4c9b
lri $IX1,    #0xe0ce
lri $WR1,    #0x80c6
cw 0x15
call send_back  ; 30754 (0x7822)

lri $AR1,    #0x7e32
lri $IX1,    #0x2350
lri $WR1,    #0xaa82
cw 0x15
call send_back  ; 30755 (0x7823)

lri $AR1,    #0x5312
lri $IX1,    #0x60cc
lri $WR1,    #0x372a
cw 0x15
call send_back  ; 30756 (0x7824)

lri $AR1,    #0x6926
lri $IX1,    #0xa5e4
lri $WR1,    #0x27ad
cw 0x15
call send_back  ; 30757 (0x7825)

lri $AR1,    #0xb208
lri $IX1,    #0xffc8
lri $WR1,    #0x69e5
cw 0x15
call send_back  ; 30758 (0x7826)

lri $AR1,    #0xd1ef
lri $IX1,    #0xcd66
lri $WR1,    #0x9c8c
cw 0x15
call send_back  ; 30759 (0x7827)

lri $AR1,    #0x7750
lri $IX1,    #0xa672
lri $WR1,    #0x80e0
cw 0x15
call send_back  ; 30760 (0x7828)

lri $AR1,    #0x69f0
lri $IX1,    #0x8304
lri $WR1,    #0x39f9
cw 0x15
call send_back  ; 30761 (0x7829)

lri $AR1,    #0x2fd1
lri $IX1,    #0xb2f2
lri $WR1,    #0xa761
cw 0x15
call send_back  ; 30762 (0x782a)

lri $AR1,    #0xd9b1
lri $IX1,    #0xe4ac
lri $WR1,    #0x3a0d
cw 0x15
call send_back  ; 30763 (0x782b)

lri $AR1,    #0xb085
lri $IX1,    #0x179e
lri $WR1,    #0x7831
cw 0x15
call send_back  ; 30764 (0x782c)

lri $AR1,    #0x78a4
lri $IX1,    #0xff04
lri $WR1,    #0xde0f
cw 0x15
call send_back  ; 30765 (0x782d)

lri $AR1,    #0xaf09
lri $IX1,    #0x2e2a
lri $WR1,    #0xc74c
cw 0x15
call send_back  ; 30766 (0x782e)

lri $AR1,    #0x686f
lri $IX1,    #0x87e4
lri $WR1,    #0x6dd6
cw 0x15
call send_back  ; 30767 (0x782f)

lri $AR1,    #0x31a0
lri $IX1,    #0xf76c
lri $WR1,    #0x30fe
cw 0x15
call send_back  ; 30768 (0x7830)

lri $AR1,    #0x5bb5
lri $IX1,    #0x914e
lri $WR1,    #0xa0b1
cw 0x15
call send_back  ; 30769 (0x7831)

lri $AR1,    #0xdeba
lri $IX1,    #0xff90
lri $WR1,    #0x9692
cw 0x15
call send_back  ; 30770 (0x7832)

lri $AR1,    #0x505a
lri $IX1,    #0xace0
lri $WR1,    #0x57d1
cw 0x15
call send_back  ; 30771 (0x7833)

lri $AR1,    #0x3404
lri $IX1,    #0x9eca
lri $WR1,    #0xb07b
cw 0x15
call send_back  ; 30772 (0x7834)

lri $AR1,    #0x8550
lri $IX1,    #0x77d4
lri $WR1,    #0x9233
cw 0x15
call send_back  ; 30773 (0x7835)

lri $AR1,    #0x2ce7
lri $IX1,    #0xce92
lri $WR1,    #0x5df7
cw 0x15
call send_back  ; 30774 (0x7836)

lri $AR1,    #0x73da
lri $IX1,    #0x0772
lri $WR1,    #0x8200
cw 0x15
call send_back  ; 30775 (0x7837)

lri $AR1,    #0x6094
lri $IX1,    #0x4b62
lri $WR1,    #0x5a3a
cw 0x15
call send_back  ; 30776 (0x7838)

lri $AR1,    #0x9458
lri $IX1,    #0x2e0e
lri $WR1,    #0xab80
cw 0x15
call send_back  ; 30777 (0x7839)

lri $AR1,    #0x1f8a
lri $IX1,    #0x3ae4
lri $WR1,    #0x7f15
cw 0x15
call send_back  ; 30778 (0x783a)

lri $AR1,    #0xb68f
lri $IX1,    #0x107a
lri $WR1,    #0x757a
cw 0x15
call send_back  ; 30779 (0x783b)

lri $AR1,    #0x98a3
lri $IX1,    #0x0eae
lri $WR1,    #0xbd21
cw 0x15
call send_back  ; 30780 (0x783c)

lri $AR1,    #0xb56c
lri $IX1,    #0x0402
lri $WR1,    #0x931f
cw 0x15
call send_back  ; 30781 (0x783d)

lri $AR1,    #0x8d96
lri $IX1,    #0xdb80
lri $WR1,    #0x7161
cw 0x15
call send_back  ; 30782 (0x783e)

lri $AR1,    #0x4e51
lri $IX1,    #0x2cde
lri $WR1,    #0x2f71
cw 0x15
call send_back  ; 30783 (0x783f)

lri $AR1,    #0x9f01
lri $IX1,    #0xdcf0
lri $WR1,    #0xc06f
cw 0x15
call send_back  ; 30784 (0x7840)

lri $AR1,    #0xe3de
lri $IX1,    #0xd534
lri $WR1,    #0xc22d
cw 0x15
call send_back  ; 30785 (0x7841)

lri $AR1,    #0x37f2
lri $IX1,    #0x5daa
lri $WR1,    #0x1f24
cw 0x15
call send_back  ; 30786 (0x7842)

lri $AR1,    #0x7431
lri $IX1,    #0xf48a
lri $WR1,    #0x7630
cw 0x15
call send_back  ; 30787 (0x7843)

lri $AR1,    #0xa0f2
lri $IX1,    #0xbc2c
lri $WR1,    #0xb0bc
cw 0x15
call send_back  ; 30788 (0x7844)

lri $AR1,    #0x8ab9
lri $IX1,    #0xdfba
lri $WR1,    #0x8960
cw 0x15
call send_back  ; 30789 (0x7845)

lri $AR1,    #0x4285
lri $IX1,    #0xc3f0
lri $WR1,    #0xa282
cw 0x15
call send_back  ; 30790 (0x7846)

lri $AR1,    #0x7577
lri $IX1,    #0x9974
lri $WR1,    #0x8e16
cw 0x15
call send_back  ; 30791 (0x7847)

lri $AR1,    #0x1f37
lri $IX1,    #0x1332
lri $WR1,    #0x2cf7
cw 0x15
call send_back  ; 30792 (0x7848)

lri $AR1,    #0x85c6
lri $IX1,    #0xbb2e
lri $WR1,    #0x7603
cw 0x15
call send_back  ; 30793 (0x7849)

lri $AR1,    #0x8d26
lri $IX1,    #0xc524
lri $WR1,    #0x6278
cw 0x15
call send_back  ; 30794 (0x784a)

lri $AR1,    #0x24a3
lri $IX1,    #0x6e9c
lri $WR1,    #0xce9d
cw 0x15
call send_back  ; 30795 (0x784b)

lri $AR1,    #0xb705
lri $IX1,    #0x189e
lri $WR1,    #0x7367
cw 0x15
call send_back  ; 30796 (0x784c)

lri $AR1,    #0x827c
lri $IX1,    #0x6fae
lri $WR1,    #0x96ff
cw 0x15
call send_back  ; 30797 (0x784d)

lri $AR1,    #0x6ca7
lri $IX1,    #0x4b60
lri $WR1,    #0x8fd6
cw 0x15
call send_back  ; 30798 (0x784e)

lri $AR1,    #0xaa6d
lri $IX1,    #0x8f06
lri $WR1,    #0x9757
cw 0x15
call send_back  ; 30799 (0x784f)

lri $AR1,    #0xcb0a
lri $IX1,    #0x61ca
lri $WR1,    #0x0eac
cw 0x15
call send_back  ; 30800 (0x7850)

lri $AR1,    #0x4113
lri $IX1,    #0xace8
lri $WR1,    #0xa1ce
cw 0x15
call send_back  ; 30801 (0x7851)

lri $AR1,    #0xc3d5
lri $IX1,    #0x130c
lri $WR1,    #0x824b
cw 0x15
call send_back  ; 30802 (0x7852)

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