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

lri $AR1,    #0x4000
lri $IX1,    #0x0100
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 257 (0x0101)

lri $AR1,    #0x4000
lri $IX1,    #0x0101
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 258 (0x0102)

lri $AR1,    #0x4000
lri $IX1,    #0x0102
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 259 (0x0103)

lri $AR1,    #0x4000
lri $IX1,    #0x0103
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 260 (0x0104)

lri $AR1,    #0x4000
lri $IX1,    #0x0104
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 261 (0x0105)

lri $AR1,    #0x4000
lri $IX1,    #0x0105
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 262 (0x0106)

lri $AR1,    #0x4000
lri $IX1,    #0x0106
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 263 (0x0107)

lri $AR1,    #0x4000
lri $IX1,    #0x0107
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 264 (0x0108)

lri $AR1,    #0x4000
lri $IX1,    #0x0108
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 265 (0x0109)

lri $AR1,    #0x4000
lri $IX1,    #0x0109
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 266 (0x010a)

lri $AR1,    #0x4000
lri $IX1,    #0x010a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 267 (0x010b)

lri $AR1,    #0x4000
lri $IX1,    #0x010b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 268 (0x010c)

lri $AR1,    #0x4000
lri $IX1,    #0x010c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 269 (0x010d)

lri $AR1,    #0x4000
lri $IX1,    #0x010d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 270 (0x010e)

lri $AR1,    #0x4000
lri $IX1,    #0x010e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 271 (0x010f)

lri $AR1,    #0x4000
lri $IX1,    #0x010f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 272 (0x0110)

lri $AR1,    #0x4000
lri $IX1,    #0x0110
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 273 (0x0111)

lri $AR1,    #0x4000
lri $IX1,    #0x0111
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 274 (0x0112)

lri $AR1,    #0x4000
lri $IX1,    #0x0112
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 275 (0x0113)

lri $AR1,    #0x4000
lri $IX1,    #0x0113
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 276 (0x0114)

lri $AR1,    #0x4000
lri $IX1,    #0x0114
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 277 (0x0115)

lri $AR1,    #0x4000
lri $IX1,    #0x0115
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 278 (0x0116)

lri $AR1,    #0x4000
lri $IX1,    #0x0116
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 279 (0x0117)

lri $AR1,    #0x4000
lri $IX1,    #0x0117
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 280 (0x0118)

lri $AR1,    #0x4000
lri $IX1,    #0x0118
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 281 (0x0119)

lri $AR1,    #0x4000
lri $IX1,    #0x0119
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 282 (0x011a)

lri $AR1,    #0x4000
lri $IX1,    #0x011a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 283 (0x011b)

lri $AR1,    #0x4000
lri $IX1,    #0x011b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 284 (0x011c)

lri $AR1,    #0x4000
lri $IX1,    #0x011c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 285 (0x011d)

lri $AR1,    #0x4000
lri $IX1,    #0x011d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 286 (0x011e)

lri $AR1,    #0x4000
lri $IX1,    #0x011e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 287 (0x011f)

lri $AR1,    #0x4000
lri $IX1,    #0x011f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 288 (0x0120)

lri $AR1,    #0x4000
lri $IX1,    #0x0120
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 289 (0x0121)

lri $AR1,    #0x4000
lri $IX1,    #0x0121
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 290 (0x0122)

lri $AR1,    #0x4000
lri $IX1,    #0x0122
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 291 (0x0123)

lri $AR1,    #0x4000
lri $IX1,    #0x0123
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 292 (0x0124)

lri $AR1,    #0x4000
lri $IX1,    #0x0124
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 293 (0x0125)

lri $AR1,    #0x4000
lri $IX1,    #0x0125
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 294 (0x0126)

lri $AR1,    #0x4000
lri $IX1,    #0x0126
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 295 (0x0127)

lri $AR1,    #0x4000
lri $IX1,    #0x0127
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 296 (0x0128)

lri $AR1,    #0x4000
lri $IX1,    #0x0128
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 297 (0x0129)

lri $AR1,    #0x4000
lri $IX1,    #0x0129
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 298 (0x012a)

lri $AR1,    #0x4000
lri $IX1,    #0x012a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 299 (0x012b)

lri $AR1,    #0x4000
lri $IX1,    #0x012b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 300 (0x012c)

lri $AR1,    #0x4000
lri $IX1,    #0x012c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 301 (0x012d)

lri $AR1,    #0x4000
lri $IX1,    #0x012d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 302 (0x012e)

lri $AR1,    #0x4000
lri $IX1,    #0x012e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 303 (0x012f)

lri $AR1,    #0x4000
lri $IX1,    #0x012f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 304 (0x0130)

lri $AR1,    #0x4000
lri $IX1,    #0x0130
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 305 (0x0131)

lri $AR1,    #0x4000
lri $IX1,    #0x0131
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 306 (0x0132)

lri $AR1,    #0x4000
lri $IX1,    #0x0132
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 307 (0x0133)

lri $AR1,    #0x4000
lri $IX1,    #0x0133
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 308 (0x0134)

lri $AR1,    #0x4000
lri $IX1,    #0x0134
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 309 (0x0135)

lri $AR1,    #0x4000
lri $IX1,    #0x0135
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 310 (0x0136)

lri $AR1,    #0x4000
lri $IX1,    #0x0136
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 311 (0x0137)

lri $AR1,    #0x4000
lri $IX1,    #0x0137
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 312 (0x0138)

lri $AR1,    #0x4000
lri $IX1,    #0x0138
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 313 (0x0139)

lri $AR1,    #0x4000
lri $IX1,    #0x0139
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 314 (0x013a)

lri $AR1,    #0x4000
lri $IX1,    #0x013a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 315 (0x013b)

lri $AR1,    #0x4000
lri $IX1,    #0x013b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 316 (0x013c)

lri $AR1,    #0x4000
lri $IX1,    #0x013c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 317 (0x013d)

lri $AR1,    #0x4000
lri $IX1,    #0x013d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 318 (0x013e)

lri $AR1,    #0x4000
lri $IX1,    #0x013e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 319 (0x013f)

lri $AR1,    #0x4000
lri $IX1,    #0x013f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 320 (0x0140)

lri $AR1,    #0x4000
lri $IX1,    #0x0140
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 321 (0x0141)

lri $AR1,    #0x4000
lri $IX1,    #0x0141
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 322 (0x0142)

lri $AR1,    #0x4000
lri $IX1,    #0x0142
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 323 (0x0143)

lri $AR1,    #0x4000
lri $IX1,    #0x0143
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 324 (0x0144)

lri $AR1,    #0x4000
lri $IX1,    #0x0144
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 325 (0x0145)

lri $AR1,    #0x4000
lri $IX1,    #0x0145
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 326 (0x0146)

lri $AR1,    #0x4000
lri $IX1,    #0x0146
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 327 (0x0147)

lri $AR1,    #0x4000
lri $IX1,    #0x0147
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 328 (0x0148)

lri $AR1,    #0x4000
lri $IX1,    #0x0148
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 329 (0x0149)

lri $AR1,    #0x4000
lri $IX1,    #0x0149
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 330 (0x014a)

lri $AR1,    #0x4000
lri $IX1,    #0x014a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 331 (0x014b)

lri $AR1,    #0x4000
lri $IX1,    #0x014b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 332 (0x014c)

lri $AR1,    #0x4000
lri $IX1,    #0x014c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 333 (0x014d)

lri $AR1,    #0x4000
lri $IX1,    #0x014d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 334 (0x014e)

lri $AR1,    #0x4000
lri $IX1,    #0x014e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 335 (0x014f)

lri $AR1,    #0x4000
lri $IX1,    #0x014f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 336 (0x0150)

lri $AR1,    #0x4000
lri $IX1,    #0x0150
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 337 (0x0151)

lri $AR1,    #0x4000
lri $IX1,    #0x0151
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 338 (0x0152)

lri $AR1,    #0x4000
lri $IX1,    #0x0152
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 339 (0x0153)

lri $AR1,    #0x4000
lri $IX1,    #0x0153
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 340 (0x0154)

lri $AR1,    #0x4000
lri $IX1,    #0x0154
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 341 (0x0155)

lri $AR1,    #0x4000
lri $IX1,    #0x0155
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 342 (0x0156)

lri $AR1,    #0x4000
lri $IX1,    #0x0156
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 343 (0x0157)

lri $AR1,    #0x4000
lri $IX1,    #0x0157
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 344 (0x0158)

lri $AR1,    #0x4000
lri $IX1,    #0x0158
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 345 (0x0159)

lri $AR1,    #0x4000
lri $IX1,    #0x0159
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 346 (0x015a)

lri $AR1,    #0x4000
lri $IX1,    #0x015a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 347 (0x015b)

lri $AR1,    #0x4000
lri $IX1,    #0x015b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 348 (0x015c)

lri $AR1,    #0x4000
lri $IX1,    #0x015c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 349 (0x015d)

lri $AR1,    #0x4000
lri $IX1,    #0x015d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 350 (0x015e)

lri $AR1,    #0x4000
lri $IX1,    #0x015e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 351 (0x015f)

lri $AR1,    #0x4000
lri $IX1,    #0x015f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 352 (0x0160)

lri $AR1,    #0x4000
lri $IX1,    #0x0160
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 353 (0x0161)

lri $AR1,    #0x4000
lri $IX1,    #0x0161
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 354 (0x0162)

lri $AR1,    #0x4000
lri $IX1,    #0x0162
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 355 (0x0163)

lri $AR1,    #0x4000
lri $IX1,    #0x0163
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 356 (0x0164)

lri $AR1,    #0x4000
lri $IX1,    #0x0164
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 357 (0x0165)

lri $AR1,    #0x4000
lri $IX1,    #0x0165
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 358 (0x0166)

lri $AR1,    #0x4000
lri $IX1,    #0x0166
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 359 (0x0167)

lri $AR1,    #0x4000
lri $IX1,    #0x0167
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 360 (0x0168)

lri $AR1,    #0x4000
lri $IX1,    #0x0168
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 361 (0x0169)

lri $AR1,    #0x4000
lri $IX1,    #0x0169
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 362 (0x016a)

lri $AR1,    #0x4000
lri $IX1,    #0x016a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 363 (0x016b)

lri $AR1,    #0x4000
lri $IX1,    #0x016b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 364 (0x016c)

lri $AR1,    #0x4000
lri $IX1,    #0x016c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 365 (0x016d)

lri $AR1,    #0x4000
lri $IX1,    #0x016d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 366 (0x016e)

lri $AR1,    #0x4000
lri $IX1,    #0x016e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 367 (0x016f)

lri $AR1,    #0x4000
lri $IX1,    #0x016f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 368 (0x0170)

lri $AR1,    #0x4000
lri $IX1,    #0x0170
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 369 (0x0171)

lri $AR1,    #0x4000
lri $IX1,    #0x0171
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 370 (0x0172)

lri $AR1,    #0x4000
lri $IX1,    #0x0172
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 371 (0x0173)

lri $AR1,    #0x4000
lri $IX1,    #0x0173
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 372 (0x0174)

lri $AR1,    #0x4000
lri $IX1,    #0x0174
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 373 (0x0175)

lri $AR1,    #0x4000
lri $IX1,    #0x0175
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 374 (0x0176)

lri $AR1,    #0x4000
lri $IX1,    #0x0176
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 375 (0x0177)

lri $AR1,    #0x4000
lri $IX1,    #0x0177
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 376 (0x0178)

lri $AR1,    #0x4000
lri $IX1,    #0x0178
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 377 (0x0179)

lri $AR1,    #0x4000
lri $IX1,    #0x0179
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 378 (0x017a)

lri $AR1,    #0x4000
lri $IX1,    #0x017a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 379 (0x017b)

lri $AR1,    #0x4000
lri $IX1,    #0x017b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 380 (0x017c)

lri $AR1,    #0x4000
lri $IX1,    #0x017c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 381 (0x017d)

lri $AR1,    #0x4000
lri $IX1,    #0x017d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 382 (0x017e)

lri $AR1,    #0x4000
lri $IX1,    #0x017e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 383 (0x017f)

lri $AR1,    #0x4000
lri $IX1,    #0x017f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 384 (0x0180)

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

