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

lri $AR1,    #0x5b6c
lri $IX1,    #0x01ce
lri $WR1,    #0xe0c2
cw 0x15
call send_back  ; 61604 (0xf0a4)

lri $AR1,    #0x7a94
lri $IX1,    #0xb258
lri $WR1,    #0x287f
cw 0x15
call send_back  ; 61605 (0xf0a5)

lri $AR1,    #0x8598
lri $IX1,    #0xc91c
lri $WR1,    #0x1334
cw 0x15
call send_back  ; 61606 (0xf0a6)

lri $AR1,    #0xc3a1
lri $IX1,    #0x72b8
lri $WR1,    #0x20b5
cw 0x15
call send_back  ; 61607 (0xf0a7)

lri $AR1,    #0xf52a
lri $IX1,    #0x6c76
lri $WR1,    #0xbaff
cw 0x15
call send_back  ; 61608 (0xf0a8)

lri $AR1,    #0xe628
lri $IX1,    #0x10e0
lri $WR1,    #0x2483
cw 0x15
call send_back  ; 61609 (0xf0a9)

lri $AR1,    #0x1de5
lri $IX1,    #0x6c24
lri $WR1,    #0x29ca
cw 0x15
call send_back  ; 61610 (0xf0aa)

lri $AR1,    #0x7e90
lri $IX1,    #0xd7e2
lri $WR1,    #0x3563
cw 0x15
call send_back  ; 61611 (0xf0ab)

lri $AR1,    #0xcda6
lri $IX1,    #0x3a9c
lri $WR1,    #0xbac0
cw 0x15
call send_back  ; 61612 (0xf0ac)

lri $AR1,    #0x9a2d
lri $IX1,    #0xaf80
lri $WR1,    #0x65fc
cw 0x15
call send_back  ; 61613 (0xf0ad)

lri $AR1,    #0x24e9
lri $IX1,    #0x2fb2
lri $WR1,    #0x7c38
cw 0x15
call send_back  ; 61614 (0xf0ae)

lri $AR1,    #0x3284
lri $IX1,    #0xf6b6
lri $WR1,    #0xb982
cw 0x15
call send_back  ; 61615 (0xf0af)

lri $AR1,    #0x66d1
lri $IX1,    #0xe85e
lri $WR1,    #0x9ee2
cw 0x15
call send_back  ; 61616 (0xf0b0)

lri $AR1,    #0x5418
lri $IX1,    #0x56a2
lri $WR1,    #0x6ca6
cw 0x15
call send_back  ; 61617 (0xf0b1)

lri $AR1,    #0xa8af
lri $IX1,    #0x4ae6
lri $WR1,    #0x5269
cw 0x15
call send_back  ; 61618 (0xf0b2)

lri $AR1,    #0xb8ac
lri $IX1,    #0x0606
lri $WR1,    #0x8ff9
cw 0x15
call send_back  ; 61619 (0xf0b3)

lri $AR1,    #0x690e
lri $IX1,    #0xe7a4
lri $WR1,    #0xb79e
cw 0x15
call send_back  ; 61620 (0xf0b4)

lri $AR1,    #0x9d13
lri $IX1,    #0x753a
lri $WR1,    #0x5bd7
cw 0x15
call send_back  ; 61621 (0xf0b5)

lri $AR1,    #0x9637
lri $IX1,    #0xee2e
lri $WR1,    #0x9020
cw 0x15
call send_back  ; 61622 (0xf0b6)

lri $AR1,    #0x9a72
lri $IX1,    #0xdaa6
lri $WR1,    #0x25cc
cw 0x15
call send_back  ; 61623 (0xf0b7)

lri $AR1,    #0x8c3d
lri $IX1,    #0x6f1e
lri $WR1,    #0xd384
cw 0x15
call send_back  ; 61624 (0xf0b8)

lri $AR1,    #0x4b06
lri $IX1,    #0x97bc
lri $WR1,    #0x5f7e
cw 0x15
call send_back  ; 61625 (0xf0b9)

lri $AR1,    #0x927e
lri $IX1,    #0x223e
lri $WR1,    #0x51fa
cw 0x15
call send_back  ; 61626 (0xf0ba)

lri $AR1,    #0x8274
lri $IX1,    #0xee72
lri $WR1,    #0x8713
cw 0x15
call send_back  ; 61627 (0xf0bb)

lri $AR1,    #0xe0b4
lri $IX1,    #0x6946
lri $WR1,    #0x8c79
cw 0x15
call send_back  ; 61628 (0xf0bc)

lri $AR1,    #0xe18c
lri $IX1,    #0xff30
lri $WR1,    #0x711d
cw 0x15
call send_back  ; 61629 (0xf0bd)

lri $AR1,    #0xb375
lri $IX1,    #0xc710
lri $WR1,    #0x6a67
cw 0x15
call send_back  ; 61630 (0xf0be)

lri $AR1,    #0x8d8d
lri $IX1,    #0x8752
lri $WR1,    #0xd400
cw 0x15
call send_back  ; 61631 (0xf0bf)

lri $AR1,    #0x7840
lri $IX1,    #0x8358
lri $WR1,    #0x74be
cw 0x15
call send_back  ; 61632 (0xf0c0)

lri $AR1,    #0x52f7
lri $IX1,    #0x581c
lri $WR1,    #0x7cd5
cw 0x15
call send_back  ; 61633 (0xf0c1)

lri $AR1,    #0x1906
lri $IX1,    #0xb2ea
lri $WR1,    #0xbeb5
cw 0x15
call send_back  ; 61634 (0xf0c2)

lri $AR1,    #0x7bca
lri $IX1,    #0xfe32
lri $WR1,    #0x95db
cw 0x15
call send_back  ; 61635 (0xf0c3)

lri $AR1,    #0x6f2a
lri $IX1,    #0x5c5e
lri $WR1,    #0xa3ea
cw 0x15
call send_back  ; 61636 (0xf0c4)

lri $AR1,    #0xa155
lri $IX1,    #0x9192
lri $WR1,    #0x6658
cw 0x15
call send_back  ; 61637 (0xf0c5)

lri $AR1,    #0xe613
lri $IX1,    #0xf156
lri $WR1,    #0x8407
cw 0x15
call send_back  ; 61638 (0xf0c6)

lri $AR1,    #0xc176
lri $IX1,    #0x2608
lri $WR1,    #0x7405
cw 0x15
call send_back  ; 61639 (0xf0c7)

lri $AR1,    #0x552e
lri $IX1,    #0xd428
lri $WR1,    #0xa3ec
cw 0x15
call send_back  ; 61640 (0xf0c8)

lri $AR1,    #0xdf6a
lri $IX1,    #0xd42c
lri $WR1,    #0x6df5
cw 0x15
call send_back  ; 61641 (0xf0c9)

lri $AR1,    #0x9979
lri $IX1,    #0x2228
lri $WR1,    #0xdc57
cw 0x15
call send_back  ; 61642 (0xf0ca)

lri $AR1,    #0x7810
lri $IX1,    #0xd2d4
lri $WR1,    #0x48fa
cw 0x15
call send_back  ; 61643 (0xf0cb)

lri $AR1,    #0xf684
lri $IX1,    #0x7a4e
lri $WR1,    #0x3e0a
cw 0x15
call send_back  ; 61644 (0xf0cc)

lri $AR1,    #0x91b3
lri $IX1,    #0x990e
lri $WR1,    #0x7590
cw 0x15
call send_back  ; 61645 (0xf0cd)

lri $AR1,    #0xc706
lri $IX1,    #0xf87a
lri $WR1,    #0x5378
cw 0x15
call send_back  ; 61646 (0xf0ce)

lri $AR1,    #0xaf50
lri $IX1,    #0x809a
lri $WR1,    #0x9748
cw 0x15
call send_back  ; 61647 (0xf0cf)

lri $AR1,    #0x84d9
lri $IX1,    #0x1d2c
lri $WR1,    #0x27e6
cw 0x15
call send_back  ; 61648 (0xf0d0)

lri $AR1,    #0x6f63
lri $IX1,    #0xe0e0
lri $WR1,    #0xa5a8
cw 0x15
call send_back  ; 61649 (0xf0d1)

lri $AR1,    #0xb087
lri $IX1,    #0xd9b4
lri $WR1,    #0x3c17
cw 0x15
call send_back  ; 61650 (0xf0d2)

lri $AR1,    #0x9e27
lri $IX1,    #0x1a68
lri $WR1,    #0x5e9a
cw 0x15
call send_back  ; 61651 (0xf0d3)

lri $AR1,    #0xa053
lri $IX1,    #0x78ee
lri $WR1,    #0x9076
cw 0x15
call send_back  ; 61652 (0xf0d4)

lri $AR1,    #0x0367
lri $IX1,    #0x8ad2
lri $WR1,    #0x7251
cw 0x15
call send_back  ; 61653 (0xf0d5)

lri $AR1,    #0xbebe
lri $IX1,    #0x9c80
lri $WR1,    #0x6cb7
cw 0x15
call send_back  ; 61654 (0xf0d6)

lri $AR1,    #0xb3bd
lri $IX1,    #0xe152
lri $WR1,    #0x50b1
cw 0x15
call send_back  ; 61655 (0xf0d7)

lri $AR1,    #0x4091
lri $IX1,    #0x0684
lri $WR1,    #0x8d08
cw 0x15
call send_back  ; 61656 (0xf0d8)

lri $AR1,    #0xad62
lri $IX1,    #0xcba0
lri $WR1,    #0x8038
cw 0x15
call send_back  ; 61657 (0xf0d9)

lri $AR1,    #0x5a64
lri $IX1,    #0x67d0
lri $WR1,    #0x5cb2
cw 0x15
call send_back  ; 61658 (0xf0da)

lri $AR1,    #0x8873
lri $IX1,    #0x7378
lri $WR1,    #0x6666
cw 0x15
call send_back  ; 61659 (0xf0db)

lri $AR1,    #0x7da9
lri $IX1,    #0xeaa2
lri $WR1,    #0x6644
cw 0x15
call send_back  ; 61660 (0xf0dc)

lri $AR1,    #0x82b3
lri $IX1,    #0xc48c
lri $WR1,    #0x69a3
cw 0x15
call send_back  ; 61661 (0xf0dd)

lri $AR1,    #0x252d
lri $IX1,    #0xb1e0
lri $WR1,    #0x213b
cw 0x15
call send_back  ; 61662 (0xf0de)

lri $AR1,    #0x2edf
lri $IX1,    #0xf300
lri $WR1,    #0xd4ab
cw 0x15
call send_back  ; 61663 (0xf0df)

lri $AR1,    #0x3929
lri $IX1,    #0x04ca
lri $WR1,    #0x4529
cw 0x15
call send_back  ; 61664 (0xf0e0)

lri $AR1,    #0x8f6c
lri $IX1,    #0x3a60
lri $WR1,    #0xe370
cw 0x15
call send_back  ; 61665 (0xf0e1)

lri $AR1,    #0x92c2
lri $IX1,    #0x5f36
lri $WR1,    #0xca5e
cw 0x15
call send_back  ; 61666 (0xf0e2)

lri $AR1,    #0x64d3
lri $IX1,    #0x4d16
lri $WR1,    #0x6188
cw 0x15
call send_back  ; 61667 (0xf0e3)

lri $AR1,    #0xa717
lri $IX1,    #0x1e44
lri $WR1,    #0xc010
cw 0x15
call send_back  ; 61668 (0xf0e4)

lri $AR1,    #0x775a
lri $IX1,    #0x6c6c
lri $WR1,    #0x4212
cw 0x15
call send_back  ; 61669 (0xf0e5)

lri $AR1,    #0x61c6
lri $IX1,    #0x019c
lri $WR1,    #0xa000
cw 0x15
call send_back  ; 61670 (0xf0e6)

lri $AR1,    #0xa457
lri $IX1,    #0xa0f2
lri $WR1,    #0x991f
cw 0x15
call send_back  ; 61671 (0xf0e7)

lri $AR1,    #0xb6f3
lri $IX1,    #0x3920
lri $WR1,    #0xc7a6
cw 0x15
call send_back  ; 61672 (0xf0e8)

lri $AR1,    #0x7700
lri $IX1,    #0x0b8a
lri $WR1,    #0xde98
cw 0x15
call send_back  ; 61673 (0xf0e9)

lri $AR1,    #0x74d2
lri $IX1,    #0x3726
lri $WR1,    #0xbed9
cw 0x15
call send_back  ; 61674 (0xf0ea)

lri $AR1,    #0x94ac
lri $IX1,    #0xc6d0
lri $WR1,    #0xe2a8
cw 0x15
call send_back  ; 61675 (0xf0eb)

lri $AR1,    #0x5cb1
lri $IX1,    #0xff34
lri $WR1,    #0x73f3
cw 0x15
call send_back  ; 61676 (0xf0ec)

lri $AR1,    #0xc49c
lri $IX1,    #0x511c
lri $WR1,    #0xdba6
cw 0x15
call send_back  ; 61677 (0xf0ed)

lri $AR1,    #0x8b7b
lri $IX1,    #0x2930
lri $WR1,    #0x957f
cw 0x15
call send_back  ; 61678 (0xf0ee)

lri $AR1,    #0xdb49
lri $IX1,    #0xf6f6
lri $WR1,    #0x7577
cw 0x15
call send_back  ; 61679 (0xf0ef)

lri $AR1,    #0xb9c1
lri $IX1,    #0x5122
lri $WR1,    #0x3158
cw 0x15
call send_back  ; 61680 (0xf0f0)

lri $AR1,    #0xd122
lri $IX1,    #0x360c
lri $WR1,    #0x4a7b
cw 0x15
call send_back  ; 61681 (0xf0f1)

lri $AR1,    #0x5b47
lri $IX1,    #0x2b5e
lri $WR1,    #0xc15b
cw 0x15
call send_back  ; 61682 (0xf0f2)

lri $AR1,    #0x4cde
lri $IX1,    #0x90b0
lri $WR1,    #0xadf3
cw 0x15
call send_back  ; 61683 (0xf0f3)

lri $AR1,    #0xa608
lri $IX1,    #0xf54e
lri $WR1,    #0xcd8a
cw 0x15
call send_back  ; 61684 (0xf0f4)

lri $AR1,    #0x693d
lri $IX1,    #0xc9cc
lri $WR1,    #0x2feb
cw 0x15
call send_back  ; 61685 (0xf0f5)

lri $AR1,    #0x88bc
lri $IX1,    #0x7a9c
lri $WR1,    #0x4bb2
cw 0x15
call send_back  ; 61686 (0xf0f6)

lri $AR1,    #0x7e55
lri $IX1,    #0x0158
lri $WR1,    #0xc29f
cw 0x15
call send_back  ; 61687 (0xf0f7)

lri $AR1,    #0x98e5
lri $IX1,    #0x66ec
lri $WR1,    #0x6499
cw 0x15
call send_back  ; 61688 (0xf0f8)

lri $AR1,    #0xb652
lri $IX1,    #0xa956
lri $WR1,    #0xe964
cw 0x15
call send_back  ; 61689 (0xf0f9)

lri $AR1,    #0x8053
lri $IX1,    #0x1c1c
lri $WR1,    #0x469e
cw 0x15
call send_back  ; 61690 (0xf0fa)

lri $AR1,    #0xb5cc
lri $IX1,    #0xcb48
lri $WR1,    #0xd912
cw 0x15
call send_back  ; 61691 (0xf0fb)

lri $AR1,    #0x722e
lri $IX1,    #0xc4f2
lri $WR1,    #0x2deb
cw 0x15
call send_back  ; 61692 (0xf0fc)

lri $AR1,    #0x9f7e
lri $IX1,    #0x962a
lri $WR1,    #0x71ea
cw 0x15
call send_back  ; 61693 (0xf0fd)

lri $AR1,    #0xaf7d
lri $IX1,    #0xdc5c
lri $WR1,    #0x4a14
cw 0x15
call send_back  ; 61694 (0xf0fe)

lri $AR1,    #0x3b9c
lri $IX1,    #0xace8
lri $WR1,    #0x7aff
cw 0x15
call send_back  ; 61695 (0xf0ff)

lri $AR1,    #0xa331
lri $IX1,    #0xe120
lri $WR1,    #0xa942
cw 0x15
call send_back  ; 61696 (0xf100)

lri $AR1,    #0x0a95
lri $IX1,    #0x2d54
lri $WR1,    #0x871b
cw 0x15
call send_back  ; 61697 (0xf101)

lri $AR1,    #0x9da6
lri $IX1,    #0x6e1e
lri $WR1,    #0x50dd
cw 0x15
call send_back  ; 61698 (0xf102)

lri $AR1,    #0x8b57
lri $IX1,    #0xe7a4
lri $WR1,    #0x6b2e
cw 0x15
call send_back  ; 61699 (0xf103)

lri $AR1,    #0xb7b4
lri $IX1,    #0x6efe
lri $WR1,    #0xabb3
cw 0x15
call send_back  ; 61700 (0xf104)

lri $AR1,    #0x7d21
lri $IX1,    #0xbe66
lri $WR1,    #0x2e2d
cw 0x15
call send_back  ; 61701 (0xf105)

lri $AR1,    #0x652f
lri $IX1,    #0xa970
lri $WR1,    #0xf59e
cw 0x15
call send_back  ; 61702 (0xf106)

lri $AR1,    #0x64c3
lri $IX1,    #0xa6f4
lri $WR1,    #0x5a81
cw 0x15
call send_back  ; 61703 (0xf107)

lri $AR1,    #0x3ef7
lri $IX1,    #0x52dc
lri $WR1,    #0x4caf
cw 0x15
call send_back  ; 61704 (0xf108)

lri $AR1,    #0x1d69
lri $IX1,    #0x4276
lri $WR1,    #0x98ec
cw 0x15
call send_back  ; 61705 (0xf109)

lri $AR1,    #0x8c75
lri $IX1,    #0xeaa2
lri $WR1,    #0x8fd1
cw 0x15
call send_back  ; 61706 (0xf10a)

lri $AR1,    #0x3ce3
lri $IX1,    #0x8754
lri $WR1,    #0x7cf1
cw 0x15
call send_back  ; 61707 (0xf10b)

lri $AR1,    #0x94ad
lri $IX1,    #0x10d0
lri $WR1,    #0x32fb
cw 0x15
call send_back  ; 61708 (0xf10c)

lri $AR1,    #0x9369
lri $IX1,    #0x732a
lri $WR1,    #0x6abe
cw 0x15
call send_back  ; 61709 (0xf10d)

lri $AR1,    #0xbec5
lri $IX1,    #0x9152
lri $WR1,    #0xb0ca
cw 0x15
call send_back  ; 61710 (0xf10e)

lri $AR1,    #0x8eeb
lri $IX1,    #0x3d4a
lri $WR1,    #0xfe91
cw 0x15
call send_back  ; 61711 (0xf10f)

lri $AR1,    #0x8a08
lri $IX1,    #0x5bba
lri $WR1,    #0xc1b7
cw 0x15
call send_back  ; 61712 (0xf110)

lri $AR1,    #0x49d4
lri $IX1,    #0x01aa
lri $WR1,    #0x5da0
cw 0x15
call send_back  ; 61713 (0xf111)

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