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

lri $AR1,    #0x8380
lri $IX1,    #0x6c8a
lri $WR1,    #0x30a0
cw 0xd
call send_back  ; 8630 (0x21b6)

lri $AR1,    #0xcae3
lri $IX1,    #0x163e
lri $WR1,    #0xa18a
cw 0xd
call send_back  ; 8631 (0x21b7)

lri $AR1,    #0x3fa7
lri $IX1,    #0x904a
lri $WR1,    #0xdb75
cw 0xd
call send_back  ; 8632 (0x21b8)

lri $AR1,    #0x7394
lri $IX1,    #0x23a0
lri $WR1,    #0x754e
cw 0xd
call send_back  ; 8633 (0x21b9)

lri $AR1,    #0xbeef
lri $IX1,    #0x73de
lri $WR1,    #0x134f
cw 0xd
call send_back  ; 8634 (0x21ba)

lri $AR1,    #0x6e62
lri $IX1,    #0xa4ca
lri $WR1,    #0x76ca
cw 0xd
call send_back  ; 8635 (0x21bb)

lri $AR1,    #0xbace
lri $IX1,    #0xc54e
lri $WR1,    #0xa9e7
cw 0xd
call send_back  ; 8636 (0x21bc)

lri $AR1,    #0x57db
lri $IX1,    #0x530e
lri $WR1,    #0x6d4f
cw 0xd
call send_back  ; 8637 (0x21bd)

lri $AR1,    #0x559d
lri $IX1,    #0x157e
lri $WR1,    #0xcb63
cw 0xd
call send_back  ; 8638 (0x21be)

lri $AR1,    #0x9505
lri $IX1,    #0xaed2
lri $WR1,    #0x5600
cw 0xd
call send_back  ; 8639 (0x21bf)

lri $AR1,    #0x869b
lri $IX1,    #0xf476
lri $WR1,    #0x797a
cw 0xd
call send_back  ; 8640 (0x21c0)

lri $AR1,    #0xb61b
lri $IX1,    #0x4892
lri $WR1,    #0x58b8
cw 0xd
call send_back  ; 8641 (0x21c1)

lri $AR1,    #0xa575
lri $IX1,    #0xa928
lri $WR1,    #0x3426
cw 0xd
call send_back  ; 8642 (0x21c2)

lri $AR1,    #0x8cde
lri $IX1,    #0xd968
lri $WR1,    #0x4e75
cw 0xd
call send_back  ; 8643 (0x21c3)

lri $AR1,    #0x9d54
lri $IX1,    #0xccbc
lri $WR1,    #0x77c4
cw 0xd
call send_back  ; 8644 (0x21c4)

lri $AR1,    #0xbe5c
lri $IX1,    #0x331a
lri $WR1,    #0xc13d
cw 0xd
call send_back  ; 8645 (0x21c5)

lri $AR1,    #0xcf5a
lri $IX1,    #0x9150
lri $WR1,    #0xb8bd
cw 0xd
call send_back  ; 8646 (0x21c6)

lri $AR1,    #0x9836
lri $IX1,    #0x8f98
lri $WR1,    #0x4d89
cw 0xd
call send_back  ; 8647 (0x21c7)

lri $AR1,    #0xacb7
lri $IX1,    #0xfc4e
lri $WR1,    #0x84b2
cw 0xd
call send_back  ; 8648 (0x21c8)

lri $AR1,    #0xf165
lri $IX1,    #0x480e
lri $WR1,    #0xcd2c
cw 0xd
call send_back  ; 8649 (0x21c9)

lri $AR1,    #0x9026
lri $IX1,    #0xdc22
lri $WR1,    #0x7122
cw 0xd
call send_back  ; 8650 (0x21ca)

lri $AR1,    #0x5e8b
lri $IX1,    #0x7b64
lri $WR1,    #0xb3b7
cw 0xd
call send_back  ; 8651 (0x21cb)

lri $AR1,    #0x5efc
lri $IX1,    #0xc194
lri $WR1,    #0x7f8f
cw 0xd
call send_back  ; 8652 (0x21cc)

lri $AR1,    #0x81b1
lri $IX1,    #0xac4c
lri $WR1,    #0x8468
cw 0xd
call send_back  ; 8653 (0x21cd)

lri $AR1,    #0x79ac
lri $IX1,    #0xc482
lri $WR1,    #0x9f2a
cw 0xd
call send_back  ; 8654 (0x21ce)

lri $AR1,    #0xbd97
lri $IX1,    #0xdec6
lri $WR1,    #0x498f
cw 0xd
call send_back  ; 8655 (0x21cf)

lri $AR1,    #0x83d0
lri $IX1,    #0x5c30
lri $WR1,    #0x73f8
cw 0xd
call send_back  ; 8656 (0x21d0)

lri $AR1,    #0x9475
lri $IX1,    #0x3d2a
lri $WR1,    #0x7571
cw 0xd
call send_back  ; 8657 (0x21d1)

lri $AR1,    #0x8bb4
lri $IX1,    #0x130c
lri $WR1,    #0x8b7e
cw 0xd
call send_back  ; 8658 (0x21d2)

lri $AR1,    #0x7a4a
lri $IX1,    #0xccb0
lri $WR1,    #0x94ba
cw 0xd
call send_back  ; 8659 (0x21d3)

lri $AR1,    #0x195a
lri $IX1,    #0x5dfa
lri $WR1,    #0x26e5
cw 0xd
call send_back  ; 8660 (0x21d4)

lri $AR1,    #0x629d
lri $IX1,    #0x3978
lri $WR1,    #0xba5b
cw 0xd
call send_back  ; 8661 (0x21d5)

lri $AR1,    #0x2d03
lri $IX1,    #0x5f14
lri $WR1,    #0x42a3
cw 0xd
call send_back  ; 8662 (0x21d6)

lri $AR1,    #0xd1cb
lri $IX1,    #0x420e
lri $WR1,    #0x8cfa
cw 0xd
call send_back  ; 8663 (0x21d7)

lri $AR1,    #0xb538
lri $IX1,    #0xdc00
lri $WR1,    #0x83a4
cw 0xd
call send_back  ; 8664 (0x21d8)

lri $AR1,    #0xb9cc
lri $IX1,    #0xca78
lri $WR1,    #0x5dd5
cw 0xd
call send_back  ; 8665 (0x21d9)

lri $AR1,    #0x8451
lri $IX1,    #0x2fa8
lri $WR1,    #0x31f3
cw 0xd
call send_back  ; 8666 (0x21da)

lri $AR1,    #0x6a7b
lri $IX1,    #0x1ebe
lri $WR1,    #0xb129
cw 0xd
call send_back  ; 8667 (0x21db)

lri $AR1,    #0x4d7e
lri $IX1,    #0x7f8e
lri $WR1,    #0x68de
cw 0xd
call send_back  ; 8668 (0x21dc)

lri $AR1,    #0x5d60
lri $IX1,    #0x6cec
lri $WR1,    #0xa021
cw 0xd
call send_back  ; 8669 (0x21dd)

lri $AR1,    #0x3151
lri $IX1,    #0xfc8a
lri $WR1,    #0xa4a1
cw 0xd
call send_back  ; 8670 (0x21de)

lri $AR1,    #0xa4f3
lri $IX1,    #0xfe9e
lri $WR1,    #0x7c37
cw 0xd
call send_back  ; 8671 (0x21df)

lri $AR1,    #0xe1be
lri $IX1,    #0x7720
lri $WR1,    #0xd591
cw 0xd
call send_back  ; 8672 (0x21e0)

lri $AR1,    #0xc76c
lri $IX1,    #0x3a08
lri $WR1,    #0x9c1f
cw 0xd
call send_back  ; 8673 (0x21e1)

lri $AR1,    #0x65ad
lri $IX1,    #0x0f38
lri $WR1,    #0xa0bb
cw 0xd
call send_back  ; 8674 (0x21e2)

lri $AR1,    #0x4d02
lri $IX1,    #0xf27e
lri $WR1,    #0xba2e
cw 0xd
call send_back  ; 8675 (0x21e3)

lri $AR1,    #0x83fc
lri $IX1,    #0x4772
lri $WR1,    #0xf615
cw 0xd
call send_back  ; 8676 (0x21e4)

lri $AR1,    #0x49bd
lri $IX1,    #0x107c
lri $WR1,    #0x4c43
cw 0xd
call send_back  ; 8677 (0x21e5)

lri $AR1,    #0x5e08
lri $IX1,    #0x43e6
lri $WR1,    #0xa422
cw 0xd
call send_back  ; 8678 (0x21e6)

lri $AR1,    #0xaab3
lri $IX1,    #0x192c
lri $WR1,    #0x3d2e
cw 0xd
call send_back  ; 8679 (0x21e7)

lri $AR1,    #0xc1b8
lri $IX1,    #0x7c72
lri $WR1,    #0x9119
cw 0xd
call send_back  ; 8680 (0x21e8)

lri $AR1,    #0x8ed7
lri $IX1,    #0x9d6e
lri $WR1,    #0x6f9b
cw 0xd
call send_back  ; 8681 (0x21e9)

lri $AR1,    #0xbafd
lri $IX1,    #0xaa80
lri $WR1,    #0xc191
cw 0xd
call send_back  ; 8682 (0x21ea)

lri $AR1,    #0x7343
lri $IX1,    #0x1866
lri $WR1,    #0x7272
cw 0xd
call send_back  ; 8683 (0x21eb)

lri $AR1,    #0x6ce5
lri $IX1,    #0x3a4a
lri $WR1,    #0x54a4
cw 0xd
call send_back  ; 8684 (0x21ec)

lri $AR1,    #0x7af7
lri $IX1,    #0x457a
lri $WR1,    #0xceca
cw 0xd
call send_back  ; 8685 (0x21ed)

lri $AR1,    #0xba1c
lri $IX1,    #0x07a8
lri $WR1,    #0x9d9b
cw 0xd
call send_back  ; 8686 (0x21ee)

lri $AR1,    #0x9a2a
lri $IX1,    #0x75e8
lri $WR1,    #0xd74a
cw 0xd
call send_back  ; 8687 (0x21ef)

lri $AR1,    #0xc4f4
lri $IX1,    #0xae58
lri $WR1,    #0x8316
cw 0xd
call send_back  ; 8688 (0x21f0)

lri $AR1,    #0x6d10
lri $IX1,    #0xedba
lri $WR1,    #0x6111
cw 0xd
call send_back  ; 8689 (0x21f1)

lri $AR1,    #0xcef1
lri $IX1,    #0x35be
lri $WR1,    #0x4bad
cw 0xd
call send_back  ; 8690 (0x21f2)

lri $AR1,    #0x821c
lri $IX1,    #0xd064
lri $WR1,    #0x4e20
cw 0xd
call send_back  ; 8691 (0x21f3)

lri $AR1,    #0x7fcb
lri $IX1,    #0x6036
lri $WR1,    #0x8025
cw 0xd
call send_back  ; 8692 (0x21f4)

lri $AR1,    #0x5fcf
lri $IX1,    #0xa4ba
lri $WR1,    #0xd143
cw 0xd
call send_back  ; 8693 (0x21f5)

lri $AR1,    #0x9bfd
lri $IX1,    #0x65d4
lri $WR1,    #0x8b0a
cw 0xd
call send_back  ; 8694 (0x21f6)

lri $AR1,    #0x8dfd
lri $IX1,    #0xf884
lri $WR1,    #0x5375
cw 0xd
call send_back  ; 8695 (0x21f7)

lri $AR1,    #0x32c7
lri $IX1,    #0x62b2
lri $WR1,    #0x3de1
cw 0xd
call send_back  ; 8696 (0x21f8)

lri $AR1,    #0xea98
lri $IX1,    #0x2b80
lri $WR1,    #0x62cc
cw 0xd
call send_back  ; 8697 (0x21f9)

lri $AR1,    #0x4bbb
lri $IX1,    #0x40b6
lri $WR1,    #0x63cc
cw 0xd
call send_back  ; 8698 (0x21fa)

lri $AR1,    #0x11f0
lri $IX1,    #0xe9ea
lri $WR1,    #0x92e1
cw 0xd
call send_back  ; 8699 (0x21fb)

lri $AR1,    #0x9bc0
lri $IX1,    #0x64d8
lri $WR1,    #0x89b1
cw 0xd
call send_back  ; 8700 (0x21fc)

lri $AR1,    #0x2287
lri $IX1,    #0x5e8a
lri $WR1,    #0x36b4
cw 0xd
call send_back  ; 8701 (0x21fd)

lri $AR1,    #0x499d
lri $IX1,    #0xe7ea
lri $WR1,    #0xa3e7
cw 0xd
call send_back  ; 8702 (0x21fe)

lri $AR1,    #0xa44d
lri $IX1,    #0xa432
lri $WR1,    #0x5c17
cw 0xd
call send_back  ; 8703 (0x21ff)

lri $AR1,    #0x4a02
lri $IX1,    #0xa2e6
lri $WR1,    #0x3955
cw 0xd
call send_back  ; 8704 (0x2200)

lri $AR1,    #0xdb71
lri $IX1,    #0x7ed0
lri $WR1,    #0x7097
cw 0xd
call send_back  ; 8705 (0x2201)

lri $AR1,    #0x5b0d
lri $IX1,    #0xd6ac
lri $WR1,    #0xbc25
cw 0xd
call send_back  ; 8706 (0x2202)

lri $AR1,    #0x4ea3
lri $IX1,    #0xe3ee
lri $WR1,    #0x77e1
cw 0xd
call send_back  ; 8707 (0x2203)

lri $AR1,    #0xa755
lri $IX1,    #0xb754
lri $WR1,    #0xb7e4
cw 0xd
call send_back  ; 8708 (0x2204)

lri $AR1,    #0x48e2
lri $IX1,    #0x5abe
lri $WR1,    #0x3baa
cw 0xd
call send_back  ; 8709 (0x2205)

lri $AR1,    #0x186f
lri $IX1,    #0xa2ee
lri $WR1,    #0x7d2c
cw 0xd
call send_back  ; 8710 (0x2206)

lri $AR1,    #0x9ebb
lri $IX1,    #0xbba6
lri $WR1,    #0x5d1d
cw 0xd
call send_back  ; 8711 (0x2207)

lri $AR1,    #0x60f7
lri $IX1,    #0x4bd2
lri $WR1,    #0x72cd
cw 0xd
call send_back  ; 8712 (0x2208)

lri $AR1,    #0x7f1d
lri $IX1,    #0x573c
lri $WR1,    #0xafbb
cw 0xd
call send_back  ; 8713 (0x2209)

lri $AR1,    #0x461a
lri $IX1,    #0x9e60
lri $WR1,    #0x3475
cw 0xd
call send_back  ; 8714 (0x220a)

lri $AR1,    #0x9796
lri $IX1,    #0x0cde
lri $WR1,    #0xc5c7
cw 0xd
call send_back  ; 8715 (0x220b)

lri $AR1,    #0x309d
lri $IX1,    #0xaa4a
lri $WR1,    #0x26d6
cw 0xd
call send_back  ; 8716 (0x220c)

lri $AR1,    #0xd41f
lri $IX1,    #0x58a8
lri $WR1,    #0x962f
cw 0xd
call send_back  ; 8717 (0x220d)

lri $AR1,    #0x0d63
lri $IX1,    #0x5762
lri $WR1,    #0xa953
cw 0xd
call send_back  ; 8718 (0x220e)

lri $AR1,    #0x826a
lri $IX1,    #0xe110
lri $WR1,    #0xa3ef
cw 0xd
call send_back  ; 8719 (0x220f)

lri $AR1,    #0x8578
lri $IX1,    #0x2dda
lri $WR1,    #0x8d21
cw 0xd
call send_back  ; 8720 (0x2210)

lri $AR1,    #0xa09e
lri $IX1,    #0x8bd8
lri $WR1,    #0x8f02
cw 0xd
call send_back  ; 8721 (0x2211)

lri $AR1,    #0x1594
lri $IX1,    #0xfa14
lri $WR1,    #0x79f3
cw 0xd
call send_back  ; 8722 (0x2212)

lri $AR1,    #0x9fa9
lri $IX1,    #0xa2ac
lri $WR1,    #0x76bf
cw 0xd
call send_back  ; 8723 (0x2213)

lri $AR1,    #0x8d2b
lri $IX1,    #0x93de
lri $WR1,    #0x6823
cw 0xd
call send_back  ; 8724 (0x2214)

lri $AR1,    #0x6105
lri $IX1,    #0x0f1a
lri $WR1,    #0x95ca
cw 0xd
call send_back  ; 8725 (0x2215)

lri $AR1,    #0x7cee
lri $IX1,    #0x9146
lri $WR1,    #0x5857
cw 0xd
call send_back  ; 8726 (0x2216)

lri $AR1,    #0x37fb
lri $IX1,    #0x3622
lri $WR1,    #0x7f78
cw 0xd
call send_back  ; 8727 (0x2217)

lri $AR1,    #0x1cd6
lri $IX1,    #0x2ce2
lri $WR1,    #0x70ab
cw 0xd
call send_back  ; 8728 (0x2218)

lri $AR1,    #0xb676
lri $IX1,    #0x7b36
lri $WR1,    #0x66b6
cw 0xd
call send_back  ; 8729 (0x2219)

lri $AR1,    #0xb1ac
lri $IX1,    #0x278a
lri $WR1,    #0x275b
cw 0xd
call send_back  ; 8730 (0x221a)

lri $AR1,    #0x8d41
lri $IX1,    #0xf2ce
lri $WR1,    #0x5673
cw 0xd
call send_back  ; 8731 (0x221b)

lri $AR1,    #0x7a10
lri $IX1,    #0xedae
lri $WR1,    #0xa2e3
cw 0xd
call send_back  ; 8732 (0x221c)

lri $AR1,    #0x47d1
lri $IX1,    #0x4c68
lri $WR1,    #0xc389
cw 0xd
call send_back  ; 8733 (0x221d)

lri $AR1,    #0xab01
lri $IX1,    #0xc81e
lri $WR1,    #0x77b1
cw 0xd
call send_back  ; 8734 (0x221e)

lri $AR1,    #0xab92
lri $IX1,    #0x7c0e
lri $WR1,    #0x6021
cw 0xd
call send_back  ; 8735 (0x221f)

lri $AR1,    #0x03e5
lri $IX1,    #0x6046
lri $WR1,    #0xeb48
cw 0xd
call send_back  ; 8736 (0x2220)

lri $AR1,    #0x82a8
lri $IX1,    #0x2b66
lri $WR1,    #0x98a1
cw 0xd
call send_back  ; 8737 (0x2221)

lri $AR1,    #0x8215
lri $IX1,    #0x6004
lri $WR1,    #0x64e6
cw 0xd
call send_back  ; 8738 (0x2222)

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