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

lri $AR1,    #0x8ecc
lri $IX1,    #0x098e
lri $WR1,    #0x278a
cw 0xd
call send_back  ; 4993 (0x1381)

lri $AR1,    #0x5730
lri $IX1,    #0x0e4e
lri $WR1,    #0xee2c
cw 0xd
call send_back  ; 4994 (0x1382)

lri $AR1,    #0x38d4
lri $IX1,    #0x2c78
lri $WR1,    #0x9f94
cw 0xd
call send_back  ; 4995 (0x1383)

lri $AR1,    #0x8182
lri $IX1,    #0x39d2
lri $WR1,    #0x46fa
cw 0xd
call send_back  ; 4996 (0x1384)

lri $AR1,    #0x0c1e
lri $IX1,    #0xca36
lri $WR1,    #0x6d34
cw 0xd
call send_back  ; 4997 (0x1385)

lri $AR1,    #0x5ac4
lri $IX1,    #0x4362
lri $WR1,    #0x570c
cw 0xd
call send_back  ; 4998 (0x1386)

lri $AR1,    #0x8f5a
lri $IX1,    #0x78e4
lri $WR1,    #0xbfd0
cw 0xd
call send_back  ; 4999 (0x1387)

lri $AR1,    #0x2fc8
lri $IX1,    #0xa38c
lri $WR1,    #0xc794
cw 0xd
call send_back  ; 5000 (0x1388)

lri $AR1,    #0xfe64
lri $IX1,    #0x8e9e
lri $WR1,    #0x67d6
cw 0xd
call send_back  ; 5001 (0x1389)

lri $AR1,    #0x46dc
lri $IX1,    #0xd0a6
lri $WR1,    #0x0a14
cw 0xd
call send_back  ; 5002 (0x138a)

lri $AR1,    #0x7740
lri $IX1,    #0x89ba
lri $WR1,    #0xd134
cw 0xd
call send_back  ; 5003 (0x138b)

lri $AR1,    #0x576e
lri $IX1,    #0xa2a0
lri $WR1,    #0xcbd0
cw 0xd
call send_back  ; 5004 (0x138c)

lri $AR1,    #0xc2ce
lri $IX1,    #0x4d94
lri $WR1,    #0x87de
cw 0xd
call send_back  ; 5005 (0x138d)

lri $AR1,    #0x4b86
lri $IX1,    #0x21d4
lri $WR1,    #0x507a
cw 0xd
call send_back  ; 5006 (0x138e)

lri $AR1,    #0xefbc
lri $IX1,    #0x50ba
lri $WR1,    #0xb05a
cw 0xd
call send_back  ; 5007 (0x138f)

lri $AR1,    #0xcd0c
lri $IX1,    #0xfa1e
lri $WR1,    #0xc7da
cw 0xd
call send_back  ; 5008 (0x1390)

lri $AR1,    #0x44aa
lri $IX1,    #0xed8c
lri $WR1,    #0xa0d2
cw 0xd
call send_back  ; 5009 (0x1391)

lri $AR1,    #0xd99a
lri $IX1,    #0xa24a
lri $WR1,    #0x2e86
cw 0xd
call send_back  ; 5010 (0x1392)

lri $AR1,    #0x98dc
lri $IX1,    #0x6718
lri $WR1,    #0xa586
cw 0xd
call send_back  ; 5011 (0x1393)

lri $AR1,    #0xfc30
lri $IX1,    #0x1a36
lri $WR1,    #0xd27e
cw 0xd
call send_back  ; 5012 (0x1394)

lri $AR1,    #0x897e
lri $IX1,    #0x0056
lri $WR1,    #0x961e
cw 0xd
call send_back  ; 5013 (0x1395)

lri $AR1,    #0xfc2e
lri $IX1,    #0x90a2
lri $WR1,    #0x48c0
cw 0xd
call send_back  ; 5014 (0x1396)

lri $AR1,    #0xe3e0
lri $IX1,    #0xdc72
lri $WR1,    #0xd7c4
cw 0xd
call send_back  ; 5015 (0x1397)

lri $AR1,    #0xee18
lri $IX1,    #0xec16
lri $WR1,    #0xa192
cw 0xd
call send_back  ; 5016 (0x1398)

lri $AR1,    #0x9b9c
lri $IX1,    #0x635a
lri $WR1,    #0x5a74
cw 0xd
call send_back  ; 5017 (0x1399)

lri $AR1,    #0xba90
lri $IX1,    #0xb8d2
lri $WR1,    #0x15b0
cw 0xd
call send_back  ; 5018 (0x139a)

lri $AR1,    #0x5e16
lri $IX1,    #0xb642
lri $WR1,    #0xae80
cw 0xd
call send_back  ; 5019 (0x139b)

lri $AR1,    #0x84e4
lri $IX1,    #0x003c
lri $WR1,    #0x5efc
cw 0xd
call send_back  ; 5020 (0x139c)

lri $AR1,    #0xeb42
lri $IX1,    #0x7c46
lri $WR1,    #0x199e
cw 0xd
call send_back  ; 5021 (0x139d)

lri $AR1,    #0xfac0
lri $IX1,    #0xacba
lri $WR1,    #0x9410
cw 0xd
call send_back  ; 5022 (0x139e)

lri $AR1,    #0x6e2a
lri $IX1,    #0x17de
lri $WR1,    #0x3998
cw 0xd
call send_back  ; 5023 (0x139f)

lri $AR1,    #0xa350
lri $IX1,    #0xf754
lri $WR1,    #0xce1e
cw 0xd
call send_back  ; 5024 (0x13a0)

lri $AR1,    #0xbe24
lri $IX1,    #0x4a54
lri $WR1,    #0xe4da
cw 0xd
call send_back  ; 5025 (0x13a1)

lri $AR1,    #0xdc66
lri $IX1,    #0x9342
lri $WR1,    #0x3d8a
cw 0xd
call send_back  ; 5026 (0x13a2)

lri $AR1,    #0x5c08
lri $IX1,    #0x8aec
lri $WR1,    #0x37fe
cw 0xd
call send_back  ; 5027 (0x13a3)

lri $AR1,    #0x78ee
lri $IX1,    #0x7d8a
lri $WR1,    #0xb9d0
cw 0xd
call send_back  ; 5028 (0x13a4)

lri $AR1,    #0xc594
lri $IX1,    #0x03f4
lri $WR1,    #0xb9ae
cw 0xd
call send_back  ; 5029 (0x13a5)

lri $AR1,    #0x044a
lri $IX1,    #0x25f2
lri $WR1,    #0x6de8
cw 0xd
call send_back  ; 5030 (0x13a6)

lri $AR1,    #0xfb28
lri $IX1,    #0x605a
lri $WR1,    #0xd4c8
cw 0xd
call send_back  ; 5031 (0x13a7)

lri $AR1,    #0xaadc
lri $IX1,    #0xb064
lri $WR1,    #0x22de
cw 0xd
call send_back  ; 5032 (0x13a8)

lri $AR1,    #0x730e
lri $IX1,    #0x790e
lri $WR1,    #0x3b46
cw 0xd
call send_back  ; 5033 (0x13a9)

lri $AR1,    #0xd04e
lri $IX1,    #0xf504
lri $WR1,    #0xf6d2
cw 0xd
call send_back  ; 5034 (0x13aa)

lri $AR1,    #0xcf72
lri $IX1,    #0xa1d4
lri $WR1,    #0xb2ca
cw 0xd
call send_back  ; 5035 (0x13ab)

lri $AR1,    #0x90fa
lri $IX1,    #0x471c
lri $WR1,    #0x26fe
cw 0xd
call send_back  ; 5036 (0x13ac)

lri $AR1,    #0x2356
lri $IX1,    #0xf1b6
lri $WR1,    #0xf646
cw 0xd
call send_back  ; 5037 (0x13ad)

lri $AR1,    #0xebe2
lri $IX1,    #0x8a08
lri $WR1,    #0x180a
cw 0xd
call send_back  ; 5038 (0x13ae)

lri $AR1,    #0x048e
lri $IX1,    #0x8bc4
lri $WR1,    #0x5eb0
cw 0xd
call send_back  ; 5039 (0x13af)

lri $AR1,    #0x3fa8
lri $IX1,    #0x5576
lri $WR1,    #0x1844
cw 0xd
call send_back  ; 5040 (0x13b0)

lri $AR1,    #0xb810
lri $IX1,    #0xc164
lri $WR1,    #0x8726
cw 0xd
call send_back  ; 5041 (0x13b1)

lri $AR1,    #0x3d02
lri $IX1,    #0x80ee
lri $WR1,    #0x9414
cw 0xd
call send_back  ; 5042 (0x13b2)

lri $AR1,    #0x0fbe
lri $IX1,    #0x07c2
lri $WR1,    #0xbf92
cw 0xd
call send_back  ; 5043 (0x13b3)

lri $AR1,    #0x95fa
lri $IX1,    #0x0116
lri $WR1,    #0xbd1e
cw 0xd
call send_back  ; 5044 (0x13b4)

lri $AR1,    #0xb7d4
lri $IX1,    #0x46ae
lri $WR1,    #0x7b08
cw 0xd
call send_back  ; 5045 (0x13b5)

lri $AR1,    #0xa1a6
lri $IX1,    #0x2fa4
lri $WR1,    #0x1982
cw 0xd
call send_back  ; 5046 (0x13b6)

lri $AR1,    #0x5438
lri $IX1,    #0x1f8a
lri $WR1,    #0x9e10
cw 0xd
call send_back  ; 5047 (0x13b7)

lri $AR1,    #0x0870
lri $IX1,    #0x0160
lri $WR1,    #0x30c6
cw 0xd
call send_back  ; 5048 (0x13b8)

lri $AR1,    #0x8cca
lri $IX1,    #0x8f7a
lri $WR1,    #0x4310
cw 0xd
call send_back  ; 5049 (0x13b9)

lri $AR1,    #0x75c2
lri $IX1,    #0xf436
lri $WR1,    #0xb89c
cw 0xd
call send_back  ; 5050 (0x13ba)

lri $AR1,    #0xa1fc
lri $IX1,    #0xe080
lri $WR1,    #0xd9ec
cw 0xd
call send_back  ; 5051 (0x13bb)

lri $AR1,    #0x602c
lri $IX1,    #0x41c6
lri $WR1,    #0x5c44
cw 0xd
call send_back  ; 5052 (0x13bc)

lri $AR1,    #0xf9c2
lri $IX1,    #0x59c2
lri $WR1,    #0x123c
cw 0xd
call send_back  ; 5053 (0x13bd)

lri $AR1,    #0x59ba
lri $IX1,    #0xc156
lri $WR1,    #0x9da4
cw 0xd
call send_back  ; 5054 (0x13be)

lri $AR1,    #0xe72c
lri $IX1,    #0xa79c
lri $WR1,    #0x6616
cw 0xd
call send_back  ; 5055 (0x13bf)

lri $AR1,    #0x26b0
lri $IX1,    #0x7ea6
lri $WR1,    #0x7fe0
cw 0xd
call send_back  ; 5056 (0x13c0)

lri $AR1,    #0x5dc4
lri $IX1,    #0xa8bc
lri $WR1,    #0xfdc0
cw 0xd
call send_back  ; 5057 (0x13c1)

lri $AR1,    #0x3158
lri $IX1,    #0x0182
lri $WR1,    #0xc784
cw 0xd
call send_back  ; 5058 (0x13c2)

lri $AR1,    #0xebe6
lri $IX1,    #0x4de6
lri $WR1,    #0xa356
cw 0xd
call send_back  ; 5059 (0x13c3)

lri $AR1,    #0xf612
lri $IX1,    #0x349e
lri $WR1,    #0xc516
cw 0xd
call send_back  ; 5060 (0x13c4)

lri $AR1,    #0xde38
lri $IX1,    #0xa6a2
lri $WR1,    #0x37d4
cw 0xd
call send_back  ; 5061 (0x13c5)

lri $AR1,    #0xd34c
lri $IX1,    #0x6892
lri $WR1,    #0xf30c
cw 0xd
call send_back  ; 5062 (0x13c6)

lri $AR1,    #0x7096
lri $IX1,    #0x2d72
lri $WR1,    #0x3154
cw 0xd
call send_back  ; 5063 (0x13c7)

lri $AR1,    #0x65b2
lri $IX1,    #0xba6e
lri $WR1,    #0x5116
cw 0xd
call send_back  ; 5064 (0x13c8)

lri $AR1,    #0x0f6c
lri $IX1,    #0x0adc
lri $WR1,    #0xbd18
cw 0xd
call send_back  ; 5065 (0x13c9)

lri $AR1,    #0x611a
lri $IX1,    #0xcbdc
lri $WR1,    #0x72aa
cw 0xd
call send_back  ; 5066 (0x13ca)

lri $AR1,    #0x86da
lri $IX1,    #0x76d2
lri $WR1,    #0xce38
cw 0xd
call send_back  ; 5067 (0x13cb)

lri $AR1,    #0xcb78
lri $IX1,    #0xdd3e
lri $WR1,    #0xcfba
cw 0xd
call send_back  ; 5068 (0x13cc)

lri $AR1,    #0x33ba
lri $IX1,    #0xbcc6
lri $WR1,    #0x4c66
cw 0xd
call send_back  ; 5069 (0x13cd)

lri $AR1,    #0xbf94
lri $IX1,    #0x98ba
lri $WR1,    #0x2aa0
cw 0xd
call send_back  ; 5070 (0x13ce)

lri $AR1,    #0x7ccc
lri $IX1,    #0xcf10
lri $WR1,    #0x5cc4
cw 0xd
call send_back  ; 5071 (0x13cf)

lri $AR1,    #0x8986
lri $IX1,    #0xd78a
lri $WR1,    #0xeefa
cw 0xd
call send_back  ; 5072 (0x13d0)

lri $AR1,    #0xa918
lri $IX1,    #0xead8
lri $WR1,    #0x012a
cw 0xd
call send_back  ; 5073 (0x13d1)

lri $AR1,    #0x27dc
lri $IX1,    #0x01b6
lri $WR1,    #0x69b8
cw 0xd
call send_back  ; 5074 (0x13d2)

lri $AR1,    #0x32e2
lri $IX1,    #0xae28
lri $WR1,    #0xa8e2
cw 0xd
call send_back  ; 5075 (0x13d3)

lri $AR1,    #0x2074
lri $IX1,    #0xfa6a
lri $WR1,    #0xc2e6
cw 0xd
call send_back  ; 5076 (0x13d4)

lri $AR1,    #0x9d32
lri $IX1,    #0x4e6e
lri $WR1,    #0x6836
cw 0xd
call send_back  ; 5077 (0x13d5)

lri $AR1,    #0x48ce
lri $IX1,    #0x7a12
lri $WR1,    #0xd686
cw 0xd
call send_back  ; 5078 (0x13d6)

lri $AR1,    #0x3448
lri $IX1,    #0x7600
lri $WR1,    #0x02c8
cw 0xd
call send_back  ; 5079 (0x13d7)

lri $AR1,    #0xbe04
lri $IX1,    #0xe174
lri $WR1,    #0x8a1e
cw 0xd
call send_back  ; 5080 (0x13d8)

lri $AR1,    #0xa006
lri $IX1,    #0xd3f2
lri $WR1,    #0x6726
cw 0xd
call send_back  ; 5081 (0x13d9)

lri $AR1,    #0xf102
lri $IX1,    #0x97ea
lri $WR1,    #0x291c
cw 0xd
call send_back  ; 5082 (0x13da)

lri $AR1,    #0x69b0
lri $IX1,    #0xb9d8
lri $WR1,    #0x4888
cw 0xd
call send_back  ; 5083 (0x13db)

lri $AR1,    #0x805e
lri $IX1,    #0x890e
lri $WR1,    #0xcad0
cw 0xd
call send_back  ; 5084 (0x13dc)

lri $AR1,    #0x2cf4
lri $IX1,    #0x5fa2
lri $WR1,    #0xce2c
cw 0xd
call send_back  ; 5085 (0x13dd)

lri $AR1,    #0xb940
lri $IX1,    #0xf4c8
lri $WR1,    #0xe938
cw 0xd
call send_back  ; 5086 (0x13de)

lri $AR1,    #0xbeb2
lri $IX1,    #0xae52
lri $WR1,    #0x762c
cw 0xd
call send_back  ; 5087 (0x13df)

lri $AR1,    #0x25c8
lri $IX1,    #0x1f4a
lri $WR1,    #0x4024
cw 0xd
call send_back  ; 5088 (0x13e0)

lri $AR1,    #0xc25e
lri $IX1,    #0xe6b8
lri $WR1,    #0xec6c
cw 0xd
call send_back  ; 5089 (0x13e1)

lri $AR1,    #0xa778
lri $IX1,    #0x24be
lri $WR1,    #0xe90c
cw 0xd
call send_back  ; 5090 (0x13e2)

lri $AR1,    #0x919c
lri $IX1,    #0x39d6
lri $WR1,    #0x544c
cw 0xd
call send_back  ; 5091 (0x13e3)

lri $AR1,    #0x60dc
lri $IX1,    #0xe73e
lri $WR1,    #0x903c
cw 0xd
call send_back  ; 5092 (0x13e4)

lri $AR1,    #0x9fbc
lri $IX1,    #0x9530
lri $WR1,    #0xfed6
cw 0xd
call send_back  ; 5093 (0x13e5)

lri $AR1,    #0x4238
lri $IX1,    #0x5bf6
lri $WR1,    #0xb46e
cw 0xd
call send_back  ; 5094 (0x13e6)

lri $AR1,    #0x45d4
lri $IX1,    #0x9da0
lri $WR1,    #0x5d24
cw 0xd
call send_back  ; 5095 (0x13e7)

lri $AR1,    #0x893e
lri $IX1,    #0x06d8
lri $WR1,    #0x42ac
cw 0xd
call send_back  ; 5096 (0x13e8)

lri $AR1,    #0xc230
lri $IX1,    #0x37fa
lri $WR1,    #0xd17e
cw 0xd
call send_back  ; 5097 (0x13e9)

lri $AR1,    #0x0cac
lri $IX1,    #0xdada
lri $WR1,    #0xac8c
cw 0xd
call send_back  ; 5098 (0x13ea)

lri $AR1,    #0xd0a6
lri $IX1,    #0x2f22
lri $WR1,    #0x7030
cw 0xd
call send_back  ; 5099 (0x13eb)

lri $AR1,    #0xe0da
lri $IX1,    #0x9738
lri $WR1,    #0xef72
cw 0xd
call send_back  ; 5100 (0x13ec)

lri $AR1,    #0x37aa
lri $IX1,    #0xa3b2
lri $WR1,    #0x6b70
cw 0xd
call send_back  ; 5101 (0x13ed)

lri $AR1,    #0xe30c
lri $IX1,    #0xb89a
lri $WR1,    #0x082c
cw 0xd
call send_back  ; 5102 (0x13ee)

lri $AR1,    #0x98a4
lri $IX1,    #0x1a0c
lri $WR1,    #0x6c48
cw 0xd
call send_back  ; 5103 (0x13ef)

lri $AR1,    #0x2596
lri $IX1,    #0xcf8c
lri $WR1,    #0x1e6a
cw 0xd
call send_back  ; 5104 (0x13f0)

lri $AR1,    #0x6070
lri $IX1,    #0x4fd8
lri $WR1,    #0x1d0a
cw 0xd
call send_back  ; 5105 (0x13f1)

lri $AR1,    #0x2f9a
lri $IX1,    #0x2450
lri $WR1,    #0x7060
cw 0xd
call send_back  ; 5106 (0x13f2)

lri $AR1,    #0x7f78
lri $IX1,    #0xa2be
lri $WR1,    #0x4828
cw 0xd
call send_back  ; 5107 (0x13f3)

lri $AR1,    #0xa78c
lri $IX1,    #0xa260
lri $WR1,    #0xcf46
cw 0xd
call send_back  ; 5108 (0x13f4)

lri $AR1,    #0x3748
lri $IX1,    #0xde88
lri $WR1,    #0xc8d8
cw 0xd
call send_back  ; 5109 (0x13f5)

lri $AR1,    #0x701a
lri $IX1,    #0xb498
lri $WR1,    #0x71c0
cw 0xd
call send_back  ; 5110 (0x13f6)

lri $AR1,    #0x6e3e
lri $IX1,    #0xe140
lri $WR1,    #0xc19c
cw 0xd
call send_back  ; 5111 (0x13f7)

lri $AR1,    #0x9bc4
lri $IX1,    #0xa580
lri $WR1,    #0x220e
cw 0xd
call send_back  ; 5112 (0x13f8)

lri $AR1,    #0x3800
lri $IX1,    #0xc8b2
lri $WR1,    #0xbee6
cw 0xd
call send_back  ; 5113 (0x13f9)

lri $AR1,    #0x03c4
lri $IX1,    #0xdd9e
lri $WR1,    #0x7a1a
cw 0xd
call send_back  ; 5114 (0x13fa)

lri $AR1,    #0x3c60
lri $IX1,    #0x6cbc
lri $WR1,    #0x3b08
cw 0xd
call send_back  ; 5115 (0x13fb)

lri $AR1,    #0xe36c
lri $IX1,    #0x9c44
lri $WR1,    #0x1810
cw 0xd
call send_back  ; 5116 (0x13fc)

lri $AR1,    #0xfc8c
lri $IX1,    #0xe6d6
lri $WR1,    #0x029a
cw 0xd
call send_back  ; 5117 (0x13fd)

lri $AR1,    #0xb9c6
lri $IX1,    #0x25c0
lri $WR1,    #0x9aba
cw 0xd
call send_back  ; 5118 (0x13fe)

lri $AR1,    #0x48e8
lri $IX1,    #0xef6e
lri $WR1,    #0xdf8a
cw 0xd
call send_back  ; 5119 (0x13ff)

lri $AR1,    #0xff8a
lri $IX1,    #0x7c74
lri $WR1,    #0xe55a
cw 0xd
call send_back  ; 5120 (0x1400)

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

