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

lri $AR1,    #0xdc6c
lri $IX1,    #0x1062
lri $WR1,    #0x477d
cw 0xd
call send_back  ; 52648 (0xcda8)

lri $AR1,    #0x78fc
lri $IX1,    #0xfee2
lri $WR1,    #0xd704
cw 0xd
call send_back  ; 52649 (0xcda9)

lri $AR1,    #0x96fa
lri $IX1,    #0x589c
lri $WR1,    #0x8e0e
cw 0xd
call send_back  ; 52650 (0xcdaa)

lri $AR1,    #0xcc89
lri $IX1,    #0xc7ac
lri $WR1,    #0x7c04
cw 0xd
call send_back  ; 52651 (0xcdab)

lri $AR1,    #0x1c62
lri $IX1,    #0x3c82
lri $WR1,    #0x3f6e
cw 0xd
call send_back  ; 52652 (0xcdac)

lri $AR1,    #0xa9ff
lri $IX1,    #0x042c
lri $WR1,    #0x7bbf
cw 0xd
call send_back  ; 52653 (0xcdad)

lri $AR1,    #0x3fdf
lri $IX1,    #0x2cfe
lri $WR1,    #0x8fb4
cw 0xd
call send_back  ; 52654 (0xcdae)

lri $AR1,    #0x0fa3
lri $IX1,    #0x0028
lri $WR1,    #0x592e
cw 0xd
call send_back  ; 52655 (0xcdaf)

lri $AR1,    #0xcb55
lri $IX1,    #0xc9d6
lri $WR1,    #0x7950
cw 0xd
call send_back  ; 52656 (0xcdb0)

lri $AR1,    #0x42b7
lri $IX1,    #0x1142
lri $WR1,    #0xd4be
cw 0xd
call send_back  ; 52657 (0xcdb1)

lri $AR1,    #0x6ed6
lri $IX1,    #0x9d86
lri $WR1,    #0x59ac
cw 0xd
call send_back  ; 52658 (0xcdb2)

lri $AR1,    #0xa9c1
lri $IX1,    #0x137a
lri $WR1,    #0x46c2
cw 0xd
call send_back  ; 52659 (0xcdb3)

lri $AR1,    #0x17ac
lri $IX1,    #0x7c76
lri $WR1,    #0xa35c
cw 0xd
call send_back  ; 52660 (0xcdb4)

lri $AR1,    #0x6251
lri $IX1,    #0x7d36
lri $WR1,    #0xb353
cw 0xd
call send_back  ; 52661 (0xcdb5)

lri $AR1,    #0xb6e0
lri $IX1,    #0x4fca
lri $WR1,    #0x4dbc
cw 0xd
call send_back  ; 52662 (0xcdb6)

lri $AR1,    #0xda4c
lri $IX1,    #0x92cc
lri $WR1,    #0x7fbf
cw 0xd
call send_back  ; 52663 (0xcdb7)

lri $AR1,    #0x7f45
lri $IX1,    #0x93b0
lri $WR1,    #0xaa21
cw 0xd
call send_back  ; 52664 (0xcdb8)

lri $AR1,    #0x34b1
lri $IX1,    #0xc18c
lri $WR1,    #0xb16c
cw 0xd
call send_back  ; 52665 (0xcdb9)

lri $AR1,    #0xa2f9
lri $IX1,    #0x5118
lri $WR1,    #0xc67c
cw 0xd
call send_back  ; 52666 (0xcdba)

lri $AR1,    #0x41e5
lri $IX1,    #0xaa42
lri $WR1,    #0x9e42
cw 0xd
call send_back  ; 52667 (0xcdbb)

lri $AR1,    #0x9875
lri $IX1,    #0xdb0e
lri $WR1,    #0x8585
cw 0xd
call send_back  ; 52668 (0xcdbc)

lri $AR1,    #0xd374
lri $IX1,    #0xe342
lri $WR1,    #0x7690
cw 0xd
call send_back  ; 52669 (0xcdbd)

lri $AR1,    #0x6f11
lri $IX1,    #0x1774
lri $WR1,    #0x9461
cw 0xd
call send_back  ; 52670 (0xcdbe)

lri $AR1,    #0x3362
lri $IX1,    #0xf9f4
lri $WR1,    #0x9079
cw 0xd
call send_back  ; 52671 (0xcdbf)

lri $AR1,    #0x3b0b
lri $IX1,    #0x9b52
lri $WR1,    #0x65ca
cw 0xd
call send_back  ; 52672 (0xcdc0)

lri $AR1,    #0x06ec
lri $IX1,    #0xbbd0
lri $WR1,    #0x5cdb
cw 0xd
call send_back  ; 52673 (0xcdc1)

lri $AR1,    #0xa113
lri $IX1,    #0x6298
lri $WR1,    #0xdab7
cw 0xd
call send_back  ; 52674 (0xcdc2)

lri $AR1,    #0x64d5
lri $IX1,    #0x4ef4
lri $WR1,    #0x6db0
cw 0xd
call send_back  ; 52675 (0xcdc3)

lri $AR1,    #0x894f
lri $IX1,    #0x6b70
lri $WR1,    #0x4085
cw 0xd
call send_back  ; 52676 (0xcdc4)

lri $AR1,    #0x6728
lri $IX1,    #0x2224
lri $WR1,    #0x7601
cw 0xd
call send_back  ; 52677 (0xcdc5)

lri $AR1,    #0x81e3
lri $IX1,    #0xfcfa
lri $WR1,    #0xcc9f
cw 0xd
call send_back  ; 52678 (0xcdc6)

lri $AR1,    #0x8086
lri $IX1,    #0x3c4e
lri $WR1,    #0x2b46
cw 0xd
call send_back  ; 52679 (0xcdc7)

lri $AR1,    #0x58fc
lri $IX1,    #0xe19c
lri $WR1,    #0x3da6
cw 0xd
call send_back  ; 52680 (0xcdc8)

lri $AR1,    #0x5ceb
lri $IX1,    #0xf3a2
lri $WR1,    #0x7051
cw 0xd
call send_back  ; 52681 (0xcdc9)

lri $AR1,    #0x7659
lri $IX1,    #0x5cc6
lri $WR1,    #0xca17
cw 0xd
call send_back  ; 52682 (0xcdca)

lri $AR1,    #0x15f6
lri $IX1,    #0x9404
lri $WR1,    #0xb1b6
cw 0xd
call send_back  ; 52683 (0xcdcb)

lri $AR1,    #0x7c4b
lri $IX1,    #0x243c
lri $WR1,    #0x8475
cw 0xd
call send_back  ; 52684 (0xcdcc)

lri $AR1,    #0x82b1
lri $IX1,    #0xfd2a
lri $WR1,    #0x5bb1
cw 0xd
call send_back  ; 52685 (0xcdcd)

lri $AR1,    #0xb848
lri $IX1,    #0x24e0
lri $WR1,    #0x5cf0
cw 0xd
call send_back  ; 52686 (0xcdce)

lri $AR1,    #0x6adc
lri $IX1,    #0xc010
lri $WR1,    #0x5190
cw 0xd
call send_back  ; 52687 (0xcdcf)

lri $AR1,    #0x6aea
lri $IX1,    #0x5af2
lri $WR1,    #0xe890
cw 0xd
call send_back  ; 52688 (0xcdd0)

lri $AR1,    #0xe5af
lri $IX1,    #0xc412
lri $WR1,    #0xce9c
cw 0xd
call send_back  ; 52689 (0xcdd1)

lri $AR1,    #0x6f7a
lri $IX1,    #0x85e4
lri $WR1,    #0x95d6
cw 0xd
call send_back  ; 52690 (0xcdd2)

lri $AR1,    #0xac28
lri $IX1,    #0xfb64
lri $WR1,    #0x987e
cw 0xd
call send_back  ; 52691 (0xcdd3)

lri $AR1,    #0x4afd
lri $IX1,    #0xff96
lri $WR1,    #0x76ee
cw 0xd
call send_back  ; 52692 (0xcdd4)

lri $AR1,    #0x26d0
lri $IX1,    #0x2f28
lri $WR1,    #0x6b28
cw 0xd
call send_back  ; 52693 (0xcdd5)

lri $AR1,    #0x2ab3
lri $IX1,    #0x7f26
lri $WR1,    #0xc94d
cw 0xd
call send_back  ; 52694 (0xcdd6)

lri $AR1,    #0x7f03
lri $IX1,    #0x6aec
lri $WR1,    #0x8640
cw 0xd
call send_back  ; 52695 (0xcdd7)

lri $AR1,    #0x5a24
lri $IX1,    #0x0f38
lri $WR1,    #0xe2e0
cw 0xd
call send_back  ; 52696 (0xcdd8)

lri $AR1,    #0x7bb9
lri $IX1,    #0x0fb4
lri $WR1,    #0xc403
cw 0xd
call send_back  ; 52697 (0xcdd9)

lri $AR1,    #0xb8ab
lri $IX1,    #0xffb4
lri $WR1,    #0x2caf
cw 0xd
call send_back  ; 52698 (0xcdda)

lri $AR1,    #0x71ce
lri $IX1,    #0x1686
lri $WR1,    #0x21b1
cw 0xd
call send_back  ; 52699 (0xcddb)

lri $AR1,    #0xb676
lri $IX1,    #0x1b1e
lri $WR1,    #0xd30c
cw 0xd
call send_back  ; 52700 (0xcddc)

lri $AR1,    #0x8fc7
lri $IX1,    #0x8a72
lri $WR1,    #0xa172
cw 0xd
call send_back  ; 52701 (0xcddd)

lri $AR1,    #0x6115
lri $IX1,    #0xe750
lri $WR1,    #0xd331
cw 0xd
call send_back  ; 52702 (0xcdde)

lri $AR1,    #0x4d20
lri $IX1,    #0xc210
lri $WR1,    #0x6dc0
cw 0xd
call send_back  ; 52703 (0xcddf)

lri $AR1,    #0x8780
lri $IX1,    #0x39cc
lri $WR1,    #0x8e71
cw 0xd
call send_back  ; 52704 (0xcde0)

lri $AR1,    #0xc50e
lri $IX1,    #0x6098
lri $WR1,    #0x2652
cw 0xd
call send_back  ; 52705 (0xcde1)

lri $AR1,    #0x7d9b
lri $IX1,    #0xe778
lri $WR1,    #0x8adc
cw 0xd
call send_back  ; 52706 (0xcde2)

lri $AR1,    #0x44c9
lri $IX1,    #0xa65c
lri $WR1,    #0xbe79
cw 0xd
call send_back  ; 52707 (0xcde3)

lri $AR1,    #0x8748
lri $IX1,    #0xd7f6
lri $WR1,    #0x8967
cw 0xd
call send_back  ; 52708 (0xcde4)

lri $AR1,    #0xd558
lri $IX1,    #0x18d6
lri $WR1,    #0x5517
cw 0xd
call send_back  ; 52709 (0xcde5)

lri $AR1,    #0x72e1
lri $IX1,    #0x4460
lri $WR1,    #0x9995
cw 0xd
call send_back  ; 52710 (0xcde6)

lri $AR1,    #0x88d3
lri $IX1,    #0x0a32
lri $WR1,    #0x6dfc
cw 0xd
call send_back  ; 52711 (0xcde7)

lri $AR1,    #0x6b4d
lri $IX1,    #0x6990
lri $WR1,    #0x529d
cw 0xd
call send_back  ; 52712 (0xcde8)

lri $AR1,    #0xd32d
lri $IX1,    #0x0850
lri $WR1,    #0x74d0
cw 0xd
call send_back  ; 52713 (0xcde9)

lri $AR1,    #0x897f
lri $IX1,    #0x75f2
lri $WR1,    #0x5a15
cw 0xd
call send_back  ; 52714 (0xcdea)

lri $AR1,    #0xb67d
lri $IX1,    #0xbb56
lri $WR1,    #0x7181
cw 0xd
call send_back  ; 52715 (0xcdeb)

lri $AR1,    #0xad84
lri $IX1,    #0xfac2
lri $WR1,    #0x601a
cw 0xd
call send_back  ; 52716 (0xcdec)

lri $AR1,    #0x8ac6
lri $IX1,    #0x3ba8
lri $WR1,    #0x5623
cw 0xd
call send_back  ; 52717 (0xcded)

lri $AR1,    #0xa708
lri $IX1,    #0xa8d6
lri $WR1,    #0x38f3
cw 0xd
call send_back  ; 52718 (0xcdee)

lri $AR1,    #0x293f
lri $IX1,    #0x6782
lri $WR1,    #0x4e5c
cw 0xd
call send_back  ; 52719 (0xcdef)

lri $AR1,    #0x355d
lri $IX1,    #0xa0ea
lri $WR1,    #0xbc3e
cw 0xd
call send_back  ; 52720 (0xcdf0)

lri $AR1,    #0x431a
lri $IX1,    #0x3ff2
lri $WR1,    #0x784b
cw 0xd
call send_back  ; 52721 (0xcdf1)

lri $AR1,    #0xe707
lri $IX1,    #0x1f66
lri $WR1,    #0x9197
cw 0xd
call send_back  ; 52722 (0xcdf2)

lri $AR1,    #0xabcb
lri $IX1,    #0xd568
lri $WR1,    #0x6ef4
cw 0xd
call send_back  ; 52723 (0xcdf3)

lri $AR1,    #0xe0be
lri $IX1,    #0xcba2
lri $WR1,    #0x12bf
cw 0xd
call send_back  ; 52724 (0xcdf4)

lri $AR1,    #0x5ed2
lri $IX1,    #0xcbba
lri $WR1,    #0x8e1e
cw 0xd
call send_back  ; 52725 (0xcdf5)

lri $AR1,    #0x93fd
lri $IX1,    #0x72b6
lri $WR1,    #0x6b45
cw 0xd
call send_back  ; 52726 (0xcdf6)

lri $AR1,    #0x8906
lri $IX1,    #0xfdb2
lri $WR1,    #0x57ca
cw 0xd
call send_back  ; 52727 (0xcdf7)

lri $AR1,    #0x6d05
lri $IX1,    #0x75ba
lri $WR1,    #0x9dad
cw 0xd
call send_back  ; 52728 (0xcdf8)

lri $AR1,    #0x5d55
lri $IX1,    #0x480a
lri $WR1,    #0x630b
cw 0xd
call send_back  ; 52729 (0xcdf9)

lri $AR1,    #0x8064
lri $IX1,    #0xb392
lri $WR1,    #0x9619
cw 0xd
call send_back  ; 52730 (0xcdfa)

lri $AR1,    #0x7d13
lri $IX1,    #0x0402
lri $WR1,    #0x3c79
cw 0xd
call send_back  ; 52731 (0xcdfb)

lri $AR1,    #0x4007
lri $IX1,    #0x363a
lri $WR1,    #0x726f
cw 0xd
call send_back  ; 52732 (0xcdfc)

lri $AR1,    #0x3bbe
lri $IX1,    #0x395e
lri $WR1,    #0xa015
cw 0xd
call send_back  ; 52733 (0xcdfd)

lri $AR1,    #0xbfb1
lri $IX1,    #0x6b80
lri $WR1,    #0xa806
cw 0xd
call send_back  ; 52734 (0xcdfe)

lri $AR1,    #0x864a
lri $IX1,    #0x0ff4
lri $WR1,    #0x74b1
cw 0xd
call send_back  ; 52735 (0xcdff)

lri $AR1,    #0x9113
lri $IX1,    #0x3160
lri $WR1,    #0xaec5
cw 0xd
call send_back  ; 52736 (0xce00)

lri $AR1,    #0x35e2
lri $IX1,    #0x88ae
lri $WR1,    #0x70d9
cw 0xd
call send_back  ; 52737 (0xce01)

lri $AR1,    #0xbf4c
lri $IX1,    #0x7dbc
lri $WR1,    #0x59d7
cw 0xd
call send_back  ; 52738 (0xce02)

lri $AR1,    #0x963a
lri $IX1,    #0x061a
lri $WR1,    #0xd13c
cw 0xd
call send_back  ; 52739 (0xce03)

lri $AR1,    #0x71f0
lri $IX1,    #0xe9a8
lri $WR1,    #0x85c6
cw 0xd
call send_back  ; 52740 (0xce04)

lri $AR1,    #0x674d
lri $IX1,    #0xac68
lri $WR1,    #0x888e
cw 0xd
call send_back  ; 52741 (0xce05)

lri $AR1,    #0x3f97
lri $IX1,    #0xe838
lri $WR1,    #0x442f
cw 0xd
call send_back  ; 52742 (0xce06)

lri $AR1,    #0xa2ab
lri $IX1,    #0x20fc
lri $WR1,    #0x50fa
cw 0xd
call send_back  ; 52743 (0xce07)

lri $AR1,    #0xb7dc
lri $IX1,    #0xf0c2
lri $WR1,    #0xace0
cw 0xd
call send_back  ; 52744 (0xce08)

lri $AR1,    #0x4c43
lri $IX1,    #0xb170
lri $WR1,    #0x8702
cw 0xd
call send_back  ; 52745 (0xce09)

lri $AR1,    #0xacec
lri $IX1,    #0x64a4
lri $WR1,    #0x7c8a
cw 0xd
call send_back  ; 52746 (0xce0a)

lri $AR1,    #0x96a0
lri $IX1,    #0x6a1e
lri $WR1,    #0x35e6
cw 0xd
call send_back  ; 52747 (0xce0b)

lri $AR1,    #0xc48d
lri $IX1,    #0x7892
lri $WR1,    #0x28dd
cw 0xd
call send_back  ; 52748 (0xce0c)

lri $AR1,    #0xa2bf
lri $IX1,    #0x2426
lri $WR1,    #0x3d97
cw 0xd
call send_back  ; 52749 (0xce0d)

lri $AR1,    #0xd8a0
lri $IX1,    #0xe960
lri $WR1,    #0x923b
cw 0xd
call send_back  ; 52750 (0xce0e)

lri $AR1,    #0xa34f
lri $IX1,    #0x12fa
lri $WR1,    #0x7a11
cw 0xd
call send_back  ; 52751 (0xce0f)

lri $AR1,    #0xaf31
lri $IX1,    #0xc43e
lri $WR1,    #0x7ad9
cw 0xd
call send_back  ; 52752 (0xce10)

lri $AR1,    #0x2b78
lri $IX1,    #0xd960
lri $WR1,    #0xd44c
cw 0xd
call send_back  ; 52753 (0xce11)

lri $AR1,    #0x91fa
lri $IX1,    #0x0a8a
lri $WR1,    #0xeb6c
cw 0xd
call send_back  ; 52754 (0xce12)

lri $AR1,    #0x7128
lri $IX1,    #0xae02
lri $WR1,    #0xa4a2
cw 0xd
call send_back  ; 52755 (0xce13)

lri $AR1,    #0x4d6e
lri $IX1,    #0x791a
lri $WR1,    #0x2d4d
cw 0xd
call send_back  ; 52756 (0xce14)

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