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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec00
cw 0x5
call send_back  ; 60417 (0xec01)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec01
cw 0x5
call send_back  ; 60418 (0xec02)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec02
cw 0x5
call send_back  ; 60419 (0xec03)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec03
cw 0x5
call send_back  ; 60420 (0xec04)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec04
cw 0x5
call send_back  ; 60421 (0xec05)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec05
cw 0x5
call send_back  ; 60422 (0xec06)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec06
cw 0x5
call send_back  ; 60423 (0xec07)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec07
cw 0x5
call send_back  ; 60424 (0xec08)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec08
cw 0x5
call send_back  ; 60425 (0xec09)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec09
cw 0x5
call send_back  ; 60426 (0xec0a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec0a
cw 0x5
call send_back  ; 60427 (0xec0b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec0b
cw 0x5
call send_back  ; 60428 (0xec0c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec0c
cw 0x5
call send_back  ; 60429 (0xec0d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec0d
cw 0x5
call send_back  ; 60430 (0xec0e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec0e
cw 0x5
call send_back  ; 60431 (0xec0f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec0f
cw 0x5
call send_back  ; 60432 (0xec10)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec10
cw 0x5
call send_back  ; 60433 (0xec11)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec11
cw 0x5
call send_back  ; 60434 (0xec12)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec12
cw 0x5
call send_back  ; 60435 (0xec13)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec13
cw 0x5
call send_back  ; 60436 (0xec14)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec14
cw 0x5
call send_back  ; 60437 (0xec15)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec15
cw 0x5
call send_back  ; 60438 (0xec16)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec16
cw 0x5
call send_back  ; 60439 (0xec17)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec17
cw 0x5
call send_back  ; 60440 (0xec18)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec18
cw 0x5
call send_back  ; 60441 (0xec19)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec19
cw 0x5
call send_back  ; 60442 (0xec1a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec1a
cw 0x5
call send_back  ; 60443 (0xec1b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec1b
cw 0x5
call send_back  ; 60444 (0xec1c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec1c
cw 0x5
call send_back  ; 60445 (0xec1d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec1d
cw 0x5
call send_back  ; 60446 (0xec1e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec1e
cw 0x5
call send_back  ; 60447 (0xec1f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec1f
cw 0x5
call send_back  ; 60448 (0xec20)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec20
cw 0x5
call send_back  ; 60449 (0xec21)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec21
cw 0x5
call send_back  ; 60450 (0xec22)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec22
cw 0x5
call send_back  ; 60451 (0xec23)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec23
cw 0x5
call send_back  ; 60452 (0xec24)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec24
cw 0x5
call send_back  ; 60453 (0xec25)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec25
cw 0x5
call send_back  ; 60454 (0xec26)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec26
cw 0x5
call send_back  ; 60455 (0xec27)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec27
cw 0x5
call send_back  ; 60456 (0xec28)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec28
cw 0x5
call send_back  ; 60457 (0xec29)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec29
cw 0x5
call send_back  ; 60458 (0xec2a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec2a
cw 0x5
call send_back  ; 60459 (0xec2b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec2b
cw 0x5
call send_back  ; 60460 (0xec2c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec2c
cw 0x5
call send_back  ; 60461 (0xec2d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec2d
cw 0x5
call send_back  ; 60462 (0xec2e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec2e
cw 0x5
call send_back  ; 60463 (0xec2f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec2f
cw 0x5
call send_back  ; 60464 (0xec30)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec30
cw 0x5
call send_back  ; 60465 (0xec31)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec31
cw 0x5
call send_back  ; 60466 (0xec32)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec32
cw 0x5
call send_back  ; 60467 (0xec33)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec33
cw 0x5
call send_back  ; 60468 (0xec34)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec34
cw 0x5
call send_back  ; 60469 (0xec35)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec35
cw 0x5
call send_back  ; 60470 (0xec36)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec36
cw 0x5
call send_back  ; 60471 (0xec37)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec37
cw 0x5
call send_back  ; 60472 (0xec38)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec38
cw 0x5
call send_back  ; 60473 (0xec39)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec39
cw 0x5
call send_back  ; 60474 (0xec3a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec3a
cw 0x5
call send_back  ; 60475 (0xec3b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec3b
cw 0x5
call send_back  ; 60476 (0xec3c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec3c
cw 0x5
call send_back  ; 60477 (0xec3d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec3d
cw 0x5
call send_back  ; 60478 (0xec3e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec3e
cw 0x5
call send_back  ; 60479 (0xec3f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec3f
cw 0x5
call send_back  ; 60480 (0xec40)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec40
cw 0x5
call send_back  ; 60481 (0xec41)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec41
cw 0x5
call send_back  ; 60482 (0xec42)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec42
cw 0x5
call send_back  ; 60483 (0xec43)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec43
cw 0x5
call send_back  ; 60484 (0xec44)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec44
cw 0x5
call send_back  ; 60485 (0xec45)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec45
cw 0x5
call send_back  ; 60486 (0xec46)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec46
cw 0x5
call send_back  ; 60487 (0xec47)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec47
cw 0x5
call send_back  ; 60488 (0xec48)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec48
cw 0x5
call send_back  ; 60489 (0xec49)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec49
cw 0x5
call send_back  ; 60490 (0xec4a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec4a
cw 0x5
call send_back  ; 60491 (0xec4b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec4b
cw 0x5
call send_back  ; 60492 (0xec4c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec4c
cw 0x5
call send_back  ; 60493 (0xec4d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec4d
cw 0x5
call send_back  ; 60494 (0xec4e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec4e
cw 0x5
call send_back  ; 60495 (0xec4f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec4f
cw 0x5
call send_back  ; 60496 (0xec50)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec50
cw 0x5
call send_back  ; 60497 (0xec51)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec51
cw 0x5
call send_back  ; 60498 (0xec52)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec52
cw 0x5
call send_back  ; 60499 (0xec53)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec53
cw 0x5
call send_back  ; 60500 (0xec54)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec54
cw 0x5
call send_back  ; 60501 (0xec55)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec55
cw 0x5
call send_back  ; 60502 (0xec56)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec56
cw 0x5
call send_back  ; 60503 (0xec57)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec57
cw 0x5
call send_back  ; 60504 (0xec58)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec58
cw 0x5
call send_back  ; 60505 (0xec59)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec59
cw 0x5
call send_back  ; 60506 (0xec5a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec5a
cw 0x5
call send_back  ; 60507 (0xec5b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec5b
cw 0x5
call send_back  ; 60508 (0xec5c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec5c
cw 0x5
call send_back  ; 60509 (0xec5d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec5d
cw 0x5
call send_back  ; 60510 (0xec5e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec5e
cw 0x5
call send_back  ; 60511 (0xec5f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec5f
cw 0x5
call send_back  ; 60512 (0xec60)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec60
cw 0x5
call send_back  ; 60513 (0xec61)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec61
cw 0x5
call send_back  ; 60514 (0xec62)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec62
cw 0x5
call send_back  ; 60515 (0xec63)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec63
cw 0x5
call send_back  ; 60516 (0xec64)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec64
cw 0x5
call send_back  ; 60517 (0xec65)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec65
cw 0x5
call send_back  ; 60518 (0xec66)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec66
cw 0x5
call send_back  ; 60519 (0xec67)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec67
cw 0x5
call send_back  ; 60520 (0xec68)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec68
cw 0x5
call send_back  ; 60521 (0xec69)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec69
cw 0x5
call send_back  ; 60522 (0xec6a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec6a
cw 0x5
call send_back  ; 60523 (0xec6b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec6b
cw 0x5
call send_back  ; 60524 (0xec6c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec6c
cw 0x5
call send_back  ; 60525 (0xec6d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec6d
cw 0x5
call send_back  ; 60526 (0xec6e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec6e
cw 0x5
call send_back  ; 60527 (0xec6f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec6f
cw 0x5
call send_back  ; 60528 (0xec70)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec70
cw 0x5
call send_back  ; 60529 (0xec71)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec71
cw 0x5
call send_back  ; 60530 (0xec72)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec72
cw 0x5
call send_back  ; 60531 (0xec73)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec73
cw 0x5
call send_back  ; 60532 (0xec74)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec74
cw 0x5
call send_back  ; 60533 (0xec75)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec75
cw 0x5
call send_back  ; 60534 (0xec76)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec76
cw 0x5
call send_back  ; 60535 (0xec77)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec77
cw 0x5
call send_back  ; 60536 (0xec78)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec78
cw 0x5
call send_back  ; 60537 (0xec79)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec79
cw 0x5
call send_back  ; 60538 (0xec7a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec7a
cw 0x5
call send_back  ; 60539 (0xec7b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec7b
cw 0x5
call send_back  ; 60540 (0xec7c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec7c
cw 0x5
call send_back  ; 60541 (0xec7d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec7d
cw 0x5
call send_back  ; 60542 (0xec7e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec7e
cw 0x5
call send_back  ; 60543 (0xec7f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xec7f
cw 0x5
call send_back  ; 60544 (0xec80)

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

