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

lri $AR1,    #0xc86f
lri $IX1,    #0x60da
lri $WR1,    #0x4987
cw 0xd
call send_back  ; 21956 (0x55c4)

lri $AR1,    #0xbb7c
lri $IX1,    #0x0458
lri $WR1,    #0x86a2
cw 0xd
call send_back  ; 21957 (0x55c5)

lri $AR1,    #0x5c71
lri $IX1,    #0x1542
lri $WR1,    #0x5908
cw 0xd
call send_back  ; 21958 (0x55c6)

lri $AR1,    #0x8118
lri $IX1,    #0xf8b2
lri $WR1,    #0xb95d
cw 0xd
call send_back  ; 21959 (0x55c7)

lri $AR1,    #0xc01a
lri $IX1,    #0x56e2
lri $WR1,    #0xdf15
cw 0xd
call send_back  ; 21960 (0x55c8)

lri $AR1,    #0xaddb
lri $IX1,    #0x0f52
lri $WR1,    #0x2c7e
cw 0xd
call send_back  ; 21961 (0x55c9)

lri $AR1,    #0x4924
lri $IX1,    #0x472a
lri $WR1,    #0x782b
cw 0xd
call send_back  ; 21962 (0x55ca)

lri $AR1,    #0x9963
lri $IX1,    #0xc224
lri $WR1,    #0xc299
cw 0xd
call send_back  ; 21963 (0x55cb)

lri $AR1,    #0xa7e5
lri $IX1,    #0x99de
lri $WR1,    #0x3ccf
cw 0xd
call send_back  ; 21964 (0x55cc)

lri $AR1,    #0x78bd
lri $IX1,    #0x3ed6
lri $WR1,    #0x7de9
cw 0xd
call send_back  ; 21965 (0x55cd)

lri $AR1,    #0x57d0
lri $IX1,    #0x59e0
lri $WR1,    #0xc330
cw 0xd
call send_back  ; 21966 (0x55ce)

lri $AR1,    #0x91a6
lri $IX1,    #0x846c
lri $WR1,    #0x77bf
cw 0xd
call send_back  ; 21967 (0x55cf)

lri $AR1,    #0x677e
lri $IX1,    #0xc170
lri $WR1,    #0x6655
cw 0xd
call send_back  ; 21968 (0x55d0)

lri $AR1,    #0x9957
lri $IX1,    #0x083c
lri $WR1,    #0x4160
cw 0xd
call send_back  ; 21969 (0x55d1)

lri $AR1,    #0xa03e
lri $IX1,    #0xee00
lri $WR1,    #0x7ac3
cw 0xd
call send_back  ; 21970 (0x55d2)

lri $AR1,    #0x86ce
lri $IX1,    #0x6a7c
lri $WR1,    #0x9679
cw 0xd
call send_back  ; 21971 (0x55d3)

lri $AR1,    #0x950e
lri $IX1,    #0xb770
lri $WR1,    #0x98a0
cw 0xd
call send_back  ; 21972 (0x55d4)

lri $AR1,    #0x2094
lri $IX1,    #0x424e
lri $WR1,    #0xc8f9
cw 0xd
call send_back  ; 21973 (0x55d5)

lri $AR1,    #0xa132
lri $IX1,    #0x72de
lri $WR1,    #0xa365
cw 0xd
call send_back  ; 21974 (0x55d6)

lri $AR1,    #0x8e05
lri $IX1,    #0x893e
lri $WR1,    #0x4e87
cw 0xd
call send_back  ; 21975 (0x55d7)

lri $AR1,    #0xde32
lri $IX1,    #0xe8ee
lri $WR1,    #0xb6fe
cw 0xd
call send_back  ; 21976 (0x55d8)

lri $AR1,    #0xb41a
lri $IX1,    #0xae54
lri $WR1,    #0x575f
cw 0xd
call send_back  ; 21977 (0x55d9)

lri $AR1,    #0x9966
lri $IX1,    #0x4788
lri $WR1,    #0xa274
cw 0xd
call send_back  ; 21978 (0x55da)

lri $AR1,    #0xa5ac
lri $IX1,    #0xd896
lri $WR1,    #0xd6c3
cw 0xd
call send_back  ; 21979 (0x55db)

lri $AR1,    #0xd0ff
lri $IX1,    #0x5730
lri $WR1,    #0x9816
cw 0xd
call send_back  ; 21980 (0x55dc)

lri $AR1,    #0x6f43
lri $IX1,    #0x610e
lri $WR1,    #0x64db
cw 0xd
call send_back  ; 21981 (0x55dd)

lri $AR1,    #0xc08d
lri $IX1,    #0xbbc0
lri $WR1,    #0x3b20
cw 0xd
call send_back  ; 21982 (0x55de)

lri $AR1,    #0x865a
lri $IX1,    #0x0c5c
lri $WR1,    #0x621f
cw 0xd
call send_back  ; 21983 (0x55df)

lri $AR1,    #0x8505
lri $IX1,    #0x88ba
lri $WR1,    #0x32e6
cw 0xd
call send_back  ; 21984 (0x55e0)

lri $AR1,    #0xa426
lri $IX1,    #0x0bb0
lri $WR1,    #0x4446
cw 0xd
call send_back  ; 21985 (0x55e1)

lri $AR1,    #0x604f
lri $IX1,    #0xf104
lri $WR1,    #0x6b78
cw 0xd
call send_back  ; 21986 (0x55e2)

lri $AR1,    #0xd3e0
lri $IX1,    #0x4d62
lri $WR1,    #0x74a4
cw 0xd
call send_back  ; 21987 (0x55e3)

lri $AR1,    #0xa448
lri $IX1,    #0x5a40
lri $WR1,    #0xabc9
cw 0xd
call send_back  ; 21988 (0x55e4)

lri $AR1,    #0x7c8d
lri $IX1,    #0x24ea
lri $WR1,    #0xa818
cw 0xd
call send_back  ; 21989 (0x55e5)

lri $AR1,    #0x4d50
lri $IX1,    #0x9b88
lri $WR1,    #0xa95c
cw 0xd
call send_back  ; 21990 (0x55e6)

lri $AR1,    #0x2e45
lri $IX1,    #0xd274
lri $WR1,    #0x9872
cw 0xd
call send_back  ; 21991 (0x55e7)

lri $AR1,    #0x5449
lri $IX1,    #0xafb8
lri $WR1,    #0xc16b
cw 0xd
call send_back  ; 21992 (0x55e8)

lri $AR1,    #0x7afd
lri $IX1,    #0xf1e2
lri $WR1,    #0x875d
cw 0xd
call send_back  ; 21993 (0x55e9)

lri $AR1,    #0xc02a
lri $IX1,    #0xa338
lri $WR1,    #0x7f89
cw 0xd
call send_back  ; 21994 (0x55ea)

lri $AR1,    #0xa2cb
lri $IX1,    #0x5954
lri $WR1,    #0x72c4
cw 0xd
call send_back  ; 21995 (0x55eb)

lri $AR1,    #0x7efe
lri $IX1,    #0x0544
lri $WR1,    #0x99d3
cw 0xd
call send_back  ; 21996 (0x55ec)

lri $AR1,    #0xdbb2
lri $IX1,    #0x6f36
lri $WR1,    #0xe2bc
cw 0xd
call send_back  ; 21997 (0x55ed)

lri $AR1,    #0x8e6f
lri $IX1,    #0xa4b6
lri $WR1,    #0x0a92
cw 0xd
call send_back  ; 21998 (0x55ee)

lri $AR1,    #0x7ce9
lri $IX1,    #0x7fbc
lri $WR1,    #0x38ea
cw 0xd
call send_back  ; 21999 (0x55ef)

lri $AR1,    #0x7bd3
lri $IX1,    #0xe048
lri $WR1,    #0x6f63
cw 0xd
call send_back  ; 22000 (0x55f0)

lri $AR1,    #0xd5a2
lri $IX1,    #0x19fa
lri $WR1,    #0x6970
cw 0xd
call send_back  ; 22001 (0x55f1)

lri $AR1,    #0x43aa
lri $IX1,    #0x5262
lri $WR1,    #0xd5e2
cw 0xd
call send_back  ; 22002 (0x55f2)

lri $AR1,    #0x7751
lri $IX1,    #0xfc5e
lri $WR1,    #0x054e
cw 0xd
call send_back  ; 22003 (0x55f3)

lri $AR1,    #0x98af
lri $IX1,    #0x205c
lri $WR1,    #0x1dd0
cw 0xd
call send_back  ; 22004 (0x55f4)

lri $AR1,    #0x3b76
lri $IX1,    #0x98c0
lri $WR1,    #0x7e4f
cw 0xd
call send_back  ; 22005 (0x55f5)

lri $AR1,    #0x9a5c
lri $IX1,    #0xb54e
lri $WR1,    #0x18bc
cw 0xd
call send_back  ; 22006 (0x55f6)

lri $AR1,    #0xcce9
lri $IX1,    #0xb7e4
lri $WR1,    #0x8c71
cw 0xd
call send_back  ; 22007 (0x55f7)

lri $AR1,    #0x82f1
lri $IX1,    #0x3050
lri $WR1,    #0x8f2a
cw 0xd
call send_back  ; 22008 (0x55f8)

lri $AR1,    #0x7c96
lri $IX1,    #0x448c
lri $WR1,    #0x9cc8
cw 0xd
call send_back  ; 22009 (0x55f9)

lri $AR1,    #0xd500
lri $IX1,    #0x4e46
lri $WR1,    #0x533c
cw 0xd
call send_back  ; 22010 (0x55fa)

lri $AR1,    #0xa9d1
lri $IX1,    #0xc5f2
lri $WR1,    #0xb1ec
cw 0xd
call send_back  ; 22011 (0x55fb)

lri $AR1,    #0x106f
lri $IX1,    #0x172c
lri $WR1,    #0x88d9
cw 0xd
call send_back  ; 22012 (0x55fc)

lri $AR1,    #0x861b
lri $IX1,    #0x91dc
lri $WR1,    #0x1dde
cw 0xd
call send_back  ; 22013 (0x55fd)

lri $AR1,    #0x7708
lri $IX1,    #0x16d0
lri $WR1,    #0xcb55
cw 0xd
call send_back  ; 22014 (0x55fe)

lri $AR1,    #0x7c64
lri $IX1,    #0x3e20
lri $WR1,    #0x7d6f
cw 0xd
call send_back  ; 22015 (0x55ff)

lri $AR1,    #0x6879
lri $IX1,    #0x692e
lri $WR1,    #0xd89b
cw 0xd
call send_back  ; 22016 (0x5600)

lri $AR1,    #0x83da
lri $IX1,    #0x59a8
lri $WR1,    #0x5d2e
cw 0xd
call send_back  ; 22017 (0x5601)

lri $AR1,    #0xddde
lri $IX1,    #0x6228
lri $WR1,    #0xe9d2
cw 0xd
call send_back  ; 22018 (0x5602)

lri $AR1,    #0xa630
lri $IX1,    #0xf500
lri $WR1,    #0x6fc7
cw 0xd
call send_back  ; 22019 (0x5603)

lri $AR1,    #0x8cd2
lri $IX1,    #0x18d2
lri $WR1,    #0x6188
cw 0xd
call send_back  ; 22020 (0x5604)

lri $AR1,    #0x8161
lri $IX1,    #0x025c
lri $WR1,    #0x3def
cw 0xd
call send_back  ; 22021 (0x5605)

lri $AR1,    #0xb9e5
lri $IX1,    #0x9e40
lri $WR1,    #0x7756
cw 0xd
call send_back  ; 22022 (0x5606)

lri $AR1,    #0x8cfd
lri $IX1,    #0x151e
lri $WR1,    #0x37d1
cw 0xd
call send_back  ; 22023 (0x5607)

lri $AR1,    #0x42b9
lri $IX1,    #0x27c8
lri $WR1,    #0x890e
cw 0xd
call send_back  ; 22024 (0x5608)

lri $AR1,    #0x6af3
lri $IX1,    #0x88e0
lri $WR1,    #0x8fee
cw 0xd
call send_back  ; 22025 (0x5609)

lri $AR1,    #0x6778
lri $IX1,    #0xf4c8
lri $WR1,    #0x395d
cw 0xd
call send_back  ; 22026 (0x560a)

lri $AR1,    #0x8bce
lri $IX1,    #0x97fc
lri $WR1,    #0x4789
cw 0xd
call send_back  ; 22027 (0x560b)

lri $AR1,    #0x5be6
lri $IX1,    #0x37f4
lri $WR1,    #0x83f6
cw 0xd
call send_back  ; 22028 (0x560c)

lri $AR1,    #0x6e8b
lri $IX1,    #0x6992
lri $WR1,    #0xd48f
cw 0xd
call send_back  ; 22029 (0x560d)

lri $AR1,    #0xa7e7
lri $IX1,    #0xcc20
lri $WR1,    #0x6f3a
cw 0xd
call send_back  ; 22030 (0x560e)

lri $AR1,    #0xc3d9
lri $IX1,    #0x9f14
lri $WR1,    #0xc8ff
cw 0xd
call send_back  ; 22031 (0x560f)

lri $AR1,    #0xdf86
lri $IX1,    #0xfc7c
lri $WR1,    #0x035f
cw 0xd
call send_back  ; 22032 (0x5610)

lri $AR1,    #0x3ce0
lri $IX1,    #0x6948
lri $WR1,    #0x63d1
cw 0xd
call send_back  ; 22033 (0x5611)

lri $AR1,    #0x3a7e
lri $IX1,    #0x2866
lri $WR1,    #0xaf18
cw 0xd
call send_back  ; 22034 (0x5612)

lri $AR1,    #0x4d8e
lri $IX1,    #0xacd8
lri $WR1,    #0x735d
cw 0xd
call send_back  ; 22035 (0x5613)

lri $AR1,    #0x933f
lri $IX1,    #0x8ab4
lri $WR1,    #0x41be
cw 0xd
call send_back  ; 22036 (0x5614)

lri $AR1,    #0xaa5d
lri $IX1,    #0x3e52
lri $WR1,    #0x7147
cw 0xd
call send_back  ; 22037 (0x5615)

lri $AR1,    #0x557d
lri $IX1,    #0xec70
lri $WR1,    #0xa2f9
cw 0xd
call send_back  ; 22038 (0x5616)

lri $AR1,    #0x4997
lri $IX1,    #0xbdb2
lri $WR1,    #0x3fe4
cw 0xd
call send_back  ; 22039 (0x5617)

lri $AR1,    #0x6431
lri $IX1,    #0x8b2e
lri $WR1,    #0x6fe6
cw 0xd
call send_back  ; 22040 (0x5618)

lri $AR1,    #0xb025
lri $IX1,    #0x1972
lri $WR1,    #0x7121
cw 0xd
call send_back  ; 22041 (0x5619)

lri $AR1,    #0x7f22
lri $IX1,    #0xfac8
lri $WR1,    #0xa5bc
cw 0xd
call send_back  ; 22042 (0x561a)

lri $AR1,    #0x51d2
lri $IX1,    #0x4106
lri $WR1,    #0x7eee
cw 0xd
call send_back  ; 22043 (0x561b)

lri $AR1,    #0xaff0
lri $IX1,    #0x4ab2
lri $WR1,    #0x81fa
cw 0xd
call send_back  ; 22044 (0x561c)

lri $AR1,    #0xcd15
lri $IX1,    #0x0eea
lri $WR1,    #0x5d22
cw 0xd
call send_back  ; 22045 (0x561d)

lri $AR1,    #0xc69b
lri $IX1,    #0x36b4
lri $WR1,    #0x4010
cw 0xd
call send_back  ; 22046 (0x561e)

lri $AR1,    #0x4a59
lri $IX1,    #0xf22c
lri $WR1,    #0x4ce9
cw 0xd
call send_back  ; 22047 (0x561f)

lri $AR1,    #0x6d8c
lri $IX1,    #0xab40
lri $WR1,    #0x5c7d
cw 0xd
call send_back  ; 22048 (0x5620)

lri $AR1,    #0x46c2
lri $IX1,    #0x5f6e
lri $WR1,    #0xd9a7
cw 0xd
call send_back  ; 22049 (0x5621)

lri $AR1,    #0x5d16
lri $IX1,    #0x652e
lri $WR1,    #0x8582
cw 0xd
call send_back  ; 22050 (0x5622)

lri $AR1,    #0x927b
lri $IX1,    #0x9176
lri $WR1,    #0x6762
cw 0xd
call send_back  ; 22051 (0x5623)

lri $AR1,    #0xb689
lri $IX1,    #0xf510
lri $WR1,    #0x6145
cw 0xd
call send_back  ; 22052 (0x5624)

lri $AR1,    #0x4a78
lri $IX1,    #0xa12e
lri $WR1,    #0x3aa8
cw 0xd
call send_back  ; 22053 (0x5625)

lri $AR1,    #0x8eb3
lri $IX1,    #0xedee
lri $WR1,    #0x5177
cw 0xd
call send_back  ; 22054 (0x5626)

lri $AR1,    #0x95c2
lri $IX1,    #0x7d30
lri $WR1,    #0x61f9
cw 0xd
call send_back  ; 22055 (0x5627)

lri $AR1,    #0xafe8
lri $IX1,    #0x8794
lri $WR1,    #0xdc7f
cw 0xd
call send_back  ; 22056 (0x5628)

lri $AR1,    #0xee3c
lri $IX1,    #0xc8d0
lri $WR1,    #0x68b0
cw 0xd
call send_back  ; 22057 (0x5629)

lri $AR1,    #0x9b8d
lri $IX1,    #0x7c5c
lri $WR1,    #0xe427
cw 0xd
call send_back  ; 22058 (0x562a)

lri $AR1,    #0xbcec
lri $IX1,    #0x2a9c
lri $WR1,    #0xbb67
cw 0xd
call send_back  ; 22059 (0x562b)

lri $AR1,    #0xd31e
lri $IX1,    #0x6a72
lri $WR1,    #0x51b6
cw 0xd
call send_back  ; 22060 (0x562c)

lri $AR1,    #0x91c8
lri $IX1,    #0x1270
lri $WR1,    #0x25e5
cw 0xd
call send_back  ; 22061 (0x562d)

lri $AR1,    #0x70b7
lri $IX1,    #0x809e
lri $WR1,    #0x5fa7
cw 0xd
call send_back  ; 22062 (0x562e)

lri $AR1,    #0xbef4
lri $IX1,    #0x7ef4
lri $WR1,    #0x527e
cw 0xd
call send_back  ; 22063 (0x562f)

lri $AR1,    #0x9719
lri $IX1,    #0xbe8a
lri $WR1,    #0x28c7
cw 0xd
call send_back  ; 22064 (0x5630)

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