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

lri $AR1,    #0x28a2
lri $IX1,    #0x0e36
lri $WR1,    #0x530e
cw 0xd
call send_back  ; 5121 (0x1401)

lri $AR1,    #0x1832
lri $IX1,    #0x30a4
lri $WR1,    #0xc712
cw 0xd
call send_back  ; 5122 (0x1402)

lri $AR1,    #0x9e5a
lri $IX1,    #0x1b2e
lri $WR1,    #0xa58e
cw 0xd
call send_back  ; 5123 (0x1403)

lri $AR1,    #0x693e
lri $IX1,    #0x4598
lri $WR1,    #0xcab2
cw 0xd
call send_back  ; 5124 (0x1404)

lri $AR1,    #0xbbd0
lri $IX1,    #0x7a90
lri $WR1,    #0xcde6
cw 0xd
call send_back  ; 5125 (0x1405)

lri $AR1,    #0xd37e
lri $IX1,    #0x38cc
lri $WR1,    #0xc7fa
cw 0xd
call send_back  ; 5126 (0x1406)

lri $AR1,    #0xf90e
lri $IX1,    #0xf650
lri $WR1,    #0x47e6
cw 0xd
call send_back  ; 5127 (0x1407)

lri $AR1,    #0x0670
lri $IX1,    #0x82d2
lri $WR1,    #0xf012
cw 0xd
call send_back  ; 5128 (0x1408)

lri $AR1,    #0x620a
lri $IX1,    #0x3c58
lri $WR1,    #0x84a6
cw 0xd
call send_back  ; 5129 (0x1409)

lri $AR1,    #0x6e78
lri $IX1,    #0x0fae
lri $WR1,    #0x9b66
cw 0xd
call send_back  ; 5130 (0x140a)

lri $AR1,    #0x8806
lri $IX1,    #0xf934
lri $WR1,    #0xcd62
cw 0xd
call send_back  ; 5131 (0x140b)

lri $AR1,    #0xf310
lri $IX1,    #0xcf38
lri $WR1,    #0x3796
cw 0xd
call send_back  ; 5132 (0x140c)

lri $AR1,    #0xdad4
lri $IX1,    #0x636c
lri $WR1,    #0xdc92
cw 0xd
call send_back  ; 5133 (0x140d)

lri $AR1,    #0x7aba
lri $IX1,    #0x3c56
lri $WR1,    #0x78a0
cw 0xd
call send_back  ; 5134 (0x140e)

lri $AR1,    #0xc046
lri $IX1,    #0xf428
lri $WR1,    #0xb6ea
cw 0xd
call send_back  ; 5135 (0x140f)

lri $AR1,    #0x56c6
lri $IX1,    #0x34aa
lri $WR1,    #0x8102
cw 0xd
call send_back  ; 5136 (0x1410)

lri $AR1,    #0x0ecc
lri $IX1,    #0x1e52
lri $WR1,    #0x10fa
cw 0xd
call send_back  ; 5137 (0x1411)

lri $AR1,    #0x71ac
lri $IX1,    #0x5070
lri $WR1,    #0x30fe
cw 0xd
call send_back  ; 5138 (0x1412)

lri $AR1,    #0x1aac
lri $IX1,    #0x35f2
lri $WR1,    #0x6c14
cw 0xd
call send_back  ; 5139 (0x1413)

lri $AR1,    #0x7f32
lri $IX1,    #0xbd2a
lri $WR1,    #0x55ae
cw 0xd
call send_back  ; 5140 (0x1414)

lri $AR1,    #0xebc6
lri $IX1,    #0x85ea
lri $WR1,    #0xb020
cw 0xd
call send_back  ; 5141 (0x1415)

lri $AR1,    #0x9df6
lri $IX1,    #0x0be8
lri $WR1,    #0x251a
cw 0xd
call send_back  ; 5142 (0x1416)

lri $AR1,    #0x144a
lri $IX1,    #0xeabe
lri $WR1,    #0xfe3a
cw 0xd
call send_back  ; 5143 (0x1417)

lri $AR1,    #0xf6a2
lri $IX1,    #0x0eb4
lri $WR1,    #0x7504
cw 0xd
call send_back  ; 5144 (0x1418)

lri $AR1,    #0x9f66
lri $IX1,    #0x4da8
lri $WR1,    #0x6a82
cw 0xd
call send_back  ; 5145 (0x1419)

lri $AR1,    #0x0d74
lri $IX1,    #0x6702
lri $WR1,    #0x868c
cw 0xd
call send_back  ; 5146 (0x141a)

lri $AR1,    #0x493e
lri $IX1,    #0x2b98
lri $WR1,    #0xda18
cw 0xd
call send_back  ; 5147 (0x141b)

lri $AR1,    #0xcf44
lri $IX1,    #0x6998
lri $WR1,    #0x3974
cw 0xd
call send_back  ; 5148 (0x141c)

lri $AR1,    #0x4838
lri $IX1,    #0x1050
lri $WR1,    #0x0cba
cw 0xd
call send_back  ; 5149 (0x141d)

lri $AR1,    #0x03b8
lri $IX1,    #0x1aee
lri $WR1,    #0x1e1c
cw 0xd
call send_back  ; 5150 (0x141e)

lri $AR1,    #0x0202
lri $IX1,    #0xb664
lri $WR1,    #0x7fe0
cw 0xd
call send_back  ; 5151 (0x141f)

lri $AR1,    #0xdae6
lri $IX1,    #0xe152
lri $WR1,    #0x4df2
cw 0xd
call send_back  ; 5152 (0x1420)

lri $AR1,    #0xb540
lri $IX1,    #0x7128
lri $WR1,    #0xfbd8
cw 0xd
call send_back  ; 5153 (0x1421)

lri $AR1,    #0xe4f8
lri $IX1,    #0xc0e8
lri $WR1,    #0x4e84
cw 0xd
call send_back  ; 5154 (0x1422)

lri $AR1,    #0x0b52
lri $IX1,    #0xc65a
lri $WR1,    #0xd9d0
cw 0xd
call send_back  ; 5155 (0x1423)

lri $AR1,    #0x0728
lri $IX1,    #0x27dc
lri $WR1,    #0xabe8
cw 0xd
call send_back  ; 5156 (0x1424)

lri $AR1,    #0x4c22
lri $IX1,    #0xc9b2
lri $WR1,    #0x0c30
cw 0xd
call send_back  ; 5157 (0x1425)

lri $AR1,    #0x118e
lri $IX1,    #0x1fc2
lri $WR1,    #0x8ba0
cw 0xd
call send_back  ; 5158 (0x1426)

lri $AR1,    #0x3078
lri $IX1,    #0x04f6
lri $WR1,    #0x494e
cw 0xd
call send_back  ; 5159 (0x1427)

lri $AR1,    #0x9638
lri $IX1,    #0xc38c
lri $WR1,    #0x59b4
cw 0xd
call send_back  ; 5160 (0x1428)

lri $AR1,    #0xadaa
lri $IX1,    #0x9be4
lri $WR1,    #0x0ac0
cw 0xd
call send_back  ; 5161 (0x1429)

lri $AR1,    #0xa9ea
lri $IX1,    #0xc00c
lri $WR1,    #0xfe2a
cw 0xd
call send_back  ; 5162 (0x142a)

lri $AR1,    #0x302c
lri $IX1,    #0x0b78
lri $WR1,    #0x027e
cw 0xd
call send_back  ; 5163 (0x142b)

lri $AR1,    #0x6c08
lri $IX1,    #0x076e
lri $WR1,    #0xe196
cw 0xd
call send_back  ; 5164 (0x142c)

lri $AR1,    #0x30ea
lri $IX1,    #0x80e2
lri $WR1,    #0xd0fc
cw 0xd
call send_back  ; 5165 (0x142d)

lri $AR1,    #0xb30e
lri $IX1,    #0x5ea0
lri $WR1,    #0x8bec
cw 0xd
call send_back  ; 5166 (0x142e)

lri $AR1,    #0x83e2
lri $IX1,    #0x6cd4
lri $WR1,    #0xce5e
cw 0xd
call send_back  ; 5167 (0x142f)

lri $AR1,    #0x2808
lri $IX1,    #0xa614
lri $WR1,    #0xf936
cw 0xd
call send_back  ; 5168 (0x1430)

lri $AR1,    #0xccd8
lri $IX1,    #0xcc38
lri $WR1,    #0x3b2a
cw 0xd
call send_back  ; 5169 (0x1431)

lri $AR1,    #0x9384
lri $IX1,    #0x55c2
lri $WR1,    #0xfc82
cw 0xd
call send_back  ; 5170 (0x1432)

lri $AR1,    #0xd1b2
lri $IX1,    #0xc034
lri $WR1,    #0xcb56
cw 0xd
call send_back  ; 5171 (0x1433)

lri $AR1,    #0x435a
lri $IX1,    #0x36f4
lri $WR1,    #0x5190
cw 0xd
call send_back  ; 5172 (0x1434)

lri $AR1,    #0x885a
lri $IX1,    #0x9b86
lri $WR1,    #0xd93c
cw 0xd
call send_back  ; 5173 (0x1435)

lri $AR1,    #0x60d6
lri $IX1,    #0x94b0
lri $WR1,    #0x728a
cw 0xd
call send_back  ; 5174 (0x1436)

lri $AR1,    #0x609e
lri $IX1,    #0xa3e8
lri $WR1,    #0x4454
cw 0xd
call send_back  ; 5175 (0x1437)

lri $AR1,    #0xeb8e
lri $IX1,    #0x8642
lri $WR1,    #0x0770
cw 0xd
call send_back  ; 5176 (0x1438)

lri $AR1,    #0x08ea
lri $IX1,    #0x8ac6
lri $WR1,    #0xb228
cw 0xd
call send_back  ; 5177 (0x1439)

lri $AR1,    #0xf586
lri $IX1,    #0x3dc4
lri $WR1,    #0xf15e
cw 0xd
call send_back  ; 5178 (0x143a)

lri $AR1,    #0x6776
lri $IX1,    #0x30de
lri $WR1,    #0x366a
cw 0xd
call send_back  ; 5179 (0x143b)

lri $AR1,    #0xd1d8
lri $IX1,    #0x073c
lri $WR1,    #0xac6c
cw 0xd
call send_back  ; 5180 (0x143c)

lri $AR1,    #0x57a6
lri $IX1,    #0xc500
lri $WR1,    #0xf1bc
cw 0xd
call send_back  ; 5181 (0x143d)

lri $AR1,    #0x478a
lri $IX1,    #0x8302
lri $WR1,    #0x274e
cw 0xd
call send_back  ; 5182 (0x143e)

lri $AR1,    #0x8e2e
lri $IX1,    #0xd6a2
lri $WR1,    #0x9cdc
cw 0xd
call send_back  ; 5183 (0x143f)

lri $AR1,    #0xa6ca
lri $IX1,    #0x4114
lri $WR1,    #0x605c
cw 0xd
call send_back  ; 5184 (0x1440)

lri $AR1,    #0x74e8
lri $IX1,    #0xa97e
lri $WR1,    #0xd8f8
cw 0xd
call send_back  ; 5185 (0x1441)

lri $AR1,    #0xf73c
lri $IX1,    #0xd936
lri $WR1,    #0x3454
cw 0xd
call send_back  ; 5186 (0x1442)

lri $AR1,    #0x79b2
lri $IX1,    #0x17ce
lri $WR1,    #0x1bbe
cw 0xd
call send_back  ; 5187 (0x1443)

lri $AR1,    #0x7a88
lri $IX1,    #0x8e3a
lri $WR1,    #0xf350
cw 0xd
call send_back  ; 5188 (0x1444)

lri $AR1,    #0xd266
lri $IX1,    #0xbd84
lri $WR1,    #0xc8e8
cw 0xd
call send_back  ; 5189 (0x1445)

lri $AR1,    #0x8ed8
lri $IX1,    #0x198a
lri $WR1,    #0xa552
cw 0xd
call send_back  ; 5190 (0x1446)

lri $AR1,    #0xba40
lri $IX1,    #0x1f00
lri $WR1,    #0x2108
cw 0xd
call send_back  ; 5191 (0x1447)

lri $AR1,    #0xb984
lri $IX1,    #0x0638
lri $WR1,    #0x8804
cw 0xd
call send_back  ; 5192 (0x1448)

lri $AR1,    #0x4bc0
lri $IX1,    #0x228e
lri $WR1,    #0xbffe
cw 0xd
call send_back  ; 5193 (0x1449)

lri $AR1,    #0x6a76
lri $IX1,    #0xa9a0
lri $WR1,    #0x5bc6
cw 0xd
call send_back  ; 5194 (0x144a)

lri $AR1,    #0xf444
lri $IX1,    #0xa45e
lri $WR1,    #0x1434
cw 0xd
call send_back  ; 5195 (0x144b)

lri $AR1,    #0xfdb4
lri $IX1,    #0xea0a
lri $WR1,    #0xaee2
cw 0xd
call send_back  ; 5196 (0x144c)

lri $AR1,    #0xb59e
lri $IX1,    #0x4906
lri $WR1,    #0x21de
cw 0xd
call send_back  ; 5197 (0x144d)

lri $AR1,    #0xc078
lri $IX1,    #0x4228
lri $WR1,    #0x99fe
cw 0xd
call send_back  ; 5198 (0x144e)

lri $AR1,    #0x9baa
lri $IX1,    #0x1b80
lri $WR1,    #0xac50
cw 0xd
call send_back  ; 5199 (0x144f)

lri $AR1,    #0x6c4a
lri $IX1,    #0x6afa
lri $WR1,    #0x7174
cw 0xd
call send_back  ; 5200 (0x1450)

lri $AR1,    #0x9b46
lri $IX1,    #0x1778
lri $WR1,    #0x21c8
cw 0xd
call send_back  ; 5201 (0x1451)

lri $AR1,    #0xc28e
lri $IX1,    #0x6bf8
lri $WR1,    #0xebda
cw 0xd
call send_back  ; 5202 (0x1452)

lri $AR1,    #0x19b8
lri $IX1,    #0xa1f4
lri $WR1,    #0x049c
cw 0xd
call send_back  ; 5203 (0x1453)

lri $AR1,    #0xd7ee
lri $IX1,    #0x23f2
lri $WR1,    #0x4658
cw 0xd
call send_back  ; 5204 (0x1454)

lri $AR1,    #0x42b8
lri $IX1,    #0x3e4a
lri $WR1,    #0xa75c
cw 0xd
call send_back  ; 5205 (0x1455)

lri $AR1,    #0x4f26
lri $IX1,    #0x4ba4
lri $WR1,    #0x23fc
cw 0xd
call send_back  ; 5206 (0x1456)

lri $AR1,    #0xb568
lri $IX1,    #0xa62e
lri $WR1,    #0x879c
cw 0xd
call send_back  ; 5207 (0x1457)

lri $AR1,    #0x5f76
lri $IX1,    #0x1d56
lri $WR1,    #0x65c0
cw 0xd
call send_back  ; 5208 (0x1458)

lri $AR1,    #0x8f3c
lri $IX1,    #0xeffc
lri $WR1,    #0x0608
cw 0xd
call send_back  ; 5209 (0x1459)

lri $AR1,    #0x2b68
lri $IX1,    #0xd398
lri $WR1,    #0x2580
cw 0xd
call send_back  ; 5210 (0x145a)

lri $AR1,    #0x163c
lri $IX1,    #0xbf00
lri $WR1,    #0x48ae
cw 0xd
call send_back  ; 5211 (0x145b)

lri $AR1,    #0xc116
lri $IX1,    #0xb35e
lri $WR1,    #0x7668
cw 0xd
call send_back  ; 5212 (0x145c)

lri $AR1,    #0xda88
lri $IX1,    #0xb5d4
lri $WR1,    #0x5ecc
cw 0xd
call send_back  ; 5213 (0x145d)

lri $AR1,    #0x3da8
lri $IX1,    #0xf4aa
lri $WR1,    #0xb23e
cw 0xd
call send_back  ; 5214 (0x145e)

lri $AR1,    #0xb99e
lri $IX1,    #0xab98
lri $WR1,    #0xe432
cw 0xd
call send_back  ; 5215 (0x145f)

lri $AR1,    #0x1a26
lri $IX1,    #0x36ec
lri $WR1,    #0x0b0a
cw 0xd
call send_back  ; 5216 (0x1460)

lri $AR1,    #0x5c4a
lri $IX1,    #0x9926
lri $WR1,    #0x049e
cw 0xd
call send_back  ; 5217 (0x1461)

lri $AR1,    #0xc06a
lri $IX1,    #0xe540
lri $WR1,    #0xf570
cw 0xd
call send_back  ; 5218 (0x1462)

lri $AR1,    #0x32aa
lri $IX1,    #0xf3f6
lri $WR1,    #0x7e0a
cw 0xd
call send_back  ; 5219 (0x1463)

lri $AR1,    #0x4b4e
lri $IX1,    #0xa0e4
lri $WR1,    #0xe856
cw 0xd
call send_back  ; 5220 (0x1464)

lri $AR1,    #0x3848
lri $IX1,    #0x58f6
lri $WR1,    #0xbb3e
cw 0xd
call send_back  ; 5221 (0x1465)

lri $AR1,    #0xe5ce
lri $IX1,    #0x16d4
lri $WR1,    #0x0300
cw 0xd
call send_back  ; 5222 (0x1466)

lri $AR1,    #0x8c98
lri $IX1,    #0x21de
lri $WR1,    #0xf6c6
cw 0xd
call send_back  ; 5223 (0x1467)

lri $AR1,    #0xb944
lri $IX1,    #0x3004
lri $WR1,    #0x8b72
cw 0xd
call send_back  ; 5224 (0x1468)

lri $AR1,    #0xcafa
lri $IX1,    #0xe44a
lri $WR1,    #0x288e
cw 0xd
call send_back  ; 5225 (0x1469)

lri $AR1,    #0xe38a
lri $IX1,    #0xf21e
lri $WR1,    #0x032c
cw 0xd
call send_back  ; 5226 (0x146a)

lri $AR1,    #0xa784
lri $IX1,    #0x0a56
lri $WR1,    #0xef32
cw 0xd
call send_back  ; 5227 (0x146b)

lri $AR1,    #0xa202
lri $IX1,    #0x493e
lri $WR1,    #0xe8ec
cw 0xd
call send_back  ; 5228 (0x146c)

lri $AR1,    #0x4c9c
lri $IX1,    #0xd0c8
lri $WR1,    #0x506a
cw 0xd
call send_back  ; 5229 (0x146d)

lri $AR1,    #0xdf68
lri $IX1,    #0xf19e
lri $WR1,    #0x42c8
cw 0xd
call send_back  ; 5230 (0x146e)

lri $AR1,    #0xe7cc
lri $IX1,    #0x1f9c
lri $WR1,    #0xb274
cw 0xd
call send_back  ; 5231 (0x146f)

lri $AR1,    #0xbe7e
lri $IX1,    #0x728e
lri $WR1,    #0xdc2c
cw 0xd
call send_back  ; 5232 (0x1470)

lri $AR1,    #0x62c6
lri $IX1,    #0x0604
lri $WR1,    #0x7302
cw 0xd
call send_back  ; 5233 (0x1471)

lri $AR1,    #0xb43e
lri $IX1,    #0x32c2
lri $WR1,    #0xdff8
cw 0xd
call send_back  ; 5234 (0x1472)

lri $AR1,    #0x0ff0
lri $IX1,    #0x43a2
lri $WR1,    #0x9e9a
cw 0xd
call send_back  ; 5235 (0x1473)

lri $AR1,    #0x68e4
lri $IX1,    #0xc054
lri $WR1,    #0x3f78
cw 0xd
call send_back  ; 5236 (0x1474)

lri $AR1,    #0xb88c
lri $IX1,    #0x5528
lri $WR1,    #0x25b2
cw 0xd
call send_back  ; 5237 (0x1475)

lri $AR1,    #0x075a
lri $IX1,    #0x1570
lri $WR1,    #0x4b60
cw 0xd
call send_back  ; 5238 (0x1476)

lri $AR1,    #0x9cd8
lri $IX1,    #0x12fe
lri $WR1,    #0x23bc
cw 0xd
call send_back  ; 5239 (0x1477)

lri $AR1,    #0xff4c
lri $IX1,    #0x8d26
lri $WR1,    #0x2468
cw 0xd
call send_back  ; 5240 (0x1478)

lri $AR1,    #0x350c
lri $IX1,    #0x3538
lri $WR1,    #0xfe54
cw 0xd
call send_back  ; 5241 (0x1479)

lri $AR1,    #0xa68a
lri $IX1,    #0x022a
lri $WR1,    #0x55e4
cw 0xd
call send_back  ; 5242 (0x147a)

lri $AR1,    #0x7cc0
lri $IX1,    #0x206a
lri $WR1,    #0xf194
cw 0xd
call send_back  ; 5243 (0x147b)

lri $AR1,    #0xbaf0
lri $IX1,    #0xd430
lri $WR1,    #0x24d8
cw 0xd
call send_back  ; 5244 (0x147c)

lri $AR1,    #0xe88e
lri $IX1,    #0x5bbe
lri $WR1,    #0xa91e
cw 0xd
call send_back  ; 5245 (0x147d)

lri $AR1,    #0xa686
lri $IX1,    #0xee9a
lri $WR1,    #0x02dc
cw 0xd
call send_back  ; 5246 (0x147e)

lri $AR1,    #0x787e
lri $IX1,    #0x18b8
lri $WR1,    #0x6b8e
cw 0xd
call send_back  ; 5247 (0x147f)

lri $AR1,    #0xb3ec
lri $IX1,    #0x0608
lri $WR1,    #0x4468
cw 0xd
call send_back  ; 5248 (0x1480)

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

