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

lri $AR1,    #0xc38b
lri $IX1,    #0x3b22
lri $WR1,    #0xf2fd
cw 0x15
call send_back  ; 32660 (0x7f94)

lri $AR1,    #0x9e32
lri $IX1,    #0xbf0e
lri $WR1,    #0x27c3
cw 0x15
call send_back  ; 32661 (0x7f95)

lri $AR1,    #0xdb8f
lri $IX1,    #0xfd3c
lri $WR1,    #0x13fb
cw 0x15
call send_back  ; 32662 (0x7f96)

lri $AR1,    #0x8d58
lri $IX1,    #0xa224
lri $WR1,    #0x8806
cw 0x15
call send_back  ; 32663 (0x7f97)

lri $AR1,    #0x9b3c
lri $IX1,    #0xd16e
lri $WR1,    #0x49f8
cw 0x15
call send_back  ; 32664 (0x7f98)

lri $AR1,    #0x5098
lri $IX1,    #0x99e6
lri $WR1,    #0x7a07
cw 0x15
call send_back  ; 32665 (0x7f99)

lri $AR1,    #0x96fe
lri $IX1,    #0x6a3e
lri $WR1,    #0xa54d
cw 0x15
call send_back  ; 32666 (0x7f9a)

lri $AR1,    #0x575d
lri $IX1,    #0x1e3e
lri $WR1,    #0x6dd5
cw 0x15
call send_back  ; 32667 (0x7f9b)

lri $AR1,    #0x6313
lri $IX1,    #0x189a
lri $WR1,    #0xc499
cw 0x15
call send_back  ; 32668 (0x7f9c)

lri $AR1,    #0x81be
lri $IX1,    #0xc610
lri $WR1,    #0xeb6a
cw 0x15
call send_back  ; 32669 (0x7f9d)

lri $AR1,    #0xb01a
lri $IX1,    #0xfb16
lri $WR1,    #0x326a
cw 0x15
call send_back  ; 32670 (0x7f9e)

lri $AR1,    #0x9fc5
lri $IX1,    #0xfdae
lri $WR1,    #0x8611
cw 0x15
call send_back  ; 32671 (0x7f9f)

lri $AR1,    #0x7f1e
lri $IX1,    #0xd9a2
lri $WR1,    #0xc861
cw 0x15
call send_back  ; 32672 (0x7fa0)

lri $AR1,    #0x5c38
lri $IX1,    #0xf5d4
lri $WR1,    #0x794b
cw 0x15
call send_back  ; 32673 (0x7fa1)

lri $AR1,    #0x7511
lri $IX1,    #0xe5c6
lri $WR1,    #0xbfdc
cw 0x15
call send_back  ; 32674 (0x7fa2)

lri $AR1,    #0x5ae1
lri $IX1,    #0x4320
lri $WR1,    #0xd740
cw 0x15
call send_back  ; 32675 (0x7fa3)

lri $AR1,    #0x55e2
lri $IX1,    #0x1750
lri $WR1,    #0x9824
cw 0x15
call send_back  ; 32676 (0x7fa4)

lri $AR1,    #0x5253
lri $IX1,    #0x2606
lri $WR1,    #0xb09d
cw 0x15
call send_back  ; 32677 (0x7fa5)

lri $AR1,    #0xaf01
lri $IX1,    #0x5d9a
lri $WR1,    #0x7a08
cw 0x15
call send_back  ; 32678 (0x7fa6)

lri $AR1,    #0x6939
lri $IX1,    #0xf34a
lri $WR1,    #0x9e05
cw 0x15
call send_back  ; 32679 (0x7fa7)

lri $AR1,    #0xb961
lri $IX1,    #0x5d34
lri $WR1,    #0xc113
cw 0x15
call send_back  ; 32680 (0x7fa8)

lri $AR1,    #0x9f14
lri $IX1,    #0x94fc
lri $WR1,    #0x92ef
cw 0x15
call send_back  ; 32681 (0x7fa9)

lri $AR1,    #0x7b06
lri $IX1,    #0xf228
lri $WR1,    #0xd229
cw 0x15
call send_back  ; 32682 (0x7faa)

lri $AR1,    #0x088d
lri $IX1,    #0x9bec
lri $WR1,    #0x6219
cw 0x15
call send_back  ; 32683 (0x7fab)

lri $AR1,    #0xb00e
lri $IX1,    #0x2ea6
lri $WR1,    #0x67b6
cw 0x15
call send_back  ; 32684 (0x7fac)

lri $AR1,    #0xa735
lri $IX1,    #0xd99c
lri $WR1,    #0x5b66
cw 0x15
call send_back  ; 32685 (0x7fad)

lri $AR1,    #0x8332
lri $IX1,    #0x0e48
lri $WR1,    #0x7b52
cw 0x15
call send_back  ; 32686 (0x7fae)

lri $AR1,    #0xa4d4
lri $IX1,    #0xfac8
lri $WR1,    #0x6b4e
cw 0x15
call send_back  ; 32687 (0x7faf)

lri $AR1,    #0x1dd8
lri $IX1,    #0x95c2
lri $WR1,    #0x74eb
cw 0x15
call send_back  ; 32688 (0x7fb0)

lri $AR1,    #0x3a2c
lri $IX1,    #0x1a4e
lri $WR1,    #0x23c0
cw 0x15
call send_back  ; 32689 (0x7fb1)

lri $AR1,    #0x9790
lri $IX1,    #0x9720
lri $WR1,    #0x476e
cw 0x15
call send_back  ; 32690 (0x7fb2)

lri $AR1,    #0x8942
lri $IX1,    #0xc4ae
lri $WR1,    #0x968c
cw 0x15
call send_back  ; 32691 (0x7fb3)

lri $AR1,    #0x4d26
lri $IX1,    #0xd274
lri $WR1,    #0xa2eb
cw 0x15
call send_back  ; 32692 (0x7fb4)

lri $AR1,    #0x3326
lri $IX1,    #0x6404
lri $WR1,    #0xe94f
cw 0x15
call send_back  ; 32693 (0x7fb5)

lri $AR1,    #0xa722
lri $IX1,    #0xab1c
lri $WR1,    #0x6440
cw 0x15
call send_back  ; 32694 (0x7fb6)

lri $AR1,    #0x713c
lri $IX1,    #0x8c76
lri $WR1,    #0x8ad5
cw 0x15
call send_back  ; 32695 (0x7fb7)

lri $AR1,    #0x57d4
lri $IX1,    #0x296c
lri $WR1,    #0x6a42
cw 0x15
call send_back  ; 32696 (0x7fb8)

lri $AR1,    #0x7a04
lri $IX1,    #0x2136
lri $WR1,    #0x7204
cw 0x15
call send_back  ; 32697 (0x7fb9)

lri $AR1,    #0x98e1
lri $IX1,    #0x80ee
lri $WR1,    #0x7863
cw 0x15
call send_back  ; 32698 (0x7fba)

lri $AR1,    #0x7963
lri $IX1,    #0xc9fa
lri $WR1,    #0x4e43
cw 0x15
call send_back  ; 32699 (0x7fbb)

lri $AR1,    #0x703c
lri $IX1,    #0xd31e
lri $WR1,    #0x4eda
cw 0x15
call send_back  ; 32700 (0x7fbc)

lri $AR1,    #0x6465
lri $IX1,    #0xb0e8
lri $WR1,    #0x9163
cw 0x15
call send_back  ; 32701 (0x7fbd)

lri $AR1,    #0x84bf
lri $IX1,    #0x6694
lri $WR1,    #0xa04b
cw 0x15
call send_back  ; 32702 (0x7fbe)

lri $AR1,    #0x7090
lri $IX1,    #0x0120
lri $WR1,    #0xbb05
cw 0x15
call send_back  ; 32703 (0x7fbf)

lri $AR1,    #0x8a2a
lri $IX1,    #0x0acc
lri $WR1,    #0x8cf1
cw 0x15
call send_back  ; 32704 (0x7fc0)

lri $AR1,    #0x769d
lri $IX1,    #0x1da4
lri $WR1,    #0x4d88
cw 0x15
call send_back  ; 32705 (0x7fc1)

lri $AR1,    #0x4ca9
lri $IX1,    #0xe052
lri $WR1,    #0x4b44
cw 0x15
call send_back  ; 32706 (0x7fc2)

lri $AR1,    #0x08d2
lri $IX1,    #0x08d8
lri $WR1,    #0x5467
cw 0x15
call send_back  ; 32707 (0x7fc3)

lri $AR1,    #0xe3e4
lri $IX1,    #0x3d7e
lri $WR1,    #0x261f
cw 0x15
call send_back  ; 32708 (0x7fc4)

lri $AR1,    #0x84b8
lri $IX1,    #0xf47a
lri $WR1,    #0x642a
cw 0x15
call send_back  ; 32709 (0x7fc5)

lri $AR1,    #0x957f
lri $IX1,    #0xe7b0
lri $WR1,    #0x7870
cw 0x15
call send_back  ; 32710 (0x7fc6)

lri $AR1,    #0x6872
lri $IX1,    #0x7218
lri $WR1,    #0x7bc8
cw 0x15
call send_back  ; 32711 (0x7fc7)

lri $AR1,    #0x6f29
lri $IX1,    #0x5904
lri $WR1,    #0xce55
cw 0x15
call send_back  ; 32712 (0x7fc8)

lri $AR1,    #0xb37a
lri $IX1,    #0x3c04
lri $WR1,    #0x2f95
cw 0x15
call send_back  ; 32713 (0x7fc9)

lri $AR1,    #0xa01d
lri $IX1,    #0x4a86
lri $WR1,    #0xd3ca
cw 0x15
call send_back  ; 32714 (0x7fca)

lri $AR1,    #0x9af0
lri $IX1,    #0x0eda
lri $WR1,    #0x85a3
cw 0x15
call send_back  ; 32715 (0x7fcb)

lri $AR1,    #0x9a2f
lri $IX1,    #0x3af4
lri $WR1,    #0xb8d6
cw 0x15
call send_back  ; 32716 (0x7fcc)

lri $AR1,    #0x595f
lri $IX1,    #0x8b66
lri $WR1,    #0x6baf
cw 0x15
call send_back  ; 32717 (0x7fcd)

lri $AR1,    #0x8253
lri $IX1,    #0x29ec
lri $WR1,    #0x3326
cw 0x15
call send_back  ; 32718 (0x7fce)

lri $AR1,    #0x6205
lri $IX1,    #0x9928
lri $WR1,    #0x2e88
cw 0x15
call send_back  ; 32719 (0x7fcf)

lri $AR1,    #0x78a4
lri $IX1,    #0x3fae
lri $WR1,    #0xc543
cw 0x15
call send_back  ; 32720 (0x7fd0)

lri $AR1,    #0x3f9c
lri $IX1,    #0x4146
lri $WR1,    #0x5af5
cw 0x15
call send_back  ; 32721 (0x7fd1)

lri $AR1,    #0xbfec
lri $IX1,    #0x994a
lri $WR1,    #0x7330
cw 0x15
call send_back  ; 32722 (0x7fd2)

lri $AR1,    #0x66a1
lri $IX1,    #0x7a0c
lri $WR1,    #0x7020
cw 0x15
call send_back  ; 32723 (0x7fd3)

lri $AR1,    #0xccaf
lri $IX1,    #0xf15c
lri $WR1,    #0x8c95
cw 0x15
call send_back  ; 32724 (0x7fd4)

lri $AR1,    #0xc31c
lri $IX1,    #0xdada
lri $WR1,    #0x4b7c
cw 0x15
call send_back  ; 32725 (0x7fd5)

lri $AR1,    #0x43ac
lri $IX1,    #0x5d48
lri $WR1,    #0xb469
cw 0x15
call send_back  ; 32726 (0x7fd6)

lri $AR1,    #0x49eb
lri $IX1,    #0xb09e
lri $WR1,    #0xb62d
cw 0x15
call send_back  ; 32727 (0x7fd7)

lri $AR1,    #0x6fed
lri $IX1,    #0xd6ec
lri $WR1,    #0x4e1a
cw 0x15
call send_back  ; 32728 (0x7fd8)

lri $AR1,    #0xd584
lri $IX1,    #0x6ad8
lri $WR1,    #0x7bf3
cw 0x15
call send_back  ; 32729 (0x7fd9)

lri $AR1,    #0xb84b
lri $IX1,    #0xcadc
lri $WR1,    #0x782f
cw 0x15
call send_back  ; 32730 (0x7fda)

lri $AR1,    #0x9645
lri $IX1,    #0xd8fc
lri $WR1,    #0xf389
cw 0x15
call send_back  ; 32731 (0x7fdb)

lri $AR1,    #0x9c75
lri $IX1,    #0x6316
lri $WR1,    #0xbc78
cw 0x15
call send_back  ; 32732 (0x7fdc)

lri $AR1,    #0x5e31
lri $IX1,    #0x3082
lri $WR1,    #0x609c
cw 0x15
call send_back  ; 32733 (0x7fdd)

lri $AR1,    #0x417c
lri $IX1,    #0xc640
lri $WR1,    #0x9db3
cw 0x15
call send_back  ; 32734 (0x7fde)

lri $AR1,    #0x9045
lri $IX1,    #0x534c
lri $WR1,    #0x9725
cw 0x15
call send_back  ; 32735 (0x7fdf)

lri $AR1,    #0x95d6
lri $IX1,    #0x035a
lri $WR1,    #0xaab0
cw 0x15
call send_back  ; 32736 (0x7fe0)

lri $AR1,    #0x7b37
lri $IX1,    #0x4ea4
lri $WR1,    #0x4857
cw 0x15
call send_back  ; 32737 (0x7fe1)

lri $AR1,    #0x94e9
lri $IX1,    #0xe1fa
lri $WR1,    #0xbf01
cw 0x15
call send_back  ; 32738 (0x7fe2)

lri $AR1,    #0x67bf
lri $IX1,    #0x8aba
lri $WR1,    #0x6108
cw 0x15
call send_back  ; 32739 (0x7fe3)

lri $AR1,    #0xb215
lri $IX1,    #0x4f00
lri $WR1,    #0x9919
cw 0x15
call send_back  ; 32740 (0x7fe4)

lri $AR1,    #0xa261
lri $IX1,    #0xa290
lri $WR1,    #0x6197
cw 0x15
call send_back  ; 32741 (0x7fe5)

lri $AR1,    #0x7336
lri $IX1,    #0x9dd2
lri $WR1,    #0x6dfc
cw 0x15
call send_back  ; 32742 (0x7fe6)

lri $AR1,    #0xc8b7
lri $IX1,    #0x5c7c
lri $WR1,    #0x9755
cw 0x15
call send_back  ; 32743 (0x7fe7)

lri $AR1,    #0xc2b1
lri $IX1,    #0x5616
lri $WR1,    #0x2263
cw 0x15
call send_back  ; 32744 (0x7fe8)

lri $AR1,    #0xa234
lri $IX1,    #0xbb1e
lri $WR1,    #0x9f6c
cw 0x15
call send_back  ; 32745 (0x7fe9)

lri $AR1,    #0x80fb
lri $IX1,    #0xc5e0
lri $WR1,    #0x5161
cw 0x15
call send_back  ; 32746 (0x7fea)

lri $AR1,    #0x4c70
lri $IX1,    #0x9ed2
lri $WR1,    #0x9b47
cw 0x15
call send_back  ; 32747 (0x7feb)

lri $AR1,    #0x5da0
lri $IX1,    #0x1076
lri $WR1,    #0xc893
cw 0x15
call send_back  ; 32748 (0x7fec)

lri $AR1,    #0x82ec
lri $IX1,    #0xefb0
lri $WR1,    #0x7e7a
cw 0x15
call send_back  ; 32749 (0x7fed)

lri $AR1,    #0x7fcb
lri $IX1,    #0xf17e
lri $WR1,    #0xa1c1
cw 0x15
call send_back  ; 32750 (0x7fee)

lri $AR1,    #0xca61
lri $IX1,    #0xc7fe
lri $WR1,    #0x5e2c
cw 0x15
call send_back  ; 32751 (0x7fef)

lri $AR1,    #0x8650
lri $IX1,    #0xecbe
lri $WR1,    #0xa209
cw 0x15
call send_back  ; 32752 (0x7ff0)

lri $AR1,    #0xc77f
lri $IX1,    #0x9730
lri $WR1,    #0xa9fd
cw 0x15
call send_back  ; 32753 (0x7ff1)

lri $AR1,    #0x6731
lri $IX1,    #0x2250
lri $WR1,    #0x8687
cw 0x15
call send_back  ; 32754 (0x7ff2)

lri $AR1,    #0x893b
lri $IX1,    #0xb552
lri $WR1,    #0xb66e
cw 0x15
call send_back  ; 32755 (0x7ff3)

lri $AR1,    #0xb6a8
lri $IX1,    #0x7f58
lri $WR1,    #0x667e
cw 0x15
call send_back  ; 32756 (0x7ff4)

lri $AR1,    #0x8e96
lri $IX1,    #0x5f0e
lri $WR1,    #0x80cb
cw 0x15
call send_back  ; 32757 (0x7ff5)

lri $AR1,    #0x5dae
lri $IX1,    #0x8340
lri $WR1,    #0xd2f9
cw 0x15
call send_back  ; 32758 (0x7ff6)

lri $AR1,    #0x4fe6
lri $IX1,    #0x9220
lri $WR1,    #0x9490
cw 0x15
call send_back  ; 32759 (0x7ff7)

lri $AR1,    #0x4804
lri $IX1,    #0x5172
lri $WR1,    #0x5bfe
cw 0x15
call send_back  ; 32760 (0x7ff8)

lri $AR1,    #0x9398
lri $IX1,    #0xc248
lri $WR1,    #0x7a52
cw 0x15
call send_back  ; 32761 (0x7ff9)

lri $AR1,    #0x91bc
lri $IX1,    #0x4786
lri $WR1,    #0x2330
cw 0x15
call send_back  ; 32762 (0x7ffa)

lri $AR1,    #0xd682
lri $IX1,    #0xdec8
lri $WR1,    #0x982a
cw 0x15
call send_back  ; 32763 (0x7ffb)

lri $AR1,    #0x3c3e
lri $IX1,    #0xd004
lri $WR1,    #0x23f4
cw 0x15
call send_back  ; 32764 (0x7ffc)

lri $AR1,    #0x8fa1
lri $IX1,    #0xa05c
lri $WR1,    #0x6b97
cw 0x15
call send_back  ; 32765 (0x7ffd)

lri $AR1,    #0x72d0
lri $IX1,    #0xa998
lri $WR1,    #0x5920
cw 0x15
call send_back  ; 32766 (0x7ffe)

lri $AR1,    #0x9768
lri $IX1,    #0x97b0
lri $WR1,    #0x04ed
cw 0x15
call send_back  ; 32767 (0x7fff)

lri $AR1,    #0xe6a2
lri $IX1,    #0x5acc
lri $WR1,    #0x681e
cw 0x15
call send_back  ; 32768 (0x8000)

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