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

lri $AR1,    #0x4000
lri $IX1,    #0x1400
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5121 (0x1401)

lri $AR1,    #0x4000
lri $IX1,    #0x1401
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5122 (0x1402)

lri $AR1,    #0x4000
lri $IX1,    #0x1402
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5123 (0x1403)

lri $AR1,    #0x4000
lri $IX1,    #0x1403
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5124 (0x1404)

lri $AR1,    #0x4000
lri $IX1,    #0x1404
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5125 (0x1405)

lri $AR1,    #0x4000
lri $IX1,    #0x1405
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5126 (0x1406)

lri $AR1,    #0x4000
lri $IX1,    #0x1406
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5127 (0x1407)

lri $AR1,    #0x4000
lri $IX1,    #0x1407
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5128 (0x1408)

lri $AR1,    #0x4000
lri $IX1,    #0x1408
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5129 (0x1409)

lri $AR1,    #0x4000
lri $IX1,    #0x1409
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5130 (0x140a)

lri $AR1,    #0x4000
lri $IX1,    #0x140a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5131 (0x140b)

lri $AR1,    #0x4000
lri $IX1,    #0x140b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5132 (0x140c)

lri $AR1,    #0x4000
lri $IX1,    #0x140c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5133 (0x140d)

lri $AR1,    #0x4000
lri $IX1,    #0x140d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5134 (0x140e)

lri $AR1,    #0x4000
lri $IX1,    #0x140e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5135 (0x140f)

lri $AR1,    #0x4000
lri $IX1,    #0x140f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5136 (0x1410)

lri $AR1,    #0x4000
lri $IX1,    #0x1410
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5137 (0x1411)

lri $AR1,    #0x4000
lri $IX1,    #0x1411
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5138 (0x1412)

lri $AR1,    #0x4000
lri $IX1,    #0x1412
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5139 (0x1413)

lri $AR1,    #0x4000
lri $IX1,    #0x1413
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5140 (0x1414)

lri $AR1,    #0x4000
lri $IX1,    #0x1414
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5141 (0x1415)

lri $AR1,    #0x4000
lri $IX1,    #0x1415
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5142 (0x1416)

lri $AR1,    #0x4000
lri $IX1,    #0x1416
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5143 (0x1417)

lri $AR1,    #0x4000
lri $IX1,    #0x1417
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5144 (0x1418)

lri $AR1,    #0x4000
lri $IX1,    #0x1418
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5145 (0x1419)

lri $AR1,    #0x4000
lri $IX1,    #0x1419
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5146 (0x141a)

lri $AR1,    #0x4000
lri $IX1,    #0x141a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5147 (0x141b)

lri $AR1,    #0x4000
lri $IX1,    #0x141b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5148 (0x141c)

lri $AR1,    #0x4000
lri $IX1,    #0x141c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5149 (0x141d)

lri $AR1,    #0x4000
lri $IX1,    #0x141d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5150 (0x141e)

lri $AR1,    #0x4000
lri $IX1,    #0x141e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5151 (0x141f)

lri $AR1,    #0x4000
lri $IX1,    #0x141f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5152 (0x1420)

lri $AR1,    #0x4000
lri $IX1,    #0x1420
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5153 (0x1421)

lri $AR1,    #0x4000
lri $IX1,    #0x1421
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5154 (0x1422)

lri $AR1,    #0x4000
lri $IX1,    #0x1422
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5155 (0x1423)

lri $AR1,    #0x4000
lri $IX1,    #0x1423
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5156 (0x1424)

lri $AR1,    #0x4000
lri $IX1,    #0x1424
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5157 (0x1425)

lri $AR1,    #0x4000
lri $IX1,    #0x1425
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5158 (0x1426)

lri $AR1,    #0x4000
lri $IX1,    #0x1426
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5159 (0x1427)

lri $AR1,    #0x4000
lri $IX1,    #0x1427
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5160 (0x1428)

lri $AR1,    #0x4000
lri $IX1,    #0x1428
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5161 (0x1429)

lri $AR1,    #0x4000
lri $IX1,    #0x1429
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5162 (0x142a)

lri $AR1,    #0x4000
lri $IX1,    #0x142a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5163 (0x142b)

lri $AR1,    #0x4000
lri $IX1,    #0x142b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5164 (0x142c)

lri $AR1,    #0x4000
lri $IX1,    #0x142c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5165 (0x142d)

lri $AR1,    #0x4000
lri $IX1,    #0x142d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5166 (0x142e)

lri $AR1,    #0x4000
lri $IX1,    #0x142e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5167 (0x142f)

lri $AR1,    #0x4000
lri $IX1,    #0x142f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5168 (0x1430)

lri $AR1,    #0x4000
lri $IX1,    #0x1430
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5169 (0x1431)

lri $AR1,    #0x4000
lri $IX1,    #0x1431
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5170 (0x1432)

lri $AR1,    #0x4000
lri $IX1,    #0x1432
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5171 (0x1433)

lri $AR1,    #0x4000
lri $IX1,    #0x1433
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5172 (0x1434)

lri $AR1,    #0x4000
lri $IX1,    #0x1434
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5173 (0x1435)

lri $AR1,    #0x4000
lri $IX1,    #0x1435
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5174 (0x1436)

lri $AR1,    #0x4000
lri $IX1,    #0x1436
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5175 (0x1437)

lri $AR1,    #0x4000
lri $IX1,    #0x1437
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5176 (0x1438)

lri $AR1,    #0x4000
lri $IX1,    #0x1438
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5177 (0x1439)

lri $AR1,    #0x4000
lri $IX1,    #0x1439
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5178 (0x143a)

lri $AR1,    #0x4000
lri $IX1,    #0x143a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5179 (0x143b)

lri $AR1,    #0x4000
lri $IX1,    #0x143b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5180 (0x143c)

lri $AR1,    #0x4000
lri $IX1,    #0x143c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5181 (0x143d)

lri $AR1,    #0x4000
lri $IX1,    #0x143d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5182 (0x143e)

lri $AR1,    #0x4000
lri $IX1,    #0x143e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5183 (0x143f)

lri $AR1,    #0x4000
lri $IX1,    #0x143f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5184 (0x1440)

lri $AR1,    #0x4000
lri $IX1,    #0x1440
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5185 (0x1441)

lri $AR1,    #0x4000
lri $IX1,    #0x1441
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5186 (0x1442)

lri $AR1,    #0x4000
lri $IX1,    #0x1442
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5187 (0x1443)

lri $AR1,    #0x4000
lri $IX1,    #0x1443
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5188 (0x1444)

lri $AR1,    #0x4000
lri $IX1,    #0x1444
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5189 (0x1445)

lri $AR1,    #0x4000
lri $IX1,    #0x1445
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5190 (0x1446)

lri $AR1,    #0x4000
lri $IX1,    #0x1446
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5191 (0x1447)

lri $AR1,    #0x4000
lri $IX1,    #0x1447
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5192 (0x1448)

lri $AR1,    #0x4000
lri $IX1,    #0x1448
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5193 (0x1449)

lri $AR1,    #0x4000
lri $IX1,    #0x1449
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5194 (0x144a)

lri $AR1,    #0x4000
lri $IX1,    #0x144a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5195 (0x144b)

lri $AR1,    #0x4000
lri $IX1,    #0x144b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5196 (0x144c)

lri $AR1,    #0x4000
lri $IX1,    #0x144c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5197 (0x144d)

lri $AR1,    #0x4000
lri $IX1,    #0x144d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5198 (0x144e)

lri $AR1,    #0x4000
lri $IX1,    #0x144e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5199 (0x144f)

lri $AR1,    #0x4000
lri $IX1,    #0x144f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5200 (0x1450)

lri $AR1,    #0x4000
lri $IX1,    #0x1450
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5201 (0x1451)

lri $AR1,    #0x4000
lri $IX1,    #0x1451
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5202 (0x1452)

lri $AR1,    #0x4000
lri $IX1,    #0x1452
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5203 (0x1453)

lri $AR1,    #0x4000
lri $IX1,    #0x1453
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5204 (0x1454)

lri $AR1,    #0x4000
lri $IX1,    #0x1454
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5205 (0x1455)

lri $AR1,    #0x4000
lri $IX1,    #0x1455
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5206 (0x1456)

lri $AR1,    #0x4000
lri $IX1,    #0x1456
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5207 (0x1457)

lri $AR1,    #0x4000
lri $IX1,    #0x1457
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5208 (0x1458)

lri $AR1,    #0x4000
lri $IX1,    #0x1458
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5209 (0x1459)

lri $AR1,    #0x4000
lri $IX1,    #0x1459
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5210 (0x145a)

lri $AR1,    #0x4000
lri $IX1,    #0x145a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5211 (0x145b)

lri $AR1,    #0x4000
lri $IX1,    #0x145b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5212 (0x145c)

lri $AR1,    #0x4000
lri $IX1,    #0x145c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5213 (0x145d)

lri $AR1,    #0x4000
lri $IX1,    #0x145d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5214 (0x145e)

lri $AR1,    #0x4000
lri $IX1,    #0x145e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5215 (0x145f)

lri $AR1,    #0x4000
lri $IX1,    #0x145f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5216 (0x1460)

lri $AR1,    #0x4000
lri $IX1,    #0x1460
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5217 (0x1461)

lri $AR1,    #0x4000
lri $IX1,    #0x1461
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5218 (0x1462)

lri $AR1,    #0x4000
lri $IX1,    #0x1462
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5219 (0x1463)

lri $AR1,    #0x4000
lri $IX1,    #0x1463
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5220 (0x1464)

lri $AR1,    #0x4000
lri $IX1,    #0x1464
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5221 (0x1465)

lri $AR1,    #0x4000
lri $IX1,    #0x1465
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5222 (0x1466)

lri $AR1,    #0x4000
lri $IX1,    #0x1466
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5223 (0x1467)

lri $AR1,    #0x4000
lri $IX1,    #0x1467
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5224 (0x1468)

lri $AR1,    #0x4000
lri $IX1,    #0x1468
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5225 (0x1469)

lri $AR1,    #0x4000
lri $IX1,    #0x1469
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5226 (0x146a)

lri $AR1,    #0x4000
lri $IX1,    #0x146a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5227 (0x146b)

lri $AR1,    #0x4000
lri $IX1,    #0x146b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5228 (0x146c)

lri $AR1,    #0x4000
lri $IX1,    #0x146c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5229 (0x146d)

lri $AR1,    #0x4000
lri $IX1,    #0x146d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5230 (0x146e)

lri $AR1,    #0x4000
lri $IX1,    #0x146e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5231 (0x146f)

lri $AR1,    #0x4000
lri $IX1,    #0x146f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5232 (0x1470)

lri $AR1,    #0x4000
lri $IX1,    #0x1470
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5233 (0x1471)

lri $AR1,    #0x4000
lri $IX1,    #0x1471
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5234 (0x1472)

lri $AR1,    #0x4000
lri $IX1,    #0x1472
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5235 (0x1473)

lri $AR1,    #0x4000
lri $IX1,    #0x1473
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5236 (0x1474)

lri $AR1,    #0x4000
lri $IX1,    #0x1474
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5237 (0x1475)

lri $AR1,    #0x4000
lri $IX1,    #0x1475
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5238 (0x1476)

lri $AR1,    #0x4000
lri $IX1,    #0x1476
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5239 (0x1477)

lri $AR1,    #0x4000
lri $IX1,    #0x1477
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5240 (0x1478)

lri $AR1,    #0x4000
lri $IX1,    #0x1478
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5241 (0x1479)

lri $AR1,    #0x4000
lri $IX1,    #0x1479
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5242 (0x147a)

lri $AR1,    #0x4000
lri $IX1,    #0x147a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5243 (0x147b)

lri $AR1,    #0x4000
lri $IX1,    #0x147b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5244 (0x147c)

lri $AR1,    #0x4000
lri $IX1,    #0x147c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5245 (0x147d)

lri $AR1,    #0x4000
lri $IX1,    #0x147d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5246 (0x147e)

lri $AR1,    #0x4000
lri $IX1,    #0x147e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5247 (0x147f)

lri $AR1,    #0x4000
lri $IX1,    #0x147f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 5248 (0x1480)

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

