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

lri $AR1,    #0x4000
lri $IX1,    #0x2100
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8449 (0x2101)

lri $AR1,    #0x4000
lri $IX1,    #0x2101
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8450 (0x2102)

lri $AR1,    #0x4000
lri $IX1,    #0x2102
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8451 (0x2103)

lri $AR1,    #0x4000
lri $IX1,    #0x2103
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8452 (0x2104)

lri $AR1,    #0x4000
lri $IX1,    #0x2104
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8453 (0x2105)

lri $AR1,    #0x4000
lri $IX1,    #0x2105
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8454 (0x2106)

lri $AR1,    #0x4000
lri $IX1,    #0x2106
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8455 (0x2107)

lri $AR1,    #0x4000
lri $IX1,    #0x2107
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8456 (0x2108)

lri $AR1,    #0x4000
lri $IX1,    #0x2108
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8457 (0x2109)

lri $AR1,    #0x4000
lri $IX1,    #0x2109
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8458 (0x210a)

lri $AR1,    #0x4000
lri $IX1,    #0x210a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8459 (0x210b)

lri $AR1,    #0x4000
lri $IX1,    #0x210b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8460 (0x210c)

lri $AR1,    #0x4000
lri $IX1,    #0x210c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8461 (0x210d)

lri $AR1,    #0x4000
lri $IX1,    #0x210d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8462 (0x210e)

lri $AR1,    #0x4000
lri $IX1,    #0x210e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8463 (0x210f)

lri $AR1,    #0x4000
lri $IX1,    #0x210f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8464 (0x2110)

lri $AR1,    #0x4000
lri $IX1,    #0x2110
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8465 (0x2111)

lri $AR1,    #0x4000
lri $IX1,    #0x2111
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8466 (0x2112)

lri $AR1,    #0x4000
lri $IX1,    #0x2112
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8467 (0x2113)

lri $AR1,    #0x4000
lri $IX1,    #0x2113
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8468 (0x2114)

lri $AR1,    #0x4000
lri $IX1,    #0x2114
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8469 (0x2115)

lri $AR1,    #0x4000
lri $IX1,    #0x2115
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8470 (0x2116)

lri $AR1,    #0x4000
lri $IX1,    #0x2116
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8471 (0x2117)

lri $AR1,    #0x4000
lri $IX1,    #0x2117
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8472 (0x2118)

lri $AR1,    #0x4000
lri $IX1,    #0x2118
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8473 (0x2119)

lri $AR1,    #0x4000
lri $IX1,    #0x2119
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8474 (0x211a)

lri $AR1,    #0x4000
lri $IX1,    #0x211a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8475 (0x211b)

lri $AR1,    #0x4000
lri $IX1,    #0x211b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8476 (0x211c)

lri $AR1,    #0x4000
lri $IX1,    #0x211c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8477 (0x211d)

lri $AR1,    #0x4000
lri $IX1,    #0x211d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8478 (0x211e)

lri $AR1,    #0x4000
lri $IX1,    #0x211e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8479 (0x211f)

lri $AR1,    #0x4000
lri $IX1,    #0x211f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8480 (0x2120)

lri $AR1,    #0x4000
lri $IX1,    #0x2120
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8481 (0x2121)

lri $AR1,    #0x4000
lri $IX1,    #0x2121
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8482 (0x2122)

lri $AR1,    #0x4000
lri $IX1,    #0x2122
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8483 (0x2123)

lri $AR1,    #0x4000
lri $IX1,    #0x2123
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8484 (0x2124)

lri $AR1,    #0x4000
lri $IX1,    #0x2124
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8485 (0x2125)

lri $AR1,    #0x4000
lri $IX1,    #0x2125
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8486 (0x2126)

lri $AR1,    #0x4000
lri $IX1,    #0x2126
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8487 (0x2127)

lri $AR1,    #0x4000
lri $IX1,    #0x2127
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8488 (0x2128)

lri $AR1,    #0x4000
lri $IX1,    #0x2128
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8489 (0x2129)

lri $AR1,    #0x4000
lri $IX1,    #0x2129
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8490 (0x212a)

lri $AR1,    #0x4000
lri $IX1,    #0x212a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8491 (0x212b)

lri $AR1,    #0x4000
lri $IX1,    #0x212b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8492 (0x212c)

lri $AR1,    #0x4000
lri $IX1,    #0x212c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8493 (0x212d)

lri $AR1,    #0x4000
lri $IX1,    #0x212d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8494 (0x212e)

lri $AR1,    #0x4000
lri $IX1,    #0x212e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8495 (0x212f)

lri $AR1,    #0x4000
lri $IX1,    #0x212f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8496 (0x2130)

lri $AR1,    #0x4000
lri $IX1,    #0x2130
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8497 (0x2131)

lri $AR1,    #0x4000
lri $IX1,    #0x2131
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8498 (0x2132)

lri $AR1,    #0x4000
lri $IX1,    #0x2132
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8499 (0x2133)

lri $AR1,    #0x4000
lri $IX1,    #0x2133
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8500 (0x2134)

lri $AR1,    #0x4000
lri $IX1,    #0x2134
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8501 (0x2135)

lri $AR1,    #0x4000
lri $IX1,    #0x2135
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8502 (0x2136)

lri $AR1,    #0x4000
lri $IX1,    #0x2136
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8503 (0x2137)

lri $AR1,    #0x4000
lri $IX1,    #0x2137
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8504 (0x2138)

lri $AR1,    #0x4000
lri $IX1,    #0x2138
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8505 (0x2139)

lri $AR1,    #0x4000
lri $IX1,    #0x2139
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8506 (0x213a)

lri $AR1,    #0x4000
lri $IX1,    #0x213a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8507 (0x213b)

lri $AR1,    #0x4000
lri $IX1,    #0x213b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8508 (0x213c)

lri $AR1,    #0x4000
lri $IX1,    #0x213c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8509 (0x213d)

lri $AR1,    #0x4000
lri $IX1,    #0x213d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8510 (0x213e)

lri $AR1,    #0x4000
lri $IX1,    #0x213e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8511 (0x213f)

lri $AR1,    #0x4000
lri $IX1,    #0x213f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8512 (0x2140)

lri $AR1,    #0x4000
lri $IX1,    #0x2140
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8513 (0x2141)

lri $AR1,    #0x4000
lri $IX1,    #0x2141
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8514 (0x2142)

lri $AR1,    #0x4000
lri $IX1,    #0x2142
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8515 (0x2143)

lri $AR1,    #0x4000
lri $IX1,    #0x2143
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8516 (0x2144)

lri $AR1,    #0x4000
lri $IX1,    #0x2144
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8517 (0x2145)

lri $AR1,    #0x4000
lri $IX1,    #0x2145
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8518 (0x2146)

lri $AR1,    #0x4000
lri $IX1,    #0x2146
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8519 (0x2147)

lri $AR1,    #0x4000
lri $IX1,    #0x2147
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8520 (0x2148)

lri $AR1,    #0x4000
lri $IX1,    #0x2148
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8521 (0x2149)

lri $AR1,    #0x4000
lri $IX1,    #0x2149
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8522 (0x214a)

lri $AR1,    #0x4000
lri $IX1,    #0x214a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8523 (0x214b)

lri $AR1,    #0x4000
lri $IX1,    #0x214b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8524 (0x214c)

lri $AR1,    #0x4000
lri $IX1,    #0x214c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8525 (0x214d)

lri $AR1,    #0x4000
lri $IX1,    #0x214d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8526 (0x214e)

lri $AR1,    #0x4000
lri $IX1,    #0x214e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8527 (0x214f)

lri $AR1,    #0x4000
lri $IX1,    #0x214f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8528 (0x2150)

lri $AR1,    #0x4000
lri $IX1,    #0x2150
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8529 (0x2151)

lri $AR1,    #0x4000
lri $IX1,    #0x2151
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8530 (0x2152)

lri $AR1,    #0x4000
lri $IX1,    #0x2152
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8531 (0x2153)

lri $AR1,    #0x4000
lri $IX1,    #0x2153
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8532 (0x2154)

lri $AR1,    #0x4000
lri $IX1,    #0x2154
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8533 (0x2155)

lri $AR1,    #0x4000
lri $IX1,    #0x2155
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8534 (0x2156)

lri $AR1,    #0x4000
lri $IX1,    #0x2156
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8535 (0x2157)

lri $AR1,    #0x4000
lri $IX1,    #0x2157
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8536 (0x2158)

lri $AR1,    #0x4000
lri $IX1,    #0x2158
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8537 (0x2159)

lri $AR1,    #0x4000
lri $IX1,    #0x2159
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8538 (0x215a)

lri $AR1,    #0x4000
lri $IX1,    #0x215a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8539 (0x215b)

lri $AR1,    #0x4000
lri $IX1,    #0x215b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8540 (0x215c)

lri $AR1,    #0x4000
lri $IX1,    #0x215c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8541 (0x215d)

lri $AR1,    #0x4000
lri $IX1,    #0x215d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8542 (0x215e)

lri $AR1,    #0x4000
lri $IX1,    #0x215e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8543 (0x215f)

lri $AR1,    #0x4000
lri $IX1,    #0x215f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8544 (0x2160)

lri $AR1,    #0x4000
lri $IX1,    #0x2160
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8545 (0x2161)

lri $AR1,    #0x4000
lri $IX1,    #0x2161
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8546 (0x2162)

lri $AR1,    #0x4000
lri $IX1,    #0x2162
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8547 (0x2163)

lri $AR1,    #0x4000
lri $IX1,    #0x2163
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8548 (0x2164)

lri $AR1,    #0x4000
lri $IX1,    #0x2164
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8549 (0x2165)

lri $AR1,    #0x4000
lri $IX1,    #0x2165
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8550 (0x2166)

lri $AR1,    #0x4000
lri $IX1,    #0x2166
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8551 (0x2167)

lri $AR1,    #0x4000
lri $IX1,    #0x2167
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8552 (0x2168)

lri $AR1,    #0x4000
lri $IX1,    #0x2168
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8553 (0x2169)

lri $AR1,    #0x4000
lri $IX1,    #0x2169
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8554 (0x216a)

lri $AR1,    #0x4000
lri $IX1,    #0x216a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8555 (0x216b)

lri $AR1,    #0x4000
lri $IX1,    #0x216b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8556 (0x216c)

lri $AR1,    #0x4000
lri $IX1,    #0x216c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8557 (0x216d)

lri $AR1,    #0x4000
lri $IX1,    #0x216d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8558 (0x216e)

lri $AR1,    #0x4000
lri $IX1,    #0x216e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8559 (0x216f)

lri $AR1,    #0x4000
lri $IX1,    #0x216f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8560 (0x2170)

lri $AR1,    #0x4000
lri $IX1,    #0x2170
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8561 (0x2171)

lri $AR1,    #0x4000
lri $IX1,    #0x2171
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8562 (0x2172)

lri $AR1,    #0x4000
lri $IX1,    #0x2172
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8563 (0x2173)

lri $AR1,    #0x4000
lri $IX1,    #0x2173
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8564 (0x2174)

lri $AR1,    #0x4000
lri $IX1,    #0x2174
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8565 (0x2175)

lri $AR1,    #0x4000
lri $IX1,    #0x2175
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8566 (0x2176)

lri $AR1,    #0x4000
lri $IX1,    #0x2176
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8567 (0x2177)

lri $AR1,    #0x4000
lri $IX1,    #0x2177
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8568 (0x2178)

lri $AR1,    #0x4000
lri $IX1,    #0x2178
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8569 (0x2179)

lri $AR1,    #0x4000
lri $IX1,    #0x2179
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8570 (0x217a)

lri $AR1,    #0x4000
lri $IX1,    #0x217a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8571 (0x217b)

lri $AR1,    #0x4000
lri $IX1,    #0x217b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8572 (0x217c)

lri $AR1,    #0x4000
lri $IX1,    #0x217c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8573 (0x217d)

lri $AR1,    #0x4000
lri $IX1,    #0x217d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8574 (0x217e)

lri $AR1,    #0x4000
lri $IX1,    #0x217e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8575 (0x217f)

lri $AR1,    #0x4000
lri $IX1,    #0x217f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8576 (0x2180)

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

