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

lri $AR1,    #0x72e2
lri $IX1,    #0x8c12
lri $WR1,    #0x15ef
cw 0x15
call send_back  ; 28618 (0x6fca)

lri $AR1,    #0x7210
lri $IX1,    #0x053c
lri $WR1,    #0x4a49
cw 0x15
call send_back  ; 28619 (0x6fcb)

lri $AR1,    #0x8599
lri $IX1,    #0xf6bc
lri $WR1,    #0x91af
cw 0x15
call send_back  ; 28620 (0x6fcc)

lri $AR1,    #0xbb83
lri $IX1,    #0xb6a4
lri $WR1,    #0x36ea
cw 0x15
call send_back  ; 28621 (0x6fcd)

lri $AR1,    #0x2c21
lri $IX1,    #0x8c32
lri $WR1,    #0x2773
cw 0x15
call send_back  ; 28622 (0x6fce)

lri $AR1,    #0xceed
lri $IX1,    #0xfb82
lri $WR1,    #0x8717
cw 0x15
call send_back  ; 28623 (0x6fcf)

lri $AR1,    #0xaa96
lri $IX1,    #0xb0ae
lri $WR1,    #0x0dc4
cw 0x15
call send_back  ; 28624 (0x6fd0)

lri $AR1,    #0xbb07
lri $IX1,    #0xb8fc
lri $WR1,    #0x5b98
cw 0x15
call send_back  ; 28625 (0x6fd1)

lri $AR1,    #0x27c2
lri $IX1,    #0xfd46
lri $WR1,    #0x3ca4
cw 0x15
call send_back  ; 28626 (0x6fd2)

lri $AR1,    #0xb850
lri $IX1,    #0x015e
lri $WR1,    #0x8797
cw 0x15
call send_back  ; 28627 (0x6fd3)

lri $AR1,    #0xbc29
lri $IX1,    #0xe894
lri $WR1,    #0x37be
cw 0x15
call send_back  ; 28628 (0x6fd4)

lri $AR1,    #0xb6d0
lri $IX1,    #0xc808
lri $WR1,    #0x7c88
cw 0x15
call send_back  ; 28629 (0x6fd5)

lri $AR1,    #0x7089
lri $IX1,    #0x83fc
lri $WR1,    #0x9607
cw 0x15
call send_back  ; 28630 (0x6fd6)

lri $AR1,    #0x6f63
lri $IX1,    #0xf5e8
lri $WR1,    #0x578d
cw 0x15
call send_back  ; 28631 (0x6fd7)

lri $AR1,    #0x33ef
lri $IX1,    #0x055c
lri $WR1,    #0x6eea
cw 0x15
call send_back  ; 28632 (0x6fd8)

lri $AR1,    #0x4081
lri $IX1,    #0xd67e
lri $WR1,    #0x7865
cw 0x15
call send_back  ; 28633 (0x6fd9)

lri $AR1,    #0x5131
lri $IX1,    #0x5548
lri $WR1,    #0x54f3
cw 0x15
call send_back  ; 28634 (0x6fda)

lri $AR1,    #0x9e84
lri $IX1,    #0x553e
lri $WR1,    #0x89d0
cw 0x15
call send_back  ; 28635 (0x6fdb)

lri $AR1,    #0x6bff
lri $IX1,    #0x59be
lri $WR1,    #0x85f1
cw 0x15
call send_back  ; 28636 (0x6fdc)

lri $AR1,    #0x5f75
lri $IX1,    #0x03a0
lri $WR1,    #0x6377
cw 0x15
call send_back  ; 28637 (0x6fdd)

lri $AR1,    #0x8d6a
lri $IX1,    #0x3564
lri $WR1,    #0x78a0
cw 0x15
call send_back  ; 28638 (0x6fde)

lri $AR1,    #0xaa4d
lri $IX1,    #0x5f86
lri $WR1,    #0x2d53
cw 0x15
call send_back  ; 28639 (0x6fdf)

lri $AR1,    #0xc7e7
lri $IX1,    #0x333a
lri $WR1,    #0x6fd1
cw 0x15
call send_back  ; 28640 (0x6fe0)

lri $AR1,    #0x51c2
lri $IX1,    #0x523c
lri $WR1,    #0x2c9a
cw 0x15
call send_back  ; 28641 (0x6fe1)

lri $AR1,    #0x7ae0
lri $IX1,    #0x96d6
lri $WR1,    #0x3b16
cw 0x15
call send_back  ; 28642 (0x6fe2)

lri $AR1,    #0xe28e
lri $IX1,    #0x5fec
lri $WR1,    #0x221f
cw 0x15
call send_back  ; 28643 (0x6fe3)

lri $AR1,    #0xbdaf
lri $IX1,    #0x0918
lri $WR1,    #0xcce3
cw 0x15
call send_back  ; 28644 (0x6fe4)

lri $AR1,    #0x2d34
lri $IX1,    #0x7f9e
lri $WR1,    #0xa243
cw 0x15
call send_back  ; 28645 (0x6fe5)

lri $AR1,    #0x7a34
lri $IX1,    #0xd968
lri $WR1,    #0xce39
cw 0x15
call send_back  ; 28646 (0x6fe6)

lri $AR1,    #0x934e
lri $IX1,    #0x13a6
lri $WR1,    #0x4e55
cw 0x15
call send_back  ; 28647 (0x6fe7)

lri $AR1,    #0xbed3
lri $IX1,    #0xcb66
lri $WR1,    #0xd7d3
cw 0x15
call send_back  ; 28648 (0x6fe8)

lri $AR1,    #0x6050
lri $IX1,    #0xfaa4
lri $WR1,    #0x577f
cw 0x15
call send_back  ; 28649 (0x6fe9)

lri $AR1,    #0xd001
lri $IX1,    #0xa92e
lri $WR1,    #0x78c5
cw 0x15
call send_back  ; 28650 (0x6fea)

lri $AR1,    #0x75d0
lri $IX1,    #0x30f4
lri $WR1,    #0xb32d
cw 0x15
call send_back  ; 28651 (0x6feb)

lri $AR1,    #0x814a
lri $IX1,    #0x51fe
lri $WR1,    #0x32ac
cw 0x15
call send_back  ; 28652 (0x6fec)

lri $AR1,    #0x9350
lri $IX1,    #0xfaae
lri $WR1,    #0x68f4
cw 0x15
call send_back  ; 28653 (0x6fed)

lri $AR1,    #0x5dd9
lri $IX1,    #0x7d82
lri $WR1,    #0x134d
cw 0x15
call send_back  ; 28654 (0x6fee)

lri $AR1,    #0x8188
lri $IX1,    #0x0e18
lri $WR1,    #0x61fa
cw 0x15
call send_back  ; 28655 (0x6fef)

lri $AR1,    #0xa882
lri $IX1,    #0xeb80
lri $WR1,    #0x93c9
cw 0x15
call send_back  ; 28656 (0x6ff0)

lri $AR1,    #0x692a
lri $IX1,    #0xb6a6
lri $WR1,    #0xa1df
cw 0x15
call send_back  ; 28657 (0x6ff1)

lri $AR1,    #0x3b47
lri $IX1,    #0x380c
lri $WR1,    #0xe53c
cw 0x15
call send_back  ; 28658 (0x6ff2)

lri $AR1,    #0x9d2a
lri $IX1,    #0x6864
lri $WR1,    #0x5125
cw 0x15
call send_back  ; 28659 (0x6ff3)

lri $AR1,    #0xce61
lri $IX1,    #0x0c50
lri $WR1,    #0x52e7
cw 0x15
call send_back  ; 28660 (0x6ff4)

lri $AR1,    #0xa08a
lri $IX1,    #0xbbfe
lri $WR1,    #0x8116
cw 0x15
call send_back  ; 28661 (0x6ff5)

lri $AR1,    #0xaecc
lri $IX1,    #0xe3b6
lri $WR1,    #0x61d6
cw 0x15
call send_back  ; 28662 (0x6ff6)

lri $AR1,    #0x2f9e
lri $IX1,    #0x4b2a
lri $WR1,    #0x912f
cw 0x15
call send_back  ; 28663 (0x6ff7)

lri $AR1,    #0xec47
lri $IX1,    #0x1da2
lri $WR1,    #0x560f
cw 0x15
call send_back  ; 28664 (0x6ff8)

lri $AR1,    #0x94d4
lri $IX1,    #0x65ae
lri $WR1,    #0x9e05
cw 0x15
call send_back  ; 28665 (0x6ff9)

lri $AR1,    #0x86e3
lri $IX1,    #0x93b2
lri $WR1,    #0xc535
cw 0x15
call send_back  ; 28666 (0x6ffa)

lri $AR1,    #0x9102
lri $IX1,    #0x16ca
lri $WR1,    #0xe1b0
cw 0x15
call send_back  ; 28667 (0x6ffb)

lri $AR1,    #0xa407
lri $IX1,    #0x6c6c
lri $WR1,    #0xdead
cw 0x15
call send_back  ; 28668 (0x6ffc)

lri $AR1,    #0x9f24
lri $IX1,    #0x733a
lri $WR1,    #0x6db2
cw 0x15
call send_back  ; 28669 (0x6ffd)

lri $AR1,    #0xd2fd
lri $IX1,    #0x627c
lri $WR1,    #0x914d
cw 0x15
call send_back  ; 28670 (0x6ffe)

lri $AR1,    #0x5baf
lri $IX1,    #0xa7aa
lri $WR1,    #0x265b
cw 0x15
call send_back  ; 28671 (0x6fff)

lri $AR1,    #0x68f3
lri $IX1,    #0x386c
lri $WR1,    #0x367e
cw 0x15
call send_back  ; 28672 (0x7000)

lri $AR1,    #0x5750
lri $IX1,    #0xbfac
lri $WR1,    #0x67ba
cw 0x15
call send_back  ; 28673 (0x7001)

lri $AR1,    #0x7c87
lri $IX1,    #0x90da
lri $WR1,    #0xeae9
cw 0x15
call send_back  ; 28674 (0x7002)

lri $AR1,    #0x9d36
lri $IX1,    #0x9d36
lri $WR1,    #0xbbf9
cw 0x15
call send_back  ; 28675 (0x7003)

lri $AR1,    #0x88cf
lri $IX1,    #0xe32e
lri $WR1,    #0x3c9a
cw 0x15
call send_back  ; 28676 (0x7004)

lri $AR1,    #0xb4e1
lri $IX1,    #0x1894
lri $WR1,    #0x8b52
cw 0x15
call send_back  ; 28677 (0x7005)

lri $AR1,    #0xbfe1
lri $IX1,    #0xc4d6
lri $WR1,    #0xd6ab
cw 0x15
call send_back  ; 28678 (0x7006)

lri $AR1,    #0x6760
lri $IX1,    #0xc0e4
lri $WR1,    #0xad6b
cw 0x15
call send_back  ; 28679 (0x7007)

lri $AR1,    #0x94db
lri $IX1,    #0x3efe
lri $WR1,    #0xd26f
cw 0x15
call send_back  ; 28680 (0x7008)

lri $AR1,    #0x901d
lri $IX1,    #0x350c
lri $WR1,    #0x4447
cw 0x15
call send_back  ; 28681 (0x7009)

lri $AR1,    #0x8566
lri $IX1,    #0x68c4
lri $WR1,    #0x5612
cw 0x15
call send_back  ; 28682 (0x700a)

lri $AR1,    #0x412b
lri $IX1,    #0x8d34
lri $WR1,    #0xc8aa
cw 0x15
call send_back  ; 28683 (0x700b)

lri $AR1,    #0x2aca
lri $IX1,    #0xfdf6
lri $WR1,    #0xa8c6
cw 0x15
call send_back  ; 28684 (0x700c)

lri $AR1,    #0x8301
lri $IX1,    #0xccb8
lri $WR1,    #0xb000
cw 0x15
call send_back  ; 28685 (0x700d)

lri $AR1,    #0x9a69
lri $IX1,    #0x2a42
lri $WR1,    #0x646d
cw 0x15
call send_back  ; 28686 (0x700e)

lri $AR1,    #0xf7d0
lri $IX1,    #0xd4a8
lri $WR1,    #0x93c7
cw 0x15
call send_back  ; 28687 (0x700f)

lri $AR1,    #0x9dcd
lri $IX1,    #0x40f4
lri $WR1,    #0x6cbd
cw 0x15
call send_back  ; 28688 (0x7010)

lri $AR1,    #0xaa41
lri $IX1,    #0xcebe
lri $WR1,    #0x4278
cw 0x15
call send_back  ; 28689 (0x7011)

lri $AR1,    #0x4a32
lri $IX1,    #0x9930
lri $WR1,    #0x53ea
cw 0x15
call send_back  ; 28690 (0x7012)

lri $AR1,    #0x4fc1
lri $IX1,    #0x88d2
lri $WR1,    #0xa1ed
cw 0x15
call send_back  ; 28691 (0x7013)

lri $AR1,    #0x7f89
lri $IX1,    #0x46a0
lri $WR1,    #0xd4cc
cw 0x15
call send_back  ; 28692 (0x7014)

lri $AR1,    #0xc648
lri $IX1,    #0xb8d4
lri $WR1,    #0xcb46
cw 0x15
call send_back  ; 28693 (0x7015)

lri $AR1,    #0x5705
lri $IX1,    #0xe6ba
lri $WR1,    #0x8a8b
cw 0x15
call send_back  ; 28694 (0x7016)

lri $AR1,    #0x95a4
lri $IX1,    #0xa144
lri $WR1,    #0x485a
cw 0x15
call send_back  ; 28695 (0x7017)

lri $AR1,    #0x891e
lri $IX1,    #0x3a6c
lri $WR1,    #0x8dc2
cw 0x15
call send_back  ; 28696 (0x7018)

lri $AR1,    #0xbc3b
lri $IX1,    #0x0e30
lri $WR1,    #0x5a97
cw 0x15
call send_back  ; 28697 (0x7019)

lri $AR1,    #0x531c
lri $IX1,    #0xc458
lri $WR1,    #0x9f2b
cw 0x15
call send_back  ; 28698 (0x701a)

lri $AR1,    #0x8f5b
lri $IX1,    #0x229e
lri $WR1,    #0xb36a
cw 0x15
call send_back  ; 28699 (0x701b)

lri $AR1,    #0x6420
lri $IX1,    #0x238c
lri $WR1,    #0x87c6
cw 0x15
call send_back  ; 28700 (0x701c)

lri $AR1,    #0x76f7
lri $IX1,    #0xee96
lri $WR1,    #0x862e
cw 0x15
call send_back  ; 28701 (0x701d)

lri $AR1,    #0x59a9
lri $IX1,    #0x62c0
lri $WR1,    #0xd67f
cw 0x15
call send_back  ; 28702 (0x701e)

lri $AR1,    #0x4cfc
lri $IX1,    #0x4586
lri $WR1,    #0x5b8d
cw 0x15
call send_back  ; 28703 (0x701f)

lri $AR1,    #0x539f
lri $IX1,    #0xf404
lri $WR1,    #0x2358
cw 0x15
call send_back  ; 28704 (0x7020)

lri $AR1,    #0xa80f
lri $IX1,    #0xcd4e
lri $WR1,    #0x8e6c
cw 0x15
call send_back  ; 28705 (0x7021)

lri $AR1,    #0xa7d7
lri $IX1,    #0x90fc
lri $WR1,    #0x8010
cw 0x15
call send_back  ; 28706 (0x7022)

lri $AR1,    #0x59da
lri $IX1,    #0xbda8
lri $WR1,    #0x5a4e
cw 0x15
call send_back  ; 28707 (0x7023)

lri $AR1,    #0x3d20
lri $IX1,    #0xb798
lri $WR1,    #0xbe4e
cw 0x15
call send_back  ; 28708 (0x7024)

lri $AR1,    #0x68d0
lri $IX1,    #0x482a
lri $WR1,    #0x6343
cw 0x15
call send_back  ; 28709 (0x7025)

lri $AR1,    #0x95c6
lri $IX1,    #0xfb52
lri $WR1,    #0xb343
cw 0x15
call send_back  ; 28710 (0x7026)

lri $AR1,    #0x4d7b
lri $IX1,    #0x20bc
lri $WR1,    #0x9f4b
cw 0x15
call send_back  ; 28711 (0x7027)

lri $AR1,    #0x91a2
lri $IX1,    #0xe2da
lri $WR1,    #0xa0d9
cw 0x15
call send_back  ; 28712 (0x7028)

lri $AR1,    #0x3b3e
lri $IX1,    #0x1e86
lri $WR1,    #0x8942
cw 0x15
call send_back  ; 28713 (0x7029)

lri $AR1,    #0x6f93
lri $IX1,    #0x8a58
lri $WR1,    #0xec52
cw 0x15
call send_back  ; 28714 (0x702a)

lri $AR1,    #0xbca1
lri $IX1,    #0x6d7c
lri $WR1,    #0x8541
cw 0x15
call send_back  ; 28715 (0x702b)

lri $AR1,    #0x969a
lri $IX1,    #0xc222
lri $WR1,    #0xca7e
cw 0x15
call send_back  ; 28716 (0x702c)

lri $AR1,    #0x6b16
lri $IX1,    #0x4842
lri $WR1,    #0x5e8d
cw 0x15
call send_back  ; 28717 (0x702d)

lri $AR1,    #0x2e50
lri $IX1,    #0xe1ec
lri $WR1,    #0x8952
cw 0x15
call send_back  ; 28718 (0x702e)

lri $AR1,    #0x8a43
lri $IX1,    #0xb2b2
lri $WR1,    #0xc6fe
cw 0x15
call send_back  ; 28719 (0x702f)

lri $AR1,    #0x8ef8
lri $IX1,    #0x088e
lri $WR1,    #0x9f1e
cw 0x15
call send_back  ; 28720 (0x7030)

lri $AR1,    #0xcecb
lri $IX1,    #0x2cc8
lri $WR1,    #0x3fe3
cw 0x15
call send_back  ; 28721 (0x7031)

lri $AR1,    #0x9105
lri $IX1,    #0x002e
lri $WR1,    #0xa72d
cw 0x15
call send_back  ; 28722 (0x7032)

lri $AR1,    #0x9892
lri $IX1,    #0xd628
lri $WR1,    #0x546e
cw 0x15
call send_back  ; 28723 (0x7033)

lri $AR1,    #0x4422
lri $IX1,    #0x7f06
lri $WR1,    #0x73f0
cw 0x15
call send_back  ; 28724 (0x7034)

lri $AR1,    #0x688a
lri $IX1,    #0xfa0a
lri $WR1,    #0x8d98
cw 0x15
call send_back  ; 28725 (0x7035)

lri $AR1,    #0x95b6
lri $IX1,    #0xfc8c
lri $WR1,    #0xdea6
cw 0x15
call send_back  ; 28726 (0x7036)

lri $AR1,    #0xd9f6
lri $IX1,    #0x7bb8
lri $WR1,    #0x878f
cw 0x15
call send_back  ; 28727 (0x7037)

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