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

lri $AR1,    #0x0180
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 385 (0x0181)

lri $AR1,    #0x0181
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 386 (0x0182)

lri $AR1,    #0x0182
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 387 (0x0183)

lri $AR1,    #0x0183
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 388 (0x0184)

lri $AR1,    #0x0184
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 389 (0x0185)

lri $AR1,    #0x0185
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 390 (0x0186)

lri $AR1,    #0x0186
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 391 (0x0187)

lri $AR1,    #0x0187
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 392 (0x0188)

lri $AR1,    #0x0188
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 393 (0x0189)

lri $AR1,    #0x0189
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 394 (0x018a)

lri $AR1,    #0x018a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 395 (0x018b)

lri $AR1,    #0x018b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 396 (0x018c)

lri $AR1,    #0x018c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 397 (0x018d)

lri $AR1,    #0x018d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 398 (0x018e)

lri $AR1,    #0x018e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 399 (0x018f)

lri $AR1,    #0x018f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 400 (0x0190)

lri $AR1,    #0x0190
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 401 (0x0191)

lri $AR1,    #0x0191
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 402 (0x0192)

lri $AR1,    #0x0192
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 403 (0x0193)

lri $AR1,    #0x0193
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 404 (0x0194)

lri $AR1,    #0x0194
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 405 (0x0195)

lri $AR1,    #0x0195
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 406 (0x0196)

lri $AR1,    #0x0196
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 407 (0x0197)

lri $AR1,    #0x0197
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 408 (0x0198)

lri $AR1,    #0x0198
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 409 (0x0199)

lri $AR1,    #0x0199
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 410 (0x019a)

lri $AR1,    #0x019a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 411 (0x019b)

lri $AR1,    #0x019b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 412 (0x019c)

lri $AR1,    #0x019c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 413 (0x019d)

lri $AR1,    #0x019d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 414 (0x019e)

lri $AR1,    #0x019e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 415 (0x019f)

lri $AR1,    #0x019f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 416 (0x01a0)

lri $AR1,    #0x01a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 417 (0x01a1)

lri $AR1,    #0x01a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 418 (0x01a2)

lri $AR1,    #0x01a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 419 (0x01a3)

lri $AR1,    #0x01a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 420 (0x01a4)

lri $AR1,    #0x01a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 421 (0x01a5)

lri $AR1,    #0x01a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 422 (0x01a6)

lri $AR1,    #0x01a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 423 (0x01a7)

lri $AR1,    #0x01a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 424 (0x01a8)

lri $AR1,    #0x01a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 425 (0x01a9)

lri $AR1,    #0x01a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 426 (0x01aa)

lri $AR1,    #0x01aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 427 (0x01ab)

lri $AR1,    #0x01ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 428 (0x01ac)

lri $AR1,    #0x01ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 429 (0x01ad)

lri $AR1,    #0x01ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 430 (0x01ae)

lri $AR1,    #0x01ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 431 (0x01af)

lri $AR1,    #0x01af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 432 (0x01b0)

lri $AR1,    #0x01b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 433 (0x01b1)

lri $AR1,    #0x01b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 434 (0x01b2)

lri $AR1,    #0x01b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 435 (0x01b3)

lri $AR1,    #0x01b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 436 (0x01b4)

lri $AR1,    #0x01b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 437 (0x01b5)

lri $AR1,    #0x01b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 438 (0x01b6)

lri $AR1,    #0x01b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 439 (0x01b7)

lri $AR1,    #0x01b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 440 (0x01b8)

lri $AR1,    #0x01b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 441 (0x01b9)

lri $AR1,    #0x01b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 442 (0x01ba)

lri $AR1,    #0x01ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 443 (0x01bb)

lri $AR1,    #0x01bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 444 (0x01bc)

lri $AR1,    #0x01bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 445 (0x01bd)

lri $AR1,    #0x01bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 446 (0x01be)

lri $AR1,    #0x01be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 447 (0x01bf)

lri $AR1,    #0x01bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 448 (0x01c0)

lri $AR1,    #0x01c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 449 (0x01c1)

lri $AR1,    #0x01c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 450 (0x01c2)

lri $AR1,    #0x01c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 451 (0x01c3)

lri $AR1,    #0x01c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 452 (0x01c4)

lri $AR1,    #0x01c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 453 (0x01c5)

lri $AR1,    #0x01c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 454 (0x01c6)

lri $AR1,    #0x01c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 455 (0x01c7)

lri $AR1,    #0x01c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 456 (0x01c8)

lri $AR1,    #0x01c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 457 (0x01c9)

lri $AR1,    #0x01c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 458 (0x01ca)

lri $AR1,    #0x01ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 459 (0x01cb)

lri $AR1,    #0x01cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 460 (0x01cc)

lri $AR1,    #0x01cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 461 (0x01cd)

lri $AR1,    #0x01cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 462 (0x01ce)

lri $AR1,    #0x01ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 463 (0x01cf)

lri $AR1,    #0x01cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 464 (0x01d0)

lri $AR1,    #0x01d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 465 (0x01d1)

lri $AR1,    #0x01d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 466 (0x01d2)

lri $AR1,    #0x01d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 467 (0x01d3)

lri $AR1,    #0x01d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 468 (0x01d4)

lri $AR1,    #0x01d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 469 (0x01d5)

lri $AR1,    #0x01d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 470 (0x01d6)

lri $AR1,    #0x01d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 471 (0x01d7)

lri $AR1,    #0x01d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 472 (0x01d8)

lri $AR1,    #0x01d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 473 (0x01d9)

lri $AR1,    #0x01d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 474 (0x01da)

lri $AR1,    #0x01da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 475 (0x01db)

lri $AR1,    #0x01db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 476 (0x01dc)

lri $AR1,    #0x01dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 477 (0x01dd)

lri $AR1,    #0x01dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 478 (0x01de)

lri $AR1,    #0x01de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 479 (0x01df)

lri $AR1,    #0x01df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 480 (0x01e0)

lri $AR1,    #0x01e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 481 (0x01e1)

lri $AR1,    #0x01e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 482 (0x01e2)

lri $AR1,    #0x01e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 483 (0x01e3)

lri $AR1,    #0x01e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 484 (0x01e4)

lri $AR1,    #0x01e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 485 (0x01e5)

lri $AR1,    #0x01e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 486 (0x01e6)

lri $AR1,    #0x01e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 487 (0x01e7)

lri $AR1,    #0x01e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 488 (0x01e8)

lri $AR1,    #0x01e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 489 (0x01e9)

lri $AR1,    #0x01e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 490 (0x01ea)

lri $AR1,    #0x01ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 491 (0x01eb)

lri $AR1,    #0x01eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 492 (0x01ec)

lri $AR1,    #0x01ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 493 (0x01ed)

lri $AR1,    #0x01ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 494 (0x01ee)

lri $AR1,    #0x01ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 495 (0x01ef)

lri $AR1,    #0x01ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 496 (0x01f0)

lri $AR1,    #0x01f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 497 (0x01f1)

lri $AR1,    #0x01f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 498 (0x01f2)

lri $AR1,    #0x01f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 499 (0x01f3)

lri $AR1,    #0x01f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 500 (0x01f4)

lri $AR1,    #0x01f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 501 (0x01f5)

lri $AR1,    #0x01f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 502 (0x01f6)

lri $AR1,    #0x01f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 503 (0x01f7)

lri $AR1,    #0x01f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 504 (0x01f8)

lri $AR1,    #0x01f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 505 (0x01f9)

lri $AR1,    #0x01f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 506 (0x01fa)

lri $AR1,    #0x01fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 507 (0x01fb)

lri $AR1,    #0x01fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 508 (0x01fc)

lri $AR1,    #0x01fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 509 (0x01fd)

lri $AR1,    #0x01fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 510 (0x01fe)

lri $AR1,    #0x01fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 511 (0x01ff)

lri $AR1,    #0x01ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 512 (0x0200)

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

