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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

lri $AR1,    #0x0040
lri $IX1,    #0xec80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60545 (0xec81)

lri $AR1,    #0x0040
lri $IX1,    #0xec81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60546 (0xec82)

lri $AR1,    #0x0040
lri $IX1,    #0xec82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60547 (0xec83)

lri $AR1,    #0x0040
lri $IX1,    #0xec83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60548 (0xec84)

lri $AR1,    #0x0040
lri $IX1,    #0xec84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60549 (0xec85)

lri $AR1,    #0x0040
lri $IX1,    #0xec85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60550 (0xec86)

lri $AR1,    #0x0040
lri $IX1,    #0xec86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60551 (0xec87)

lri $AR1,    #0x0040
lri $IX1,    #0xec87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60552 (0xec88)

lri $AR1,    #0x0040
lri $IX1,    #0xec88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60553 (0xec89)

lri $AR1,    #0x0040
lri $IX1,    #0xec89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60554 (0xec8a)

lri $AR1,    #0x0040
lri $IX1,    #0xec8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60555 (0xec8b)

lri $AR1,    #0x0040
lri $IX1,    #0xec8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60556 (0xec8c)

lri $AR1,    #0x0040
lri $IX1,    #0xec8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60557 (0xec8d)

lri $AR1,    #0x0040
lri $IX1,    #0xec8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60558 (0xec8e)

lri $AR1,    #0x0040
lri $IX1,    #0xec8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60559 (0xec8f)

lri $AR1,    #0x0040
lri $IX1,    #0xec8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60560 (0xec90)

lri $AR1,    #0x0040
lri $IX1,    #0xec90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60561 (0xec91)

lri $AR1,    #0x0040
lri $IX1,    #0xec91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60562 (0xec92)

lri $AR1,    #0x0040
lri $IX1,    #0xec92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60563 (0xec93)

lri $AR1,    #0x0040
lri $IX1,    #0xec93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60564 (0xec94)

lri $AR1,    #0x0040
lri $IX1,    #0xec94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60565 (0xec95)

lri $AR1,    #0x0040
lri $IX1,    #0xec95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60566 (0xec96)

lri $AR1,    #0x0040
lri $IX1,    #0xec96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60567 (0xec97)

lri $AR1,    #0x0040
lri $IX1,    #0xec97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60568 (0xec98)

lri $AR1,    #0x0040
lri $IX1,    #0xec98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60569 (0xec99)

lri $AR1,    #0x0040
lri $IX1,    #0xec99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60570 (0xec9a)

lri $AR1,    #0x0040
lri $IX1,    #0xec9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60571 (0xec9b)

lri $AR1,    #0x0040
lri $IX1,    #0xec9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60572 (0xec9c)

lri $AR1,    #0x0040
lri $IX1,    #0xec9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60573 (0xec9d)

lri $AR1,    #0x0040
lri $IX1,    #0xec9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60574 (0xec9e)

lri $AR1,    #0x0040
lri $IX1,    #0xec9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60575 (0xec9f)

lri $AR1,    #0x0040
lri $IX1,    #0xec9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60576 (0xeca0)

lri $AR1,    #0x0040
lri $IX1,    #0xeca0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60577 (0xeca1)

lri $AR1,    #0x0040
lri $IX1,    #0xeca1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60578 (0xeca2)

lri $AR1,    #0x0040
lri $IX1,    #0xeca2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60579 (0xeca3)

lri $AR1,    #0x0040
lri $IX1,    #0xeca3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60580 (0xeca4)

lri $AR1,    #0x0040
lri $IX1,    #0xeca4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60581 (0xeca5)

lri $AR1,    #0x0040
lri $IX1,    #0xeca5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60582 (0xeca6)

lri $AR1,    #0x0040
lri $IX1,    #0xeca6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60583 (0xeca7)

lri $AR1,    #0x0040
lri $IX1,    #0xeca7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60584 (0xeca8)

lri $AR1,    #0x0040
lri $IX1,    #0xeca8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60585 (0xeca9)

lri $AR1,    #0x0040
lri $IX1,    #0xeca9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60586 (0xecaa)

lri $AR1,    #0x0040
lri $IX1,    #0xecaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60587 (0xecab)

lri $AR1,    #0x0040
lri $IX1,    #0xecab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60588 (0xecac)

lri $AR1,    #0x0040
lri $IX1,    #0xecac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60589 (0xecad)

lri $AR1,    #0x0040
lri $IX1,    #0xecad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60590 (0xecae)

lri $AR1,    #0x0040
lri $IX1,    #0xecae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60591 (0xecaf)

lri $AR1,    #0x0040
lri $IX1,    #0xecaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60592 (0xecb0)

lri $AR1,    #0x0040
lri $IX1,    #0xecb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60593 (0xecb1)

lri $AR1,    #0x0040
lri $IX1,    #0xecb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60594 (0xecb2)

lri $AR1,    #0x0040
lri $IX1,    #0xecb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60595 (0xecb3)

lri $AR1,    #0x0040
lri $IX1,    #0xecb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60596 (0xecb4)

lri $AR1,    #0x0040
lri $IX1,    #0xecb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60597 (0xecb5)

lri $AR1,    #0x0040
lri $IX1,    #0xecb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60598 (0xecb6)

lri $AR1,    #0x0040
lri $IX1,    #0xecb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60599 (0xecb7)

lri $AR1,    #0x0040
lri $IX1,    #0xecb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60600 (0xecb8)

lri $AR1,    #0x0040
lri $IX1,    #0xecb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60601 (0xecb9)

lri $AR1,    #0x0040
lri $IX1,    #0xecb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60602 (0xecba)

lri $AR1,    #0x0040
lri $IX1,    #0xecba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60603 (0xecbb)

lri $AR1,    #0x0040
lri $IX1,    #0xecbb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60604 (0xecbc)

lri $AR1,    #0x0040
lri $IX1,    #0xecbc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60605 (0xecbd)

lri $AR1,    #0x0040
lri $IX1,    #0xecbd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60606 (0xecbe)

lri $AR1,    #0x0040
lri $IX1,    #0xecbe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60607 (0xecbf)

lri $AR1,    #0x0040
lri $IX1,    #0xecbf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60608 (0xecc0)

lri $AR1,    #0x0040
lri $IX1,    #0xecc0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60609 (0xecc1)

lri $AR1,    #0x0040
lri $IX1,    #0xecc1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60610 (0xecc2)

lri $AR1,    #0x0040
lri $IX1,    #0xecc2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60611 (0xecc3)

lri $AR1,    #0x0040
lri $IX1,    #0xecc3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60612 (0xecc4)

lri $AR1,    #0x0040
lri $IX1,    #0xecc4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60613 (0xecc5)

lri $AR1,    #0x0040
lri $IX1,    #0xecc5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60614 (0xecc6)

lri $AR1,    #0x0040
lri $IX1,    #0xecc6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60615 (0xecc7)

lri $AR1,    #0x0040
lri $IX1,    #0xecc7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60616 (0xecc8)

lri $AR1,    #0x0040
lri $IX1,    #0xecc8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60617 (0xecc9)

lri $AR1,    #0x0040
lri $IX1,    #0xecc9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60618 (0xecca)

lri $AR1,    #0x0040
lri $IX1,    #0xecca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60619 (0xeccb)

lri $AR1,    #0x0040
lri $IX1,    #0xeccb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 60620 (0xeccc)

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