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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa00
cw 0x9
call send_back  ; 43521 (0xaa01)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa01
cw 0x9
call send_back  ; 43522 (0xaa02)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa02
cw 0x9
call send_back  ; 43523 (0xaa03)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa03
cw 0x9
call send_back  ; 43524 (0xaa04)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa04
cw 0x9
call send_back  ; 43525 (0xaa05)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa05
cw 0x9
call send_back  ; 43526 (0xaa06)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa06
cw 0x9
call send_back  ; 43527 (0xaa07)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa07
cw 0x9
call send_back  ; 43528 (0xaa08)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa08
cw 0x9
call send_back  ; 43529 (0xaa09)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa09
cw 0x9
call send_back  ; 43530 (0xaa0a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa0a
cw 0x9
call send_back  ; 43531 (0xaa0b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa0b
cw 0x9
call send_back  ; 43532 (0xaa0c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa0c
cw 0x9
call send_back  ; 43533 (0xaa0d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa0d
cw 0x9
call send_back  ; 43534 (0xaa0e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa0e
cw 0x9
call send_back  ; 43535 (0xaa0f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa0f
cw 0x9
call send_back  ; 43536 (0xaa10)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa10
cw 0x9
call send_back  ; 43537 (0xaa11)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa11
cw 0x9
call send_back  ; 43538 (0xaa12)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa12
cw 0x9
call send_back  ; 43539 (0xaa13)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa13
cw 0x9
call send_back  ; 43540 (0xaa14)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa14
cw 0x9
call send_back  ; 43541 (0xaa15)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa15
cw 0x9
call send_back  ; 43542 (0xaa16)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa16
cw 0x9
call send_back  ; 43543 (0xaa17)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa17
cw 0x9
call send_back  ; 43544 (0xaa18)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa18
cw 0x9
call send_back  ; 43545 (0xaa19)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa19
cw 0x9
call send_back  ; 43546 (0xaa1a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa1a
cw 0x9
call send_back  ; 43547 (0xaa1b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa1b
cw 0x9
call send_back  ; 43548 (0xaa1c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa1c
cw 0x9
call send_back  ; 43549 (0xaa1d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa1d
cw 0x9
call send_back  ; 43550 (0xaa1e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa1e
cw 0x9
call send_back  ; 43551 (0xaa1f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa1f
cw 0x9
call send_back  ; 43552 (0xaa20)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa20
cw 0x9
call send_back  ; 43553 (0xaa21)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa21
cw 0x9
call send_back  ; 43554 (0xaa22)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa22
cw 0x9
call send_back  ; 43555 (0xaa23)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa23
cw 0x9
call send_back  ; 43556 (0xaa24)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa24
cw 0x9
call send_back  ; 43557 (0xaa25)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa25
cw 0x9
call send_back  ; 43558 (0xaa26)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa26
cw 0x9
call send_back  ; 43559 (0xaa27)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa27
cw 0x9
call send_back  ; 43560 (0xaa28)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa28
cw 0x9
call send_back  ; 43561 (0xaa29)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa29
cw 0x9
call send_back  ; 43562 (0xaa2a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa2a
cw 0x9
call send_back  ; 43563 (0xaa2b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa2b
cw 0x9
call send_back  ; 43564 (0xaa2c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa2c
cw 0x9
call send_back  ; 43565 (0xaa2d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa2d
cw 0x9
call send_back  ; 43566 (0xaa2e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa2e
cw 0x9
call send_back  ; 43567 (0xaa2f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa2f
cw 0x9
call send_back  ; 43568 (0xaa30)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa30
cw 0x9
call send_back  ; 43569 (0xaa31)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa31
cw 0x9
call send_back  ; 43570 (0xaa32)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa32
cw 0x9
call send_back  ; 43571 (0xaa33)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa33
cw 0x9
call send_back  ; 43572 (0xaa34)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa34
cw 0x9
call send_back  ; 43573 (0xaa35)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa35
cw 0x9
call send_back  ; 43574 (0xaa36)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa36
cw 0x9
call send_back  ; 43575 (0xaa37)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa37
cw 0x9
call send_back  ; 43576 (0xaa38)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa38
cw 0x9
call send_back  ; 43577 (0xaa39)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa39
cw 0x9
call send_back  ; 43578 (0xaa3a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa3a
cw 0x9
call send_back  ; 43579 (0xaa3b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa3b
cw 0x9
call send_back  ; 43580 (0xaa3c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa3c
cw 0x9
call send_back  ; 43581 (0xaa3d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa3d
cw 0x9
call send_back  ; 43582 (0xaa3e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa3e
cw 0x9
call send_back  ; 43583 (0xaa3f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa3f
cw 0x9
call send_back  ; 43584 (0xaa40)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa40
cw 0x9
call send_back  ; 43585 (0xaa41)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa41
cw 0x9
call send_back  ; 43586 (0xaa42)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa42
cw 0x9
call send_back  ; 43587 (0xaa43)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa43
cw 0x9
call send_back  ; 43588 (0xaa44)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa44
cw 0x9
call send_back  ; 43589 (0xaa45)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa45
cw 0x9
call send_back  ; 43590 (0xaa46)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa46
cw 0x9
call send_back  ; 43591 (0xaa47)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa47
cw 0x9
call send_back  ; 43592 (0xaa48)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa48
cw 0x9
call send_back  ; 43593 (0xaa49)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa49
cw 0x9
call send_back  ; 43594 (0xaa4a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa4a
cw 0x9
call send_back  ; 43595 (0xaa4b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa4b
cw 0x9
call send_back  ; 43596 (0xaa4c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa4c
cw 0x9
call send_back  ; 43597 (0xaa4d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa4d
cw 0x9
call send_back  ; 43598 (0xaa4e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa4e
cw 0x9
call send_back  ; 43599 (0xaa4f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa4f
cw 0x9
call send_back  ; 43600 (0xaa50)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa50
cw 0x9
call send_back  ; 43601 (0xaa51)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa51
cw 0x9
call send_back  ; 43602 (0xaa52)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa52
cw 0x9
call send_back  ; 43603 (0xaa53)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa53
cw 0x9
call send_back  ; 43604 (0xaa54)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa54
cw 0x9
call send_back  ; 43605 (0xaa55)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa55
cw 0x9
call send_back  ; 43606 (0xaa56)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa56
cw 0x9
call send_back  ; 43607 (0xaa57)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa57
cw 0x9
call send_back  ; 43608 (0xaa58)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa58
cw 0x9
call send_back  ; 43609 (0xaa59)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa59
cw 0x9
call send_back  ; 43610 (0xaa5a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa5a
cw 0x9
call send_back  ; 43611 (0xaa5b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa5b
cw 0x9
call send_back  ; 43612 (0xaa5c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa5c
cw 0x9
call send_back  ; 43613 (0xaa5d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa5d
cw 0x9
call send_back  ; 43614 (0xaa5e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa5e
cw 0x9
call send_back  ; 43615 (0xaa5f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa5f
cw 0x9
call send_back  ; 43616 (0xaa60)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa60
cw 0x9
call send_back  ; 43617 (0xaa61)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa61
cw 0x9
call send_back  ; 43618 (0xaa62)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa62
cw 0x9
call send_back  ; 43619 (0xaa63)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa63
cw 0x9
call send_back  ; 43620 (0xaa64)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa64
cw 0x9
call send_back  ; 43621 (0xaa65)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa65
cw 0x9
call send_back  ; 43622 (0xaa66)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa66
cw 0x9
call send_back  ; 43623 (0xaa67)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa67
cw 0x9
call send_back  ; 43624 (0xaa68)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa68
cw 0x9
call send_back  ; 43625 (0xaa69)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa69
cw 0x9
call send_back  ; 43626 (0xaa6a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa6a
cw 0x9
call send_back  ; 43627 (0xaa6b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa6b
cw 0x9
call send_back  ; 43628 (0xaa6c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa6c
cw 0x9
call send_back  ; 43629 (0xaa6d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa6d
cw 0x9
call send_back  ; 43630 (0xaa6e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa6e
cw 0x9
call send_back  ; 43631 (0xaa6f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa6f
cw 0x9
call send_back  ; 43632 (0xaa70)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa70
cw 0x9
call send_back  ; 43633 (0xaa71)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa71
cw 0x9
call send_back  ; 43634 (0xaa72)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa72
cw 0x9
call send_back  ; 43635 (0xaa73)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa73
cw 0x9
call send_back  ; 43636 (0xaa74)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa74
cw 0x9
call send_back  ; 43637 (0xaa75)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa75
cw 0x9
call send_back  ; 43638 (0xaa76)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa76
cw 0x9
call send_back  ; 43639 (0xaa77)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa77
cw 0x9
call send_back  ; 43640 (0xaa78)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa78
cw 0x9
call send_back  ; 43641 (0xaa79)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa79
cw 0x9
call send_back  ; 43642 (0xaa7a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa7a
cw 0x9
call send_back  ; 43643 (0xaa7b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa7b
cw 0x9
call send_back  ; 43644 (0xaa7c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa7c
cw 0x9
call send_back  ; 43645 (0xaa7d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa7d
cw 0x9
call send_back  ; 43646 (0xaa7e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa7e
cw 0x9
call send_back  ; 43647 (0xaa7f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaa7f
cw 0x9
call send_back  ; 43648 (0xaa80)

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

