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

lri $AR1,    #0x7ce6
lri $IX1,    #0x20ac
lri $WR1,    #0x5511
cw 0xd
call send_back  ; 42708 (0xa6d4)

lri $AR1,    #0x6b86
lri $IX1,    #0x7538
lri $WR1,    #0x9a22
cw 0xd
call send_back  ; 42709 (0xa6d5)

lri $AR1,    #0x573f
lri $IX1,    #0xd180
lri $WR1,    #0x5d2b
cw 0xd
call send_back  ; 42710 (0xa6d6)

lri $AR1,    #0xb208
lri $IX1,    #0xb736
lri $WR1,    #0x7007
cw 0xd
call send_back  ; 42711 (0xa6d7)

lri $AR1,    #0x8419
lri $IX1,    #0x93b6
lri $WR1,    #0x91cd
cw 0xd
call send_back  ; 42712 (0xa6d8)

lri $AR1,    #0x5d2f
lri $IX1,    #0xcb7e
lri $WR1,    #0xd4cb
cw 0xd
call send_back  ; 42713 (0xa6d9)

lri $AR1,    #0xe68b
lri $IX1,    #0x58fc
lri $WR1,    #0x76c0
cw 0xd
call send_back  ; 42714 (0xa6da)

lri $AR1,    #0xef99
lri $IX1,    #0x46d4
lri $WR1,    #0x726d
cw 0xd
call send_back  ; 42715 (0xa6db)

lri $AR1,    #0xb686
lri $IX1,    #0x7194
lri $WR1,    #0xa712
cw 0xd
call send_back  ; 42716 (0xa6dc)

lri $AR1,    #0xe98d
lri $IX1,    #0x1408
lri $WR1,    #0xabd7
cw 0xd
call send_back  ; 42717 (0xa6dd)

lri $AR1,    #0x4d58
lri $IX1,    #0x8d18
lri $WR1,    #0xa2c1
cw 0xd
call send_back  ; 42718 (0xa6de)

lri $AR1,    #0x7843
lri $IX1,    #0x6d72
lri $WR1,    #0x8042
cw 0xd
call send_back  ; 42719 (0xa6df)

lri $AR1,    #0x89bb
lri $IX1,    #0x0ec8
lri $WR1,    #0xa1e1
cw 0xd
call send_back  ; 42720 (0xa6e0)

lri $AR1,    #0x90b3
lri $IX1,    #0x9e0a
lri $WR1,    #0x9824
cw 0xd
call send_back  ; 42721 (0xa6e1)

lri $AR1,    #0x5353
lri $IX1,    #0x7d50
lri $WR1,    #0x153e
cw 0xd
call send_back  ; 42722 (0xa6e2)

lri $AR1,    #0xbdd4
lri $IX1,    #0x11e0
lri $WR1,    #0xe391
cw 0xd
call send_back  ; 42723 (0xa6e3)

lri $AR1,    #0xc5bf
lri $IX1,    #0x560c
lri $WR1,    #0x7c91
cw 0xd
call send_back  ; 42724 (0xa6e4)

lri $AR1,    #0x6a6d
lri $IX1,    #0xbe32
lri $WR1,    #0xb227
cw 0xd
call send_back  ; 42725 (0xa6e5)

lri $AR1,    #0x8b1b
lri $IX1,    #0x0bd6
lri $WR1,    #0x3a18
cw 0xd
call send_back  ; 42726 (0xa6e6)

lri $AR1,    #0x6e55
lri $IX1,    #0x68ea
lri $WR1,    #0xac79
cw 0xd
call send_back  ; 42727 (0xa6e7)

lri $AR1,    #0x6e0f
lri $IX1,    #0x794e
lri $WR1,    #0x8bcf
cw 0xd
call send_back  ; 42728 (0xa6e8)

lri $AR1,    #0xa740
lri $IX1,    #0xd7aa
lri $WR1,    #0x96ef
cw 0xd
call send_back  ; 42729 (0xa6e9)

lri $AR1,    #0xab4d
lri $IX1,    #0x8e9a
lri $WR1,    #0x520b
cw 0xd
call send_back  ; 42730 (0xa6ea)

lri $AR1,    #0x6507
lri $IX1,    #0x6e52
lri $WR1,    #0xc634
cw 0xd
call send_back  ; 42731 (0xa6eb)

lri $AR1,    #0x8aa3
lri $IX1,    #0x82b6
lri $WR1,    #0xcba6
cw 0xd
call send_back  ; 42732 (0xa6ec)

lri $AR1,    #0x716a
lri $IX1,    #0x450c
lri $WR1,    #0xad1e
cw 0xd
call send_back  ; 42733 (0xa6ed)

lri $AR1,    #0xc77a
lri $IX1,    #0x503c
lri $WR1,    #0x6fa9
cw 0xd
call send_back  ; 42734 (0xa6ee)

lri $AR1,    #0x7b60
lri $IX1,    #0x3dd2
lri $WR1,    #0x6c14
cw 0xd
call send_back  ; 42735 (0xa6ef)

lri $AR1,    #0x50e7
lri $IX1,    #0xc5a6
lri $WR1,    #0x8c74
cw 0xd
call send_back  ; 42736 (0xa6f0)

lri $AR1,    #0x2ddc
lri $IX1,    #0x2170
lri $WR1,    #0xc9f4
cw 0xd
call send_back  ; 42737 (0xa6f1)

lri $AR1,    #0x692c
lri $IX1,    #0xf11a
lri $WR1,    #0x545f
cw 0xd
call send_back  ; 42738 (0xa6f2)

lri $AR1,    #0xba12
lri $IX1,    #0x4c1a
lri $WR1,    #0x7e81
cw 0xd
call send_back  ; 42739 (0xa6f3)

lri $AR1,    #0xacc3
lri $IX1,    #0x2fb6
lri $WR1,    #0x7fef
cw 0xd
call send_back  ; 42740 (0xa6f4)

lri $AR1,    #0x9d44
lri $IX1,    #0xf166
lri $WR1,    #0xb645
cw 0xd
call send_back  ; 42741 (0xa6f5)

lri $AR1,    #0x08e6
lri $IX1,    #0xa84a
lri $WR1,    #0x2d6f
cw 0xd
call send_back  ; 42742 (0xa6f6)

lri $AR1,    #0x6a06
lri $IX1,    #0x7fd8
lri $WR1,    #0x37fd
cw 0xd
call send_back  ; 42743 (0xa6f7)

lri $AR1,    #0xa995
lri $IX1,    #0x79b4
lri $WR1,    #0xa626
cw 0xd
call send_back  ; 42744 (0xa6f8)

lri $AR1,    #0x5d07
lri $IX1,    #0x2bf2
lri $WR1,    #0x937e
cw 0xd
call send_back  ; 42745 (0xa6f9)

lri $AR1,    #0x6720
lri $IX1,    #0x6496
lri $WR1,    #0x30f4
cw 0xd
call send_back  ; 42746 (0xa6fa)

lri $AR1,    #0x855a
lri $IX1,    #0x2aae
lri $WR1,    #0xc221
cw 0xd
call send_back  ; 42747 (0xa6fb)

lri $AR1,    #0x3b32
lri $IX1,    #0x38aa
lri $WR1,    #0x9a82
cw 0xd
call send_back  ; 42748 (0xa6fc)

lri $AR1,    #0xc83f
lri $IX1,    #0xa392
lri $WR1,    #0xa0a6
cw 0xd
call send_back  ; 42749 (0xa6fd)

lri $AR1,    #0xc550
lri $IX1,    #0xcd84
lri $WR1,    #0x9ae2
cw 0xd
call send_back  ; 42750 (0xa6fe)

lri $AR1,    #0x8868
lri $IX1,    #0xe232
lri $WR1,    #0xaa9f
cw 0xd
call send_back  ; 42751 (0xa6ff)

lri $AR1,    #0x66eb
lri $IX1,    #0xceda
lri $WR1,    #0xc0c2
cw 0xd
call send_back  ; 42752 (0xa700)

lri $AR1,    #0xb8c3
lri $IX1,    #0xcf3c
lri $WR1,    #0x5f59
cw 0xd
call send_back  ; 42753 (0xa701)

lri $AR1,    #0x7ede
lri $IX1,    #0x244e
lri $WR1,    #0x8a05
cw 0xd
call send_back  ; 42754 (0xa702)

lri $AR1,    #0xa2c0
lri $IX1,    #0x38fa
lri $WR1,    #0xb83f
cw 0xd
call send_back  ; 42755 (0xa703)

lri $AR1,    #0x4c83
lri $IX1,    #0x3cba
lri $WR1,    #0x51fc
cw 0xd
call send_back  ; 42756 (0xa704)

lri $AR1,    #0xa81d
lri $IX1,    #0xf360
lri $WR1,    #0x98cb
cw 0xd
call send_back  ; 42757 (0xa705)

lri $AR1,    #0x822e
lri $IX1,    #0x04ec
lri $WR1,    #0x3cff
cw 0xd
call send_back  ; 42758 (0xa706)

lri $AR1,    #0x482a
lri $IX1,    #0x5790
lri $WR1,    #0x1fe4
cw 0xd
call send_back  ; 42759 (0xa707)

lri $AR1,    #0x8f3b
lri $IX1,    #0xd1fa
lri $WR1,    #0x49a0
cw 0xd
call send_back  ; 42760 (0xa708)

lri $AR1,    #0xb092
lri $IX1,    #0x2ae4
lri $WR1,    #0xc2cb
cw 0xd
call send_back  ; 42761 (0xa709)

lri $AR1,    #0xa996
lri $IX1,    #0x0706
lri $WR1,    #0xaf4b
cw 0xd
call send_back  ; 42762 (0xa70a)

lri $AR1,    #0xa1a6
lri $IX1,    #0x7576
lri $WR1,    #0x9985
cw 0xd
call send_back  ; 42763 (0xa70b)

lri $AR1,    #0x1ec7
lri $IX1,    #0xbe82
lri $WR1,    #0xb275
cw 0xd
call send_back  ; 42764 (0xa70c)

lri $AR1,    #0x6e1f
lri $IX1,    #0x5026
lri $WR1,    #0xc4be
cw 0xd
call send_back  ; 42765 (0xa70d)

lri $AR1,    #0xf46d
lri $IX1,    #0x3f02
lri $WR1,    #0x963d
cw 0xd
call send_back  ; 42766 (0xa70e)

lri $AR1,    #0x5e6b
lri $IX1,    #0x3226
lri $WR1,    #0x5535
cw 0xd
call send_back  ; 42767 (0xa70f)

lri $AR1,    #0x6057
lri $IX1,    #0x8376
lri $WR1,    #0x539b
cw 0xd
call send_back  ; 42768 (0xa710)

lri $AR1,    #0xbf77
lri $IX1,    #0xc5fc
lri $WR1,    #0x9ca1
cw 0xd
call send_back  ; 42769 (0xa711)

lri $AR1,    #0x9ffb
lri $IX1,    #0x9efc
lri $WR1,    #0x3e01
cw 0xd
call send_back  ; 42770 (0xa712)

lri $AR1,    #0x64ed
lri $IX1,    #0xce10
lri $WR1,    #0x501c
cw 0xd
call send_back  ; 42771 (0xa713)

lri $AR1,    #0xb78f
lri $IX1,    #0x4428
lri $WR1,    #0xbd88
cw 0xd
call send_back  ; 42772 (0xa714)

lri $AR1,    #0x6707
lri $IX1,    #0x20b4
lri $WR1,    #0x6409
cw 0xd
call send_back  ; 42773 (0xa715)

lri $AR1,    #0xa083
lri $IX1,    #0x37ca
lri $WR1,    #0x4698
cw 0xd
call send_back  ; 42774 (0xa716)

lri $AR1,    #0x63d0
lri $IX1,    #0x43a2
lri $WR1,    #0x897c
cw 0xd
call send_back  ; 42775 (0xa717)

lri $AR1,    #0x6f90
lri $IX1,    #0xf72e
lri $WR1,    #0xb70c
cw 0xd
call send_back  ; 42776 (0xa718)

lri $AR1,    #0x8bf2
lri $IX1,    #0xaf14
lri $WR1,    #0xb524
cw 0xd
call send_back  ; 42777 (0xa719)

lri $AR1,    #0x7a3e
lri $IX1,    #0x59f4
lri $WR1,    #0xc0e0
cw 0xd
call send_back  ; 42778 (0xa71a)

lri $AR1,    #0xc2f7
lri $IX1,    #0x403c
lri $WR1,    #0x97af
cw 0xd
call send_back  ; 42779 (0xa71b)

lri $AR1,    #0x83ef
lri $IX1,    #0x774e
lri $WR1,    #0x8a4f
cw 0xd
call send_back  ; 42780 (0xa71c)

lri $AR1,    #0x9b17
lri $IX1,    #0xe35a
lri $WR1,    #0x6fb6
cw 0xd
call send_back  ; 42781 (0xa71d)

lri $AR1,    #0x7a60
lri $IX1,    #0x96c4
lri $WR1,    #0xab89
cw 0xd
call send_back  ; 42782 (0xa71e)

lri $AR1,    #0x7479
lri $IX1,    #0xfd3a
lri $WR1,    #0x9d24
cw 0xd
call send_back  ; 42783 (0xa71f)

lri $AR1,    #0x49ba
lri $IX1,    #0x7486
lri $WR1,    #0xb1cf
cw 0xd
call send_back  ; 42784 (0xa720)

lri $AR1,    #0x8807
lri $IX1,    #0x9c3e
lri $WR1,    #0x5e1e
cw 0xd
call send_back  ; 42785 (0xa721)

lri $AR1,    #0x5012
lri $IX1,    #0xa132
lri $WR1,    #0x5021
cw 0xd
call send_back  ; 42786 (0xa722)

lri $AR1,    #0xa5a8
lri $IX1,    #0xf8ec
lri $WR1,    #0x1d68
cw 0xd
call send_back  ; 42787 (0xa723)

lri $AR1,    #0x7877
lri $IX1,    #0x4512
lri $WR1,    #0x6564
cw 0xd
call send_back  ; 42788 (0xa724)

lri $AR1,    #0x6e10
lri $IX1,    #0x4dee
lri $WR1,    #0xba50
cw 0xd
call send_back  ; 42789 (0xa725)

lri $AR1,    #0x8576
lri $IX1,    #0x0ef4
lri $WR1,    #0x800a
cw 0xd
call send_back  ; 42790 (0xa726)

lri $AR1,    #0xd00a
lri $IX1,    #0x8f9e
lri $WR1,    #0xb218
cw 0xd
call send_back  ; 42791 (0xa727)

lri $AR1,    #0x9326
lri $IX1,    #0x9662
lri $WR1,    #0x873d
cw 0xd
call send_back  ; 42792 (0xa728)

lri $AR1,    #0x1137
lri $IX1,    #0x0b0e
lri $WR1,    #0x12d9
cw 0xd
call send_back  ; 42793 (0xa729)

lri $AR1,    #0xd8a8
lri $IX1,    #0xf976
lri $WR1,    #0x3181
cw 0xd
call send_back  ; 42794 (0xa72a)

lri $AR1,    #0xaa60
lri $IX1,    #0x7492
lri $WR1,    #0x9fef
cw 0xd
call send_back  ; 42795 (0xa72b)

lri $AR1,    #0x313a
lri $IX1,    #0xfe1c
lri $WR1,    #0x70e1
cw 0xd
call send_back  ; 42796 (0xa72c)

lri $AR1,    #0xbf37
lri $IX1,    #0x6dc0
lri $WR1,    #0x8fdf
cw 0xd
call send_back  ; 42797 (0xa72d)

lri $AR1,    #0xf4b8
lri $IX1,    #0x7eda
lri $WR1,    #0x7c97
cw 0xd
call send_back  ; 42798 (0xa72e)

lri $AR1,    #0x79a2
lri $IX1,    #0x0b00
lri $WR1,    #0x4bbf
cw 0xd
call send_back  ; 42799 (0xa72f)

lri $AR1,    #0x27a5
lri $IX1,    #0x6b20
lri $WR1,    #0xa030
cw 0xd
call send_back  ; 42800 (0xa730)

lri $AR1,    #0x9084
lri $IX1,    #0x6096
lri $WR1,    #0x981f
cw 0xd
call send_back  ; 42801 (0xa731)

lri $AR1,    #0x8ab3
lri $IX1,    #0x2300
lri $WR1,    #0x7838
cw 0xd
call send_back  ; 42802 (0xa732)

lri $AR1,    #0xc202
lri $IX1,    #0x9f1e
lri $WR1,    #0x8f71
cw 0xd
call send_back  ; 42803 (0xa733)

lri $AR1,    #0x91cb
lri $IX1,    #0x7688
lri $WR1,    #0xc460
cw 0xd
call send_back  ; 42804 (0xa734)

lri $AR1,    #0x894c
lri $IX1,    #0xc7a0
lri $WR1,    #0x55ee
cw 0xd
call send_back  ; 42805 (0xa735)

lri $AR1,    #0xca97
lri $IX1,    #0x107c
lri $WR1,    #0x7726
cw 0xd
call send_back  ; 42806 (0xa736)

lri $AR1,    #0x57e6
lri $IX1,    #0x7f14
lri $WR1,    #0x6f05
cw 0xd
call send_back  ; 42807 (0xa737)

lri $AR1,    #0xba8b
lri $IX1,    #0x94a4
lri $WR1,    #0x2b01
cw 0xd
call send_back  ; 42808 (0xa738)

lri $AR1,    #0x9a71
lri $IX1,    #0x0966
lri $WR1,    #0x1c3b
cw 0xd
call send_back  ; 42809 (0xa739)

lri $AR1,    #0xbc63
lri $IX1,    #0x3996
lri $WR1,    #0xa4ff
cw 0xd
call send_back  ; 42810 (0xa73a)

lri $AR1,    #0xd0f0
lri $IX1,    #0xf404
lri $WR1,    #0xad97
cw 0xd
call send_back  ; 42811 (0xa73b)

lri $AR1,    #0x653a
lri $IX1,    #0x25fc
lri $WR1,    #0x8cfa
cw 0xd
call send_back  ; 42812 (0xa73c)

lri $AR1,    #0x8291
lri $IX1,    #0x77e4
lri $WR1,    #0xab89
cw 0xd
call send_back  ; 42813 (0xa73d)

lri $AR1,    #0x7907
lri $IX1,    #0x5956
lri $WR1,    #0x8335
cw 0xd
call send_back  ; 42814 (0xa73e)

lri $AR1,    #0x54f6
lri $IX1,    #0x1b0a
lri $WR1,    #0x4254
cw 0xd
call send_back  ; 42815 (0xa73f)

lri $AR1,    #0x76a8
lri $IX1,    #0x6850
lri $WR1,    #0xbb8b
cw 0xd
call send_back  ; 42816 (0xa740)

lri $AR1,    #0x0eff
lri $IX1,    #0x9990
lri $WR1,    #0x56f5
cw 0xd
call send_back  ; 42817 (0xa741)

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