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

lri $AR1,    #0x9949
lri $IX1,    #0x55b8
lri $WR1,    #0xc022
cw 0x15
call send_back  ; 40633 (0x9eb9)

lri $AR1,    #0xd54f
lri $IX1,    #0xfab2
lri $WR1,    #0x8682
cw 0x15
call send_back  ; 40634 (0x9eba)

lri $AR1,    #0xa733
lri $IX1,    #0xfd0e
lri $WR1,    #0x2e96
cw 0x15
call send_back  ; 40635 (0x9ebb)

lri $AR1,    #0x680e
lri $IX1,    #0x7bec
lri $WR1,    #0xfc9c
cw 0x15
call send_back  ; 40636 (0x9ebc)

lri $AR1,    #0x4afe
lri $IX1,    #0xce72
lri $WR1,    #0x5f97
cw 0x15
call send_back  ; 40637 (0x9ebd)

lri $AR1,    #0x9ccf
lri $IX1,    #0xdab2
lri $WR1,    #0x9a7c
cw 0x15
call send_back  ; 40638 (0x9ebe)

lri $AR1,    #0x666c
lri $IX1,    #0xe6c4
lri $WR1,    #0xa807
cw 0x15
call send_back  ; 40639 (0x9ebf)

lri $AR1,    #0x2994
lri $IX1,    #0x523e
lri $WR1,    #0xc39e
cw 0x15
call send_back  ; 40640 (0x9ec0)

lri $AR1,    #0x3a7b
lri $IX1,    #0x7ec6
lri $WR1,    #0x8b83
cw 0x15
call send_back  ; 40641 (0x9ec1)

lri $AR1,    #0x38c9
lri $IX1,    #0xb2da
lri $WR1,    #0x3db8
cw 0x15
call send_back  ; 40642 (0x9ec2)

lri $AR1,    #0x3dab
lri $IX1,    #0x129c
lri $WR1,    #0x82c7
cw 0x15
call send_back  ; 40643 (0x9ec3)

lri $AR1,    #0x5c56
lri $IX1,    #0x06a4
lri $WR1,    #0x6ee7
cw 0x15
call send_back  ; 40644 (0x9ec4)

lri $AR1,    #0x6dca
lri $IX1,    #0xb1c2
lri $WR1,    #0xbb9b
cw 0x15
call send_back  ; 40645 (0x9ec5)

lri $AR1,    #0x3020
lri $IX1,    #0x8ab6
lri $WR1,    #0x9956
cw 0x15
call send_back  ; 40646 (0x9ec6)

lri $AR1,    #0x6537
lri $IX1,    #0xef8a
lri $WR1,    #0xba37
cw 0x15
call send_back  ; 40647 (0x9ec7)

lri $AR1,    #0xb414
lri $IX1,    #0xb4ec
lri $WR1,    #0xbc66
cw 0x15
call send_back  ; 40648 (0x9ec8)

lri $AR1,    #0x7bb0
lri $IX1,    #0x6c04
lri $WR1,    #0x442d
cw 0x15
call send_back  ; 40649 (0x9ec9)

lri $AR1,    #0xe5ae
lri $IX1,    #0x7e16
lri $WR1,    #0x4353
cw 0x15
call send_back  ; 40650 (0x9eca)

lri $AR1,    #0x3a93
lri $IX1,    #0x6d8c
lri $WR1,    #0x7ccf
cw 0x15
call send_back  ; 40651 (0x9ecb)

lri $AR1,    #0xa102
lri $IX1,    #0xa8b0
lri $WR1,    #0xa962
cw 0x15
call send_back  ; 40652 (0x9ecc)

lri $AR1,    #0x6caa
lri $IX1,    #0x82ae
lri $WR1,    #0x9b1d
cw 0x15
call send_back  ; 40653 (0x9ecd)

lri $AR1,    #0x5145
lri $IX1,    #0x3c18
lri $WR1,    #0x3b82
cw 0x15
call send_back  ; 40654 (0x9ece)

lri $AR1,    #0x9174
lri $IX1,    #0xa4a8
lri $WR1,    #0xa123
cw 0x15
call send_back  ; 40655 (0x9ecf)

lri $AR1,    #0x78d0
lri $IX1,    #0xec4e
lri $WR1,    #0x9f7a
cw 0x15
call send_back  ; 40656 (0x9ed0)

lri $AR1,    #0xfbeb
lri $IX1,    #0xd266
lri $WR1,    #0x7cea
cw 0x15
call send_back  ; 40657 (0x9ed1)

lri $AR1,    #0x98ae
lri $IX1,    #0xa622
lri $WR1,    #0x488e
cw 0x15
call send_back  ; 40658 (0x9ed2)

lri $AR1,    #0x64cc
lri $IX1,    #0x9bec
lri $WR1,    #0x7adb
cw 0x15
call send_back  ; 40659 (0x9ed3)

lri $AR1,    #0x7fa3
lri $IX1,    #0xf7f0
lri $WR1,    #0x81a6
cw 0x15
call send_back  ; 40660 (0x9ed4)

lri $AR1,    #0xb860
lri $IX1,    #0x9660
lri $WR1,    #0x71a7
cw 0x15
call send_back  ; 40661 (0x9ed5)

lri $AR1,    #0x88ae
lri $IX1,    #0x8eda
lri $WR1,    #0xb4fa
cw 0x15
call send_back  ; 40662 (0x9ed6)

lri $AR1,    #0x67c3
lri $IX1,    #0x306e
lri $WR1,    #0x8fb6
cw 0x15
call send_back  ; 40663 (0x9ed7)

lri $AR1,    #0x511a
lri $IX1,    #0x8082
lri $WR1,    #0x9935
cw 0x15
call send_back  ; 40664 (0x9ed8)

lri $AR1,    #0x85ad
lri $IX1,    #0xdf56
lri $WR1,    #0x3204
cw 0x15
call send_back  ; 40665 (0x9ed9)

lri $AR1,    #0x6dfd
lri $IX1,    #0x993a
lri $WR1,    #0x6c21
cw 0x15
call send_back  ; 40666 (0x9eda)

lri $AR1,    #0x76ba
lri $IX1,    #0x1c4c
lri $WR1,    #0x2c91
cw 0x15
call send_back  ; 40667 (0x9edb)

lri $AR1,    #0x294b
lri $IX1,    #0x66c0
lri $WR1,    #0xe2ce
cw 0x15
call send_back  ; 40668 (0x9edc)

lri $AR1,    #0x7d2f
lri $IX1,    #0x2a88
lri $WR1,    #0x6c45
cw 0x15
call send_back  ; 40669 (0x9edd)

lri $AR1,    #0xce4f
lri $IX1,    #0x377a
lri $WR1,    #0x7738
cw 0x15
call send_back  ; 40670 (0x9ede)

lri $AR1,    #0x6847
lri $IX1,    #0x1daa
lri $WR1,    #0x5a5a
cw 0x15
call send_back  ; 40671 (0x9edf)

lri $AR1,    #0x8dc3
lri $IX1,    #0xc628
lri $WR1,    #0x3b71
cw 0x15
call send_back  ; 40672 (0x9ee0)

lri $AR1,    #0xaef8
lri $IX1,    #0x18c2
lri $WR1,    #0x6946
cw 0x15
call send_back  ; 40673 (0x9ee1)

lri $AR1,    #0x814d
lri $IX1,    #0xca1e
lri $WR1,    #0xda49
cw 0x15
call send_back  ; 40674 (0x9ee2)

lri $AR1,    #0xbe3c
lri $IX1,    #0x3db8
lri $WR1,    #0x331c
cw 0x15
call send_back  ; 40675 (0x9ee3)

lri $AR1,    #0x568b
lri $IX1,    #0x2400
lri $WR1,    #0x6d75
cw 0x15
call send_back  ; 40676 (0x9ee4)

lri $AR1,    #0x42d6
lri $IX1,    #0x4554
lri $WR1,    #0x917d
cw 0x15
call send_back  ; 40677 (0x9ee5)

lri $AR1,    #0xa99b
lri $IX1,    #0xdef4
lri $WR1,    #0xd137
cw 0x15
call send_back  ; 40678 (0x9ee6)

lri $AR1,    #0x36a1
lri $IX1,    #0x37aa
lri $WR1,    #0x96f8
cw 0x15
call send_back  ; 40679 (0x9ee7)

lri $AR1,    #0x971f
lri $IX1,    #0xbe5a
lri $WR1,    #0x9d88
cw 0x15
call send_back  ; 40680 (0x9ee8)

lri $AR1,    #0x794e
lri $IX1,    #0x3d1a
lri $WR1,    #0x51f8
cw 0x15
call send_back  ; 40681 (0x9ee9)

lri $AR1,    #0x8dd0
lri $IX1,    #0x900e
lri $WR1,    #0x6cbd
cw 0x15
call send_back  ; 40682 (0x9eea)

lri $AR1,    #0xbcb7
lri $IX1,    #0xffc0
lri $WR1,    #0x4127
cw 0x15
call send_back  ; 40683 (0x9eeb)

lri $AR1,    #0x6777
lri $IX1,    #0xfb0e
lri $WR1,    #0x97b3
cw 0x15
call send_back  ; 40684 (0x9eec)

lri $AR1,    #0x8c9c
lri $IX1,    #0x9572
lri $WR1,    #0x615c
cw 0x15
call send_back  ; 40685 (0x9eed)

lri $AR1,    #0x5180
lri $IX1,    #0x02c6
lri $WR1,    #0x0f70
cw 0x15
call send_back  ; 40686 (0x9eee)

lri $AR1,    #0xb9f4
lri $IX1,    #0x6a3c
lri $WR1,    #0x3cfb
cw 0x15
call send_back  ; 40687 (0x9eef)

lri $AR1,    #0x8cff
lri $IX1,    #0xf6ba
lri $WR1,    #0x7c54
cw 0x15
call send_back  ; 40688 (0x9ef0)

lri $AR1,    #0x71b1
lri $IX1,    #0x234a
lri $WR1,    #0x64e5
cw 0x15
call send_back  ; 40689 (0x9ef1)

lri $AR1,    #0x8e37
lri $IX1,    #0x06c4
lri $WR1,    #0x4aba
cw 0x15
call send_back  ; 40690 (0x9ef2)

lri $AR1,    #0x470a
lri $IX1,    #0xf26e
lri $WR1,    #0xbadc
cw 0x15
call send_back  ; 40691 (0x9ef3)

lri $AR1,    #0x83a0
lri $IX1,    #0x33c8
lri $WR1,    #0xcd22
cw 0x15
call send_back  ; 40692 (0x9ef4)

lri $AR1,    #0x793e
lri $IX1,    #0x5212
lri $WR1,    #0x756b
cw 0x15
call send_back  ; 40693 (0x9ef5)

lri $AR1,    #0x4c74
lri $IX1,    #0xd4f0
lri $WR1,    #0x9bde
cw 0x15
call send_back  ; 40694 (0x9ef6)

lri $AR1,    #0x3ce2
lri $IX1,    #0xa1ac
lri $WR1,    #0xc54d
cw 0x15
call send_back  ; 40695 (0x9ef7)

lri $AR1,    #0x66b5
lri $IX1,    #0x6964
lri $WR1,    #0xda2f
cw 0x15
call send_back  ; 40696 (0x9ef8)

lri $AR1,    #0xd0a5
lri $IX1,    #0x9ac2
lri $WR1,    #0x8458
cw 0x15
call send_back  ; 40697 (0x9ef9)

lri $AR1,    #0x5cb4
lri $IX1,    #0xee80
lri $WR1,    #0x88f7
cw 0x15
call send_back  ; 40698 (0x9efa)

lri $AR1,    #0xa59a
lri $IX1,    #0x1654
lri $WR1,    #0x55e4
cw 0x15
call send_back  ; 40699 (0x9efb)

lri $AR1,    #0xba18
lri $IX1,    #0x728a
lri $WR1,    #0x0ede
cw 0x15
call send_back  ; 40700 (0x9efc)

lri $AR1,    #0x6302
lri $IX1,    #0x1ade
lri $WR1,    #0xa0b4
cw 0x15
call send_back  ; 40701 (0x9efd)

lri $AR1,    #0x9068
lri $IX1,    #0x1bee
lri $WR1,    #0x9df9
cw 0x15
call send_back  ; 40702 (0x9efe)

lri $AR1,    #0x8d8c
lri $IX1,    #0xaaca
lri $WR1,    #0x4a56
cw 0x15
call send_back  ; 40703 (0x9eff)

lri $AR1,    #0x9313
lri $IX1,    #0x5cf6
lri $WR1,    #0x1ef1
cw 0x15
call send_back  ; 40704 (0x9f00)

lri $AR1,    #0x9a29
lri $IX1,    #0x4b6e
lri $WR1,    #0x1c1a
cw 0x15
call send_back  ; 40705 (0x9f01)

lri $AR1,    #0x52f9
lri $IX1,    #0x8c00
lri $WR1,    #0xc9af
cw 0x15
call send_back  ; 40706 (0x9f02)

lri $AR1,    #0xb448
lri $IX1,    #0xbc7e
lri $WR1,    #0xb96b
cw 0x15
call send_back  ; 40707 (0x9f03)

lri $AR1,    #0xa170
lri $IX1,    #0x9832
lri $WR1,    #0x9380
cw 0x15
call send_back  ; 40708 (0x9f04)

lri $AR1,    #0x7fa7
lri $IX1,    #0xd806
lri $WR1,    #0x8fc0
cw 0x15
call send_back  ; 40709 (0x9f05)

lri $AR1,    #0xa2cc
lri $IX1,    #0x12be
lri $WR1,    #0x9abe
cw 0x15
call send_back  ; 40710 (0x9f06)

lri $AR1,    #0x9d96
lri $IX1,    #0x12e4
lri $WR1,    #0xa803
cw 0x15
call send_back  ; 40711 (0x9f07)

lri $AR1,    #0x986b
lri $IX1,    #0x448e
lri $WR1,    #0xb7f8
cw 0x15
call send_back  ; 40712 (0x9f08)

lri $AR1,    #0x3dc0
lri $IX1,    #0x95be
lri $WR1,    #0x4174
cw 0x15
call send_back  ; 40713 (0x9f09)

lri $AR1,    #0x6a3a
lri $IX1,    #0x8880
lri $WR1,    #0x5c9e
cw 0x15
call send_back  ; 40714 (0x9f0a)

lri $AR1,    #0x8276
lri $IX1,    #0x667c
lri $WR1,    #0x1e18
cw 0x15
call send_back  ; 40715 (0x9f0b)

lri $AR1,    #0x77bb
lri $IX1,    #0xa222
lri $WR1,    #0x6721
cw 0x15
call send_back  ; 40716 (0x9f0c)

lri $AR1,    #0x8071
lri $IX1,    #0x9a3a
lri $WR1,    #0x689b
cw 0x15
call send_back  ; 40717 (0x9f0d)

lri $AR1,    #0xb894
lri $IX1,    #0x48e0
lri $WR1,    #0x94a4
cw 0x15
call send_back  ; 40718 (0x9f0e)

lri $AR1,    #0x2220
lri $IX1,    #0x07c8
lri $WR1,    #0x9bbc
cw 0x15
call send_back  ; 40719 (0x9f0f)

lri $AR1,    #0x348f
lri $IX1,    #0x9fcc
lri $WR1,    #0xb81b
cw 0x15
call send_back  ; 40720 (0x9f10)

lri $AR1,    #0xb66d
lri $IX1,    #0x72a0
lri $WR1,    #0xd332
cw 0x15
call send_back  ; 40721 (0x9f11)

lri $AR1,    #0xdb26
lri $IX1,    #0xd1c2
lri $WR1,    #0x5efb
cw 0x15
call send_back  ; 40722 (0x9f12)

lri $AR1,    #0x7304
lri $IX1,    #0xa658
lri $WR1,    #0x6e18
cw 0x15
call send_back  ; 40723 (0x9f13)

lri $AR1,    #0x428c
lri $IX1,    #0x8a34
lri $WR1,    #0x8b5d
cw 0x15
call send_back  ; 40724 (0x9f14)

lri $AR1,    #0xb220
lri $IX1,    #0x7aa4
lri $WR1,    #0x6ace
cw 0x15
call send_back  ; 40725 (0x9f15)

lri $AR1,    #0xd632
lri $IX1,    #0x8252
lri $WR1,    #0xaba7
cw 0x15
call send_back  ; 40726 (0x9f16)

lri $AR1,    #0x33cc
lri $IX1,    #0x37c2
lri $WR1,    #0x646b
cw 0x15
call send_back  ; 40727 (0x9f17)

lri $AR1,    #0x7cd1
lri $IX1,    #0xdaca
lri $WR1,    #0x77b5
cw 0x15
call send_back  ; 40728 (0x9f18)

lri $AR1,    #0xaab0
lri $IX1,    #0x5380
lri $WR1,    #0x999d
cw 0x15
call send_back  ; 40729 (0x9f19)

lri $AR1,    #0x3df1
lri $IX1,    #0x7a02
lri $WR1,    #0xdb81
cw 0x15
call send_back  ; 40730 (0x9f1a)

lri $AR1,    #0x5c58
lri $IX1,    #0xfea4
lri $WR1,    #0xe512
cw 0x15
call send_back  ; 40731 (0x9f1b)

lri $AR1,    #0x6ef3
lri $IX1,    #0x26c6
lri $WR1,    #0x974c
cw 0x15
call send_back  ; 40732 (0x9f1c)

lri $AR1,    #0x9cf8
lri $IX1,    #0x7af4
lri $WR1,    #0x8f64
cw 0x15
call send_back  ; 40733 (0x9f1d)

lri $AR1,    #0x6f96
lri $IX1,    #0x978e
lri $WR1,    #0x3d40
cw 0x15
call send_back  ; 40734 (0x9f1e)

lri $AR1,    #0xeebd
lri $IX1,    #0xb1a4
lri $WR1,    #0x627d
cw 0x15
call send_back  ; 40735 (0x9f1f)

lri $AR1,    #0x7e02
lri $IX1,    #0x2e2a
lri $WR1,    #0x34a0
cw 0x15
call send_back  ; 40736 (0x9f20)

lri $AR1,    #0x8c8d
lri $IX1,    #0x024c
lri $WR1,    #0x6680
cw 0x15
call send_back  ; 40737 (0x9f21)

lri $AR1,    #0x2a4d
lri $IX1,    #0x97fc
lri $WR1,    #0x6a6c
cw 0x15
call send_back  ; 40738 (0x9f22)

lri $AR1,    #0xa84f
lri $IX1,    #0xc26c
lri $WR1,    #0xb033
cw 0x15
call send_back  ; 40739 (0x9f23)

lri $AR1,    #0x7184
lri $IX1,    #0x0aba
lri $WR1,    #0xd789
cw 0x15
call send_back  ; 40740 (0x9f24)

lri $AR1,    #0xa4ba
lri $IX1,    #0x655a
lri $WR1,    #0xa8e5
cw 0x15
call send_back  ; 40741 (0x9f25)

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