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

lri $AR1,    #0x4000
lri $IX1,    #0xae00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44545 (0xae01)

lri $AR1,    #0x4000
lri $IX1,    #0xae01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44546 (0xae02)

lri $AR1,    #0x4000
lri $IX1,    #0xae02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44547 (0xae03)

lri $AR1,    #0x4000
lri $IX1,    #0xae03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44548 (0xae04)

lri $AR1,    #0x4000
lri $IX1,    #0xae04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44549 (0xae05)

lri $AR1,    #0x4000
lri $IX1,    #0xae05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44550 (0xae06)

lri $AR1,    #0x4000
lri $IX1,    #0xae06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44551 (0xae07)

lri $AR1,    #0x4000
lri $IX1,    #0xae07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44552 (0xae08)

lri $AR1,    #0x4000
lri $IX1,    #0xae08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44553 (0xae09)

lri $AR1,    #0x4000
lri $IX1,    #0xae09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44554 (0xae0a)

lri $AR1,    #0x4000
lri $IX1,    #0xae0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44555 (0xae0b)

lri $AR1,    #0x4000
lri $IX1,    #0xae0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44556 (0xae0c)

lri $AR1,    #0x4000
lri $IX1,    #0xae0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44557 (0xae0d)

lri $AR1,    #0x4000
lri $IX1,    #0xae0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44558 (0xae0e)

lri $AR1,    #0x4000
lri $IX1,    #0xae0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44559 (0xae0f)

lri $AR1,    #0x4000
lri $IX1,    #0xae0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44560 (0xae10)

lri $AR1,    #0x4000
lri $IX1,    #0xae10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44561 (0xae11)

lri $AR1,    #0x4000
lri $IX1,    #0xae11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44562 (0xae12)

lri $AR1,    #0x4000
lri $IX1,    #0xae12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44563 (0xae13)

lri $AR1,    #0x4000
lri $IX1,    #0xae13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44564 (0xae14)

lri $AR1,    #0x4000
lri $IX1,    #0xae14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44565 (0xae15)

lri $AR1,    #0x4000
lri $IX1,    #0xae15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44566 (0xae16)

lri $AR1,    #0x4000
lri $IX1,    #0xae16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44567 (0xae17)

lri $AR1,    #0x4000
lri $IX1,    #0xae17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44568 (0xae18)

lri $AR1,    #0x4000
lri $IX1,    #0xae18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44569 (0xae19)

lri $AR1,    #0x4000
lri $IX1,    #0xae19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44570 (0xae1a)

lri $AR1,    #0x4000
lri $IX1,    #0xae1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44571 (0xae1b)

lri $AR1,    #0x4000
lri $IX1,    #0xae1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44572 (0xae1c)

lri $AR1,    #0x4000
lri $IX1,    #0xae1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44573 (0xae1d)

lri $AR1,    #0x4000
lri $IX1,    #0xae1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44574 (0xae1e)

lri $AR1,    #0x4000
lri $IX1,    #0xae1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44575 (0xae1f)

lri $AR1,    #0x4000
lri $IX1,    #0xae1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44576 (0xae20)

lri $AR1,    #0x4000
lri $IX1,    #0xae20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44577 (0xae21)

lri $AR1,    #0x4000
lri $IX1,    #0xae21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44578 (0xae22)

lri $AR1,    #0x4000
lri $IX1,    #0xae22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44579 (0xae23)

lri $AR1,    #0x4000
lri $IX1,    #0xae23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44580 (0xae24)

lri $AR1,    #0x4000
lri $IX1,    #0xae24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44581 (0xae25)

lri $AR1,    #0x4000
lri $IX1,    #0xae25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44582 (0xae26)

lri $AR1,    #0x4000
lri $IX1,    #0xae26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44583 (0xae27)

lri $AR1,    #0x4000
lri $IX1,    #0xae27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44584 (0xae28)

lri $AR1,    #0x4000
lri $IX1,    #0xae28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44585 (0xae29)

lri $AR1,    #0x4000
lri $IX1,    #0xae29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44586 (0xae2a)

lri $AR1,    #0x4000
lri $IX1,    #0xae2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44587 (0xae2b)

lri $AR1,    #0x4000
lri $IX1,    #0xae2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44588 (0xae2c)

lri $AR1,    #0x4000
lri $IX1,    #0xae2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44589 (0xae2d)

lri $AR1,    #0x4000
lri $IX1,    #0xae2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44590 (0xae2e)

lri $AR1,    #0x4000
lri $IX1,    #0xae2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44591 (0xae2f)

lri $AR1,    #0x4000
lri $IX1,    #0xae2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44592 (0xae30)

lri $AR1,    #0x4000
lri $IX1,    #0xae30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44593 (0xae31)

lri $AR1,    #0x4000
lri $IX1,    #0xae31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44594 (0xae32)

lri $AR1,    #0x4000
lri $IX1,    #0xae32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44595 (0xae33)

lri $AR1,    #0x4000
lri $IX1,    #0xae33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44596 (0xae34)

lri $AR1,    #0x4000
lri $IX1,    #0xae34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44597 (0xae35)

lri $AR1,    #0x4000
lri $IX1,    #0xae35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44598 (0xae36)

lri $AR1,    #0x4000
lri $IX1,    #0xae36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44599 (0xae37)

lri $AR1,    #0x4000
lri $IX1,    #0xae37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44600 (0xae38)

lri $AR1,    #0x4000
lri $IX1,    #0xae38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44601 (0xae39)

lri $AR1,    #0x4000
lri $IX1,    #0xae39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44602 (0xae3a)

lri $AR1,    #0x4000
lri $IX1,    #0xae3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44603 (0xae3b)

lri $AR1,    #0x4000
lri $IX1,    #0xae3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44604 (0xae3c)

lri $AR1,    #0x4000
lri $IX1,    #0xae3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44605 (0xae3d)

lri $AR1,    #0x4000
lri $IX1,    #0xae3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44606 (0xae3e)

lri $AR1,    #0x4000
lri $IX1,    #0xae3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44607 (0xae3f)

lri $AR1,    #0x4000
lri $IX1,    #0xae3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44608 (0xae40)

lri $AR1,    #0x4000
lri $IX1,    #0xae40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44609 (0xae41)

lri $AR1,    #0x4000
lri $IX1,    #0xae41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44610 (0xae42)

lri $AR1,    #0x4000
lri $IX1,    #0xae42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44611 (0xae43)

lri $AR1,    #0x4000
lri $IX1,    #0xae43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44612 (0xae44)

lri $AR1,    #0x4000
lri $IX1,    #0xae44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44613 (0xae45)

lri $AR1,    #0x4000
lri $IX1,    #0xae45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44614 (0xae46)

lri $AR1,    #0x4000
lri $IX1,    #0xae46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44615 (0xae47)

lri $AR1,    #0x4000
lri $IX1,    #0xae47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44616 (0xae48)

lri $AR1,    #0x4000
lri $IX1,    #0xae48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44617 (0xae49)

lri $AR1,    #0x4000
lri $IX1,    #0xae49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44618 (0xae4a)

lri $AR1,    #0x4000
lri $IX1,    #0xae4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44619 (0xae4b)

lri $AR1,    #0x4000
lri $IX1,    #0xae4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44620 (0xae4c)

lri $AR1,    #0x4000
lri $IX1,    #0xae4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44621 (0xae4d)

lri $AR1,    #0x4000
lri $IX1,    #0xae4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44622 (0xae4e)

lri $AR1,    #0x4000
lri $IX1,    #0xae4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44623 (0xae4f)

lri $AR1,    #0x4000
lri $IX1,    #0xae4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44624 (0xae50)

lri $AR1,    #0x4000
lri $IX1,    #0xae50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44625 (0xae51)

lri $AR1,    #0x4000
lri $IX1,    #0xae51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44626 (0xae52)

lri $AR1,    #0x4000
lri $IX1,    #0xae52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44627 (0xae53)

lri $AR1,    #0x4000
lri $IX1,    #0xae53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44628 (0xae54)

lri $AR1,    #0x4000
lri $IX1,    #0xae54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44629 (0xae55)

lri $AR1,    #0x4000
lri $IX1,    #0xae55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44630 (0xae56)

lri $AR1,    #0x4000
lri $IX1,    #0xae56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44631 (0xae57)

lri $AR1,    #0x4000
lri $IX1,    #0xae57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44632 (0xae58)

lri $AR1,    #0x4000
lri $IX1,    #0xae58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44633 (0xae59)

lri $AR1,    #0x4000
lri $IX1,    #0xae59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44634 (0xae5a)

lri $AR1,    #0x4000
lri $IX1,    #0xae5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44635 (0xae5b)

lri $AR1,    #0x4000
lri $IX1,    #0xae5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44636 (0xae5c)

lri $AR1,    #0x4000
lri $IX1,    #0xae5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44637 (0xae5d)

lri $AR1,    #0x4000
lri $IX1,    #0xae5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44638 (0xae5e)

lri $AR1,    #0x4000
lri $IX1,    #0xae5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44639 (0xae5f)

lri $AR1,    #0x4000
lri $IX1,    #0xae5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44640 (0xae60)

lri $AR1,    #0x4000
lri $IX1,    #0xae60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44641 (0xae61)

lri $AR1,    #0x4000
lri $IX1,    #0xae61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44642 (0xae62)

lri $AR1,    #0x4000
lri $IX1,    #0xae62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44643 (0xae63)

lri $AR1,    #0x4000
lri $IX1,    #0xae63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44644 (0xae64)

lri $AR1,    #0x4000
lri $IX1,    #0xae64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44645 (0xae65)

lri $AR1,    #0x4000
lri $IX1,    #0xae65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44646 (0xae66)

lri $AR1,    #0x4000
lri $IX1,    #0xae66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44647 (0xae67)

lri $AR1,    #0x4000
lri $IX1,    #0xae67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44648 (0xae68)

lri $AR1,    #0x4000
lri $IX1,    #0xae68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44649 (0xae69)

lri $AR1,    #0x4000
lri $IX1,    #0xae69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44650 (0xae6a)

lri $AR1,    #0x4000
lri $IX1,    #0xae6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44651 (0xae6b)

lri $AR1,    #0x4000
lri $IX1,    #0xae6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44652 (0xae6c)

lri $AR1,    #0x4000
lri $IX1,    #0xae6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44653 (0xae6d)

lri $AR1,    #0x4000
lri $IX1,    #0xae6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44654 (0xae6e)

lri $AR1,    #0x4000
lri $IX1,    #0xae6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44655 (0xae6f)

lri $AR1,    #0x4000
lri $IX1,    #0xae6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44656 (0xae70)

lri $AR1,    #0x4000
lri $IX1,    #0xae70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44657 (0xae71)

lri $AR1,    #0x4000
lri $IX1,    #0xae71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44658 (0xae72)

lri $AR1,    #0x4000
lri $IX1,    #0xae72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44659 (0xae73)

lri $AR1,    #0x4000
lri $IX1,    #0xae73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44660 (0xae74)

lri $AR1,    #0x4000
lri $IX1,    #0xae74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44661 (0xae75)

lri $AR1,    #0x4000
lri $IX1,    #0xae75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44662 (0xae76)

lri $AR1,    #0x4000
lri $IX1,    #0xae76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44663 (0xae77)

lri $AR1,    #0x4000
lri $IX1,    #0xae77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44664 (0xae78)

lri $AR1,    #0x4000
lri $IX1,    #0xae78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44665 (0xae79)

lri $AR1,    #0x4000
lri $IX1,    #0xae79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44666 (0xae7a)

lri $AR1,    #0x4000
lri $IX1,    #0xae7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44667 (0xae7b)

lri $AR1,    #0x4000
lri $IX1,    #0xae7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44668 (0xae7c)

lri $AR1,    #0x4000
lri $IX1,    #0xae7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44669 (0xae7d)

lri $AR1,    #0x4000
lri $IX1,    #0xae7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44670 (0xae7e)

lri $AR1,    #0x4000
lri $IX1,    #0xae7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44671 (0xae7f)

lri $AR1,    #0x4000
lri $IX1,    #0xae7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44672 (0xae80)

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

