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

lri $AR1,    #0x5921
lri $IX1,    #0xced6
lri $WR1,    #0x6e29
cw 0x15
call send_back  ; 49699 (0xc223)

lri $AR1,    #0x9adc
lri $IX1,    #0x5b2c
lri $WR1,    #0x6cd9
cw 0x15
call send_back  ; 49700 (0xc224)

lri $AR1,    #0x2b03
lri $IX1,    #0x1412
lri $WR1,    #0x6247
cw 0x15
call send_back  ; 49701 (0xc225)

lri $AR1,    #0xc823
lri $IX1,    #0xf24a
lri $WR1,    #0x5efc
cw 0x15
call send_back  ; 49702 (0xc226)

lri $AR1,    #0xade2
lri $IX1,    #0xa1d2
lri $WR1,    #0xc8e2
cw 0x15
call send_back  ; 49703 (0xc227)

lri $AR1,    #0x48a4
lri $IX1,    #0xacf0
lri $WR1,    #0x98e7
cw 0x15
call send_back  ; 49704 (0xc228)

lri $AR1,    #0x40a0
lri $IX1,    #0x47c6
lri $WR1,    #0x8652
cw 0x15
call send_back  ; 49705 (0xc229)

lri $AR1,    #0x3ac6
lri $IX1,    #0x4bc2
lri $WR1,    #0x6d5f
cw 0x15
call send_back  ; 49706 (0xc22a)

lri $AR1,    #0x6147
lri $IX1,    #0xa25c
lri $WR1,    #0x5032
cw 0x15
call send_back  ; 49707 (0xc22b)

lri $AR1,    #0x6d04
lri $IX1,    #0xfb98
lri $WR1,    #0xa6af
cw 0x15
call send_back  ; 49708 (0xc22c)

lri $AR1,    #0x64c6
lri $IX1,    #0x54bc
lri $WR1,    #0x2b48
cw 0x15
call send_back  ; 49709 (0xc22d)

lri $AR1,    #0xf679
lri $IX1,    #0xa8a6
lri $WR1,    #0x5051
cw 0x15
call send_back  ; 49710 (0xc22e)

lri $AR1,    #0x9247
lri $IX1,    #0x433a
lri $WR1,    #0x6aea
cw 0x15
call send_back  ; 49711 (0xc22f)

lri $AR1,    #0xa6e9
lri $IX1,    #0xbe44
lri $WR1,    #0x4612
cw 0x15
call send_back  ; 49712 (0xc230)

lri $AR1,    #0x69ea
lri $IX1,    #0xc65a
lri $WR1,    #0x99e9
cw 0x15
call send_back  ; 49713 (0xc231)

lri $AR1,    #0xd645
lri $IX1,    #0x8b1a
lri $WR1,    #0x30be
cw 0x15
call send_back  ; 49714 (0xc232)

lri $AR1,    #0xdf15
lri $IX1,    #0x4e3c
lri $WR1,    #0xb4f5
cw 0x15
call send_back  ; 49715 (0xc233)

lri $AR1,    #0x9bba
lri $IX1,    #0x01de
lri $WR1,    #0x9847
cw 0x15
call send_back  ; 49716 (0xc234)

lri $AR1,    #0x4e38
lri $IX1,    #0x6e96
lri $WR1,    #0x9e88
cw 0x15
call send_back  ; 49717 (0xc235)

lri $AR1,    #0x742e
lri $IX1,    #0x0e88
lri $WR1,    #0x336a
cw 0x15
call send_back  ; 49718 (0xc236)

lri $AR1,    #0x7618
lri $IX1,    #0xcb32
lri $WR1,    #0x3451
cw 0x15
call send_back  ; 49719 (0xc237)

lri $AR1,    #0xe053
lri $IX1,    #0x3812
lri $WR1,    #0x1cdd
cw 0x15
call send_back  ; 49720 (0xc238)

lri $AR1,    #0xbc94
lri $IX1,    #0xdce6
lri $WR1,    #0x6e15
cw 0x15
call send_back  ; 49721 (0xc239)

lri $AR1,    #0x822c
lri $IX1,    #0xc6a6
lri $WR1,    #0x95ef
cw 0x15
call send_back  ; 49722 (0xc23a)

lri $AR1,    #0x86f0
lri $IX1,    #0x0700
lri $WR1,    #0x6e1b
cw 0x15
call send_back  ; 49723 (0xc23b)

lri $AR1,    #0xc20d
lri $IX1,    #0x265c
lri $WR1,    #0x7eba
cw 0x15
call send_back  ; 49724 (0xc23c)

lri $AR1,    #0x6d9a
lri $IX1,    #0xf54e
lri $WR1,    #0x6b13
cw 0x15
call send_back  ; 49725 (0xc23d)

lri $AR1,    #0x8332
lri $IX1,    #0xbe70
lri $WR1,    #0xabc1
cw 0x15
call send_back  ; 49726 (0xc23e)

lri $AR1,    #0x1375
lri $IX1,    #0xba88
lri $WR1,    #0x5b82
cw 0x15
call send_back  ; 49727 (0xc23f)

lri $AR1,    #0xefb7
lri $IX1,    #0xf4fa
lri $WR1,    #0x411f
cw 0x15
call send_back  ; 49728 (0xc240)

lri $AR1,    #0xe89f
lri $IX1,    #0xa756
lri $WR1,    #0x4aa1
cw 0x15
call send_back  ; 49729 (0xc241)

lri $AR1,    #0xe42a
lri $IX1,    #0x9728
lri $WR1,    #0xbb2c
cw 0x15
call send_back  ; 49730 (0xc242)

lri $AR1,    #0xa0b8
lri $IX1,    #0x51ba
lri $WR1,    #0xbecf
cw 0x15
call send_back  ; 49731 (0xc243)

lri $AR1,    #0x8293
lri $IX1,    #0x5df4
lri $WR1,    #0x4ca4
cw 0x15
call send_back  ; 49732 (0xc244)

lri $AR1,    #0x24ae
lri $IX1,    #0xc512
lri $WR1,    #0x9972
cw 0x15
call send_back  ; 49733 (0xc245)

lri $AR1,    #0x74f7
lri $IX1,    #0xc75a
lri $WR1,    #0xba52
cw 0x15
call send_back  ; 49734 (0xc246)

lri $AR1,    #0x4801
lri $IX1,    #0x528a
lri $WR1,    #0x5864
cw 0x15
call send_back  ; 49735 (0xc247)

lri $AR1,    #0x6762
lri $IX1,    #0xfc18
lri $WR1,    #0x5c36
cw 0x15
call send_back  ; 49736 (0xc248)

lri $AR1,    #0x898d
lri $IX1,    #0xfa18
lri $WR1,    #0xa0d5
cw 0x15
call send_back  ; 49737 (0xc249)

lri $AR1,    #0x4173
lri $IX1,    #0xf9da
lri $WR1,    #0x6c2e
cw 0x15
call send_back  ; 49738 (0xc24a)

lri $AR1,    #0xa7d0
lri $IX1,    #0xe3f6
lri $WR1,    #0x7bba
cw 0x15
call send_back  ; 49739 (0xc24b)

lri $AR1,    #0xa75b
lri $IX1,    #0xba00
lri $WR1,    #0x4a1c
cw 0x15
call send_back  ; 49740 (0xc24c)

lri $AR1,    #0x50b7
lri $IX1,    #0xe28e
lri $WR1,    #0x2bae
cw 0x15
call send_back  ; 49741 (0xc24d)

lri $AR1,    #0xca70
lri $IX1,    #0x8cc6
lri $WR1,    #0x5d94
cw 0x15
call send_back  ; 49742 (0xc24e)

lri $AR1,    #0x34de
lri $IX1,    #0x7504
lri $WR1,    #0x0463
cw 0x15
call send_back  ; 49743 (0xc24f)

lri $AR1,    #0x912b
lri $IX1,    #0x610a
lri $WR1,    #0x3cf9
cw 0x15
call send_back  ; 49744 (0xc250)

lri $AR1,    #0x4660
lri $IX1,    #0x421c
lri $WR1,    #0x2b7c
cw 0x15
call send_back  ; 49745 (0xc251)

lri $AR1,    #0x9eb8
lri $IX1,    #0x307e
lri $WR1,    #0x422e
cw 0x15
call send_back  ; 49746 (0xc252)

lri $AR1,    #0x6b1a
lri $IX1,    #0x83c2
lri $WR1,    #0x2b07
cw 0x15
call send_back  ; 49747 (0xc253)

lri $AR1,    #0x41f9
lri $IX1,    #0x485e
lri $WR1,    #0xb4bf
cw 0x15
call send_back  ; 49748 (0xc254)

lri $AR1,    #0xea75
lri $IX1,    #0x5af4
lri $WR1,    #0xbd53
cw 0x15
call send_back  ; 49749 (0xc255)

lri $AR1,    #0xd40e
lri $IX1,    #0xa6ae
lri $WR1,    #0xb182
cw 0x15
call send_back  ; 49750 (0xc256)

lri $AR1,    #0x5ead
lri $IX1,    #0x8446
lri $WR1,    #0xba68
cw 0x15
call send_back  ; 49751 (0xc257)

lri $AR1,    #0x8e61
lri $IX1,    #0x23ee
lri $WR1,    #0x77c2
cw 0x15
call send_back  ; 49752 (0xc258)

lri $AR1,    #0x719b
lri $IX1,    #0x64d0
lri $WR1,    #0x8ee1
cw 0x15
call send_back  ; 49753 (0xc259)

lri $AR1,    #0x602c
lri $IX1,    #0xa14e
lri $WR1,    #0x43e9
cw 0x15
call send_back  ; 49754 (0xc25a)

lri $AR1,    #0x2cf7
lri $IX1,    #0xe7ae
lri $WR1,    #0xa45f
cw 0x15
call send_back  ; 49755 (0xc25b)

lri $AR1,    #0xcb7d
lri $IX1,    #0xf36e
lri $WR1,    #0xdfa6
cw 0x15
call send_back  ; 49756 (0xc25c)

lri $AR1,    #0x262c
lri $IX1,    #0x23f0
lri $WR1,    #0xa36b
cw 0x15
call send_back  ; 49757 (0xc25d)

lri $AR1,    #0x51c4
lri $IX1,    #0xc196
lri $WR1,    #0x8f97
cw 0x15
call send_back  ; 49758 (0xc25e)

lri $AR1,    #0x4d91
lri $IX1,    #0x431e
lri $WR1,    #0x76df
cw 0x15
call send_back  ; 49759 (0xc25f)

lri $AR1,    #0x77d8
lri $IX1,    #0x1162
lri $WR1,    #0x866c
cw 0x15
call send_back  ; 49760 (0xc260)

lri $AR1,    #0xa93e
lri $IX1,    #0xa020
lri $WR1,    #0xf8ce
cw 0x15
call send_back  ; 49761 (0xc261)

lri $AR1,    #0x6980
lri $IX1,    #0xb70a
lri $WR1,    #0x8597
cw 0x15
call send_back  ; 49762 (0xc262)

lri $AR1,    #0x434a
lri $IX1,    #0x96c4
lri $WR1,    #0xb0ee
cw 0x15
call send_back  ; 49763 (0xc263)

lri $AR1,    #0x447b
lri $IX1,    #0x620e
lri $WR1,    #0x536b
cw 0x15
call send_back  ; 49764 (0xc264)

lri $AR1,    #0x939d
lri $IX1,    #0xfbb0
lri $WR1,    #0x8c7e
cw 0x15
call send_back  ; 49765 (0xc265)

lri $AR1,    #0x1303
lri $IX1,    #0x7e76
lri $WR1,    #0xaecd
cw 0x15
call send_back  ; 49766 (0xc266)

lri $AR1,    #0xad2d
lri $IX1,    #0xb4d8
lri $WR1,    #0x77af
cw 0x15
call send_back  ; 49767 (0xc267)

lri $AR1,    #0x7de1
lri $IX1,    #0xa284
lri $WR1,    #0x6852
cw 0x15
call send_back  ; 49768 (0xc268)

lri $AR1,    #0x76cd
lri $IX1,    #0x6a7c
lri $WR1,    #0x408b
cw 0x15
call send_back  ; 49769 (0xc269)

lri $AR1,    #0xbde8
lri $IX1,    #0xc0f0
lri $WR1,    #0x48f2
cw 0x15
call send_back  ; 49770 (0xc26a)

lri $AR1,    #0x3776
lri $IX1,    #0xc898
lri $WR1,    #0xab5b
cw 0x15
call send_back  ; 49771 (0xc26b)

lri $AR1,    #0xd502
lri $IX1,    #0xd79c
lri $WR1,    #0x6e27
cw 0x15
call send_back  ; 49772 (0xc26c)

lri $AR1,    #0xbe0a
lri $IX1,    #0x48e2
lri $WR1,    #0xa097
cw 0x15
call send_back  ; 49773 (0xc26d)

lri $AR1,    #0x96be
lri $IX1,    #0x52d0
lri $WR1,    #0xc39b
cw 0x15
call send_back  ; 49774 (0xc26e)

lri $AR1,    #0xeca0
lri $IX1,    #0xfd46
lri $WR1,    #0x5c44
cw 0x15
call send_back  ; 49775 (0xc26f)

lri $AR1,    #0x884d
lri $IX1,    #0xdcf4
lri $WR1,    #0xc24c
cw 0x15
call send_back  ; 49776 (0xc270)

lri $AR1,    #0x6f49
lri $IX1,    #0x52d0
lri $WR1,    #0x86e2
cw 0x15
call send_back  ; 49777 (0xc271)

lri $AR1,    #0xa012
lri $IX1,    #0xd2be
lri $WR1,    #0x1d34
cw 0x15
call send_back  ; 49778 (0xc272)

lri $AR1,    #0x665a
lri $IX1,    #0x4532
lri $WR1,    #0x9fd3
cw 0x15
call send_back  ; 49779 (0xc273)

lri $AR1,    #0xeca8
lri $IX1,    #0x13f4
lri $WR1,    #0x8377
cw 0x15
call send_back  ; 49780 (0xc274)

lri $AR1,    #0x4c36
lri $IX1,    #0xfab4
lri $WR1,    #0xa141
cw 0x15
call send_back  ; 49781 (0xc275)

lri $AR1,    #0xab66
lri $IX1,    #0x68a2
lri $WR1,    #0xa000
cw 0x15
call send_back  ; 49782 (0xc276)

lri $AR1,    #0x5e8f
lri $IX1,    #0x40b2
lri $WR1,    #0x4588
cw 0x15
call send_back  ; 49783 (0xc277)

lri $AR1,    #0xd66f
lri $IX1,    #0x32ce
lri $WR1,    #0x7eb5
cw 0x15
call send_back  ; 49784 (0xc278)

lri $AR1,    #0x5334
lri $IX1,    #0xe08c
lri $WR1,    #0xd61f
cw 0x15
call send_back  ; 49785 (0xc279)

lri $AR1,    #0xb234
lri $IX1,    #0xa4b2
lri $WR1,    #0x7f19
cw 0x15
call send_back  ; 49786 (0xc27a)

lri $AR1,    #0x205b
lri $IX1,    #0x4524
lri $WR1,    #0x6bfe
cw 0x15
call send_back  ; 49787 (0xc27b)

lri $AR1,    #0x627c
lri $IX1,    #0x3376
lri $WR1,    #0x7c70
cw 0x15
call send_back  ; 49788 (0xc27c)

lri $AR1,    #0xa061
lri $IX1,    #0x68d4
lri $WR1,    #0x8984
cw 0x15
call send_back  ; 49789 (0xc27d)

lri $AR1,    #0x8eee
lri $IX1,    #0x7e68
lri $WR1,    #0xd372
cw 0x15
call send_back  ; 49790 (0xc27e)

lri $AR1,    #0x5919
lri $IX1,    #0x83ec
lri $WR1,    #0x75e5
cw 0x15
call send_back  ; 49791 (0xc27f)

lri $AR1,    #0x9f1a
lri $IX1,    #0x62ae
lri $WR1,    #0x6d67
cw 0x15
call send_back  ; 49792 (0xc280)

lri $AR1,    #0xae91
lri $IX1,    #0x739c
lri $WR1,    #0x420b
cw 0x15
call send_back  ; 49793 (0xc281)

lri $AR1,    #0x95ff
lri $IX1,    #0x7388
lri $WR1,    #0x78d7
cw 0x15
call send_back  ; 49794 (0xc282)

lri $AR1,    #0xc959
lri $IX1,    #0x5178
lri $WR1,    #0xdf06
cw 0x15
call send_back  ; 49795 (0xc283)

lri $AR1,    #0x9511
lri $IX1,    #0x8efe
lri $WR1,    #0x77b0
cw 0x15
call send_back  ; 49796 (0xc284)

lri $AR1,    #0x784f
lri $IX1,    #0x3370
lri $WR1,    #0x2dec
cw 0x15
call send_back  ; 49797 (0xc285)

lri $AR1,    #0x8ec7
lri $IX1,    #0xc720
lri $WR1,    #0x4aec
cw 0x15
call send_back  ; 49798 (0xc286)

lri $AR1,    #0x55e3
lri $IX1,    #0x8c40
lri $WR1,    #0x7144
cw 0x15
call send_back  ; 49799 (0xc287)

lri $AR1,    #0xb09f
lri $IX1,    #0x57b6
lri $WR1,    #0xe3bc
cw 0x15
call send_back  ; 49800 (0xc288)

lri $AR1,    #0xf8e0
lri $IX1,    #0x246e
lri $WR1,    #0x87f1
cw 0x15
call send_back  ; 49801 (0xc289)

lri $AR1,    #0x8ca3
lri $IX1,    #0xe082
lri $WR1,    #0xc22c
cw 0x15
call send_back  ; 49802 (0xc28a)

lri $AR1,    #0x78b7
lri $IX1,    #0x23c2
lri $WR1,    #0x5996
cw 0x15
call send_back  ; 49803 (0xc28b)

lri $AR1,    #0x8a79
lri $IX1,    #0x9bee
lri $WR1,    #0x6951
cw 0x15
call send_back  ; 49804 (0xc28c)

lri $AR1,    #0x8d41
lri $IX1,    #0x2336
lri $WR1,    #0x5c81
cw 0x15
call send_back  ; 49805 (0xc28d)

lri $AR1,    #0xa7e3
lri $IX1,    #0xca4a
lri $WR1,    #0x70e9
cw 0x15
call send_back  ; 49806 (0xc28e)

lri $AR1,    #0x120e
lri $IX1,    #0xbf80
lri $WR1,    #0x9d0f
cw 0x15
call send_back  ; 49807 (0xc28f)

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