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

lri $AR1,    #0xdf4e
lri $IX1,    #0xc21e
lri $WR1,    #0x383c
cw 0x15
call send_back  ; 14965 (0x3a75)

lri $AR1,    #0x7363
lri $IX1,    #0x91fe
lri $WR1,    #0x7ed5
cw 0x15
call send_back  ; 14966 (0x3a76)

lri $AR1,    #0x5ea8
lri $IX1,    #0xff08
lri $WR1,    #0x354d
cw 0x15
call send_back  ; 14967 (0x3a77)

lri $AR1,    #0x791f
lri $IX1,    #0x97e8
lri $WR1,    #0x64c3
cw 0x15
call send_back  ; 14968 (0x3a78)

lri $AR1,    #0x8830
lri $IX1,    #0x4ef0
lri $WR1,    #0x8a0f
cw 0x15
call send_back  ; 14969 (0x3a79)

lri $AR1,    #0x5c74
lri $IX1,    #0x71aa
lri $WR1,    #0xb0c0
cw 0x15
call send_back  ; 14970 (0x3a7a)

lri $AR1,    #0x5419
lri $IX1,    #0x0ab6
lri $WR1,    #0x1977
cw 0x15
call send_back  ; 14971 (0x3a7b)

lri $AR1,    #0x732e
lri $IX1,    #0x526c
lri $WR1,    #0x7813
cw 0x15
call send_back  ; 14972 (0x3a7c)

lri $AR1,    #0x7ec1
lri $IX1,    #0x3ab6
lri $WR1,    #0x8fe8
cw 0x15
call send_back  ; 14973 (0x3a7d)

lri $AR1,    #0x76f3
lri $IX1,    #0xb77c
lri $WR1,    #0xb16e
cw 0x15
call send_back  ; 14974 (0x3a7e)

lri $AR1,    #0xcffb
lri $IX1,    #0x453a
lri $WR1,    #0xbe92
cw 0x15
call send_back  ; 14975 (0x3a7f)

lri $AR1,    #0x4150
lri $IX1,    #0x7c00
lri $WR1,    #0x401e
cw 0x15
call send_back  ; 14976 (0x3a80)

lri $AR1,    #0x4dd5
lri $IX1,    #0x5578
lri $WR1,    #0xa062
cw 0x15
call send_back  ; 14977 (0x3a81)

lri $AR1,    #0xa747
lri $IX1,    #0x5138
lri $WR1,    #0x2ca8
cw 0x15
call send_back  ; 14978 (0x3a82)

lri $AR1,    #0xa2df
lri $IX1,    #0xf304
lri $WR1,    #0x7067
cw 0x15
call send_back  ; 14979 (0x3a83)

lri $AR1,    #0x7c4b
lri $IX1,    #0x532c
lri $WR1,    #0x32fb
cw 0x15
call send_back  ; 14980 (0x3a84)

lri $AR1,    #0x7ff7
lri $IX1,    #0xc1ca
lri $WR1,    #0xb9b7
cw 0x15
call send_back  ; 14981 (0x3a85)

lri $AR1,    #0x44d4
lri $IX1,    #0xf1ec
lri $WR1,    #0x4e11
cw 0x15
call send_back  ; 14982 (0x3a86)

lri $AR1,    #0x418d
lri $IX1,    #0xe288
lri $WR1,    #0x48d9
cw 0x15
call send_back  ; 14983 (0x3a87)

lri $AR1,    #0x205d
lri $IX1,    #0xe740
lri $WR1,    #0x691b
cw 0x15
call send_back  ; 14984 (0x3a88)

lri $AR1,    #0xa06c
lri $IX1,    #0xebc4
lri $WR1,    #0x66b0
cw 0x15
call send_back  ; 14985 (0x3a89)

lri $AR1,    #0xf2f4
lri $IX1,    #0x70ea
lri $WR1,    #0x5e24
cw 0x15
call send_back  ; 14986 (0x3a8a)

lri $AR1,    #0x3605
lri $IX1,    #0xf344
lri $WR1,    #0x44df
cw 0x15
call send_back  ; 14987 (0x3a8b)

lri $AR1,    #0x563b
lri $IX1,    #0x8754
lri $WR1,    #0x6a42
cw 0x15
call send_back  ; 14988 (0x3a8c)

lri $AR1,    #0x9c31
lri $IX1,    #0xa008
lri $WR1,    #0x83b5
cw 0x15
call send_back  ; 14989 (0x3a8d)

lri $AR1,    #0x59f9
lri $IX1,    #0x48ce
lri $WR1,    #0xbf36
cw 0x15
call send_back  ; 14990 (0x3a8e)

lri $AR1,    #0x707f
lri $IX1,    #0xbcbe
lri $WR1,    #0xb98d
cw 0x15
call send_back  ; 14991 (0x3a8f)

lri $AR1,    #0x9c16
lri $IX1,    #0x5144
lri $WR1,    #0x5a94
cw 0x15
call send_back  ; 14992 (0x3a90)

lri $AR1,    #0x82f9
lri $IX1,    #0x42c0
lri $WR1,    #0x63c0
cw 0x15
call send_back  ; 14993 (0x3a91)

lri $AR1,    #0x402d
lri $IX1,    #0x367a
lri $WR1,    #0xca71
cw 0x15
call send_back  ; 14994 (0x3a92)

lri $AR1,    #0x786c
lri $IX1,    #0x5586
lri $WR1,    #0xa909
cw 0x15
call send_back  ; 14995 (0x3a93)

lri $AR1,    #0xce91
lri $IX1,    #0xe0bc
lri $WR1,    #0x8785
cw 0x15
call send_back  ; 14996 (0x3a94)

lri $AR1,    #0xa831
lri $IX1,    #0x269e
lri $WR1,    #0x556a
cw 0x15
call send_back  ; 14997 (0x3a95)

lri $AR1,    #0x82d3
lri $IX1,    #0xf81e
lri $WR1,    #0x8cd7
cw 0x15
call send_back  ; 14998 (0x3a96)

lri $AR1,    #0x7d74
lri $IX1,    #0x3a2e
lri $WR1,    #0x7797
cw 0x15
call send_back  ; 14999 (0x3a97)

lri $AR1,    #0x91cc
lri $IX1,    #0x1e2c
lri $WR1,    #0x54e4
cw 0x15
call send_back  ; 15000 (0x3a98)

lri $AR1,    #0x23fd
lri $IX1,    #0x03dc
lri $WR1,    #0x87de
cw 0x15
call send_back  ; 15001 (0x3a99)

lri $AR1,    #0x6f24
lri $IX1,    #0x2c2a
lri $WR1,    #0x6445
cw 0x15
call send_back  ; 15002 (0x3a9a)

lri $AR1,    #0x4877
lri $IX1,    #0x5454
lri $WR1,    #0x808f
cw 0x15
call send_back  ; 15003 (0x3a9b)

lri $AR1,    #0x9a5d
lri $IX1,    #0x2dc8
lri $WR1,    #0x89db
cw 0x15
call send_back  ; 15004 (0x3a9c)

lri $AR1,    #0xb43a
lri $IX1,    #0x8f3a
lri $WR1,    #0x4fe2
cw 0x15
call send_back  ; 15005 (0x3a9d)

lri $AR1,    #0x7b54
lri $IX1,    #0x505a
lri $WR1,    #0x7c6f
cw 0x15
call send_back  ; 15006 (0x3a9e)

lri $AR1,    #0x8c8e
lri $IX1,    #0x21a0
lri $WR1,    #0x8b62
cw 0x15
call send_back  ; 15007 (0x3a9f)

lri $AR1,    #0xd652
lri $IX1,    #0x7e92
lri $WR1,    #0x7de5
cw 0x15
call send_back  ; 15008 (0x3aa0)

lri $AR1,    #0x7d7a
lri $IX1,    #0x3104
lri $WR1,    #0x4cd3
cw 0x15
call send_back  ; 15009 (0x3aa1)

lri $AR1,    #0x5f8c
lri $IX1,    #0xe0b4
lri $WR1,    #0x2bde
cw 0x15
call send_back  ; 15010 (0x3aa2)

lri $AR1,    #0x9809
lri $IX1,    #0xfac0
lri $WR1,    #0xa09a
cw 0x15
call send_back  ; 15011 (0x3aa3)

lri $AR1,    #0xf632
lri $IX1,    #0xf952
lri $WR1,    #0xa5dd
cw 0x15
call send_back  ; 15012 (0x3aa4)

lri $AR1,    #0xac0c
lri $IX1,    #0xdc0a
lri $WR1,    #0x6da5
cw 0x15
call send_back  ; 15013 (0x3aa5)

lri $AR1,    #0x8eef
lri $IX1,    #0x9682
lri $WR1,    #0xb0f6
cw 0x15
call send_back  ; 15014 (0x3aa6)

lri $AR1,    #0x656e
lri $IX1,    #0x7a68
lri $WR1,    #0xbed7
cw 0x15
call send_back  ; 15015 (0x3aa7)

lri $AR1,    #0xd5fa
lri $IX1,    #0x4f96
lri $WR1,    #0x80f1
cw 0x15
call send_back  ; 15016 (0x3aa8)

lri $AR1,    #0x74f3
lri $IX1,    #0x04a8
lri $WR1,    #0x55e9
cw 0x15
call send_back  ; 15017 (0x3aa9)

lri $AR1,    #0x9097
lri $IX1,    #0xc758
lri $WR1,    #0xcef4
cw 0x15
call send_back  ; 15018 (0x3aaa)

lri $AR1,    #0x8c81
lri $IX1,    #0x0456
lri $WR1,    #0x6fd4
cw 0x15
call send_back  ; 15019 (0x3aab)

lri $AR1,    #0xc622
lri $IX1,    #0x6ab8
lri $WR1,    #0x65a9
cw 0x15
call send_back  ; 15020 (0x3aac)

lri $AR1,    #0x76ec
lri $IX1,    #0xb7bc
lri $WR1,    #0xa2c0
cw 0x15
call send_back  ; 15021 (0x3aad)

lri $AR1,    #0xb896
lri $IX1,    #0xe412
lri $WR1,    #0x4ae9
cw 0x15
call send_back  ; 15022 (0x3aae)

lri $AR1,    #0x1338
lri $IX1,    #0x6c52
lri $WR1,    #0x3d61
cw 0x15
call send_back  ; 15023 (0x3aaf)

lri $AR1,    #0xb496
lri $IX1,    #0xfad8
lri $WR1,    #0xaee2
cw 0x15
call send_back  ; 15024 (0x3ab0)

lri $AR1,    #0x7b69
lri $IX1,    #0xd1b4
lri $WR1,    #0x8fe9
cw 0x15
call send_back  ; 15025 (0x3ab1)

lri $AR1,    #0xc0f6
lri $IX1,    #0x17d4
lri $WR1,    #0xc8c1
cw 0x15
call send_back  ; 15026 (0x3ab2)

lri $AR1,    #0x9ec4
lri $IX1,    #0xbd26
lri $WR1,    #0x8668
cw 0x15
call send_back  ; 15027 (0x3ab3)

lri $AR1,    #0x35be
lri $IX1,    #0x25dc
lri $WR1,    #0xc8d6
cw 0x15
call send_back  ; 15028 (0x3ab4)

lri $AR1,    #0x1798
lri $IX1,    #0x5580
lri $WR1,    #0x7cba
cw 0x15
call send_back  ; 15029 (0x3ab5)

lri $AR1,    #0x42ba
lri $IX1,    #0x070a
lri $WR1,    #0x8840
cw 0x15
call send_back  ; 15030 (0x3ab6)

lri $AR1,    #0x848d
lri $IX1,    #0x1faa
lri $WR1,    #0x33ea
cw 0x15
call send_back  ; 15031 (0x3ab7)

lri $AR1,    #0x6d79
lri $IX1,    #0x5674
lri $WR1,    #0x1e13
cw 0x15
call send_back  ; 15032 (0x3ab8)

lri $AR1,    #0x2d5e
lri $IX1,    #0xe398
lri $WR1,    #0xd11f
cw 0x15
call send_back  ; 15033 (0x3ab9)

lri $AR1,    #0x8edb
lri $IX1,    #0xae66
lri $WR1,    #0x8200
cw 0x15
call send_back  ; 15034 (0x3aba)

lri $AR1,    #0x3b32
lri $IX1,    #0xe1bc
lri $WR1,    #0xce00
cw 0x15
call send_back  ; 15035 (0x3abb)

lri $AR1,    #0x581a
lri $IX1,    #0x2b18
lri $WR1,    #0x647f
cw 0x15
call send_back  ; 15036 (0x3abc)

lri $AR1,    #0xcc56
lri $IX1,    #0x5100
lri $WR1,    #0x429e
cw 0x15
call send_back  ; 15037 (0x3abd)

lri $AR1,    #0x674d
lri $IX1,    #0x61e6
lri $WR1,    #0x6475
cw 0x15
call send_back  ; 15038 (0x3abe)

lri $AR1,    #0xab8d
lri $IX1,    #0x9d40
lri $WR1,    #0x70dc
cw 0x15
call send_back  ; 15039 (0x3abf)

lri $AR1,    #0x7373
lri $IX1,    #0x8508
lri $WR1,    #0x4a5b
cw 0x15
call send_back  ; 15040 (0x3ac0)

lri $AR1,    #0x72d4
lri $IX1,    #0x5e40
lri $WR1,    #0x7954
cw 0x15
call send_back  ; 15041 (0x3ac1)

lri $AR1,    #0x97f9
lri $IX1,    #0xebcc
lri $WR1,    #0xf0e9
cw 0x15
call send_back  ; 15042 (0x3ac2)

lri $AR1,    #0xe1ae
lri $IX1,    #0x7f26
lri $WR1,    #0x21c5
cw 0x15
call send_back  ; 15043 (0x3ac3)

lri $AR1,    #0x47c8
lri $IX1,    #0xb74a
lri $WR1,    #0x833e
cw 0x15
call send_back  ; 15044 (0x3ac4)

lri $AR1,    #0x2ee5
lri $IX1,    #0x8e6c
lri $WR1,    #0x94f6
cw 0x15
call send_back  ; 15045 (0x3ac5)

lri $AR1,    #0xefc2
lri $IX1,    #0xcba4
lri $WR1,    #0xb882
cw 0x15
call send_back  ; 15046 (0x3ac6)

lri $AR1,    #0x9ddc
lri $IX1,    #0xae62
lri $WR1,    #0x841f
cw 0x15
call send_back  ; 15047 (0x3ac7)

lri $AR1,    #0x50d6
lri $IX1,    #0xd5b2
lri $WR1,    #0xb516
cw 0x15
call send_back  ; 15048 (0x3ac8)

lri $AR1,    #0x9f4e
lri $IX1,    #0x1e1c
lri $WR1,    #0x91d2
cw 0x15
call send_back  ; 15049 (0x3ac9)

lri $AR1,    #0x9982
lri $IX1,    #0x9542
lri $WR1,    #0xb939
cw 0x15
call send_back  ; 15050 (0x3aca)

lri $AR1,    #0xc59a
lri $IX1,    #0xd2f2
lri $WR1,    #0x6e62
cw 0x15
call send_back  ; 15051 (0x3acb)

lri $AR1,    #0xc6d7
lri $IX1,    #0x23d4
lri $WR1,    #0x452d
cw 0x15
call send_back  ; 15052 (0x3acc)

lri $AR1,    #0x5489
lri $IX1,    #0x1a72
lri $WR1,    #0x8dcd
cw 0x15
call send_back  ; 15053 (0x3acd)

lri $AR1,    #0x550a
lri $IX1,    #0x6fc4
lri $WR1,    #0x5ae2
cw 0x15
call send_back  ; 15054 (0x3ace)

lri $AR1,    #0xb49d
lri $IX1,    #0xbcdc
lri $WR1,    #0x5f1f
cw 0x15
call send_back  ; 15055 (0x3acf)

lri $AR1,    #0x4776
lri $IX1,    #0xa410
lri $WR1,    #0x851f
cw 0x15
call send_back  ; 15056 (0x3ad0)

lri $AR1,    #0x11cd
lri $IX1,    #0x9818
lri $WR1,    #0x6d63
cw 0x15
call send_back  ; 15057 (0x3ad1)

lri $AR1,    #0x9026
lri $IX1,    #0xb48a
lri $WR1,    #0x4c27
cw 0x15
call send_back  ; 15058 (0x3ad2)

lri $AR1,    #0xedd7
lri $IX1,    #0x2b2e
lri $WR1,    #0x5200
cw 0x15
call send_back  ; 15059 (0x3ad3)

lri $AR1,    #0xdedc
lri $IX1,    #0xc68e
lri $WR1,    #0x3fe5
cw 0x15
call send_back  ; 15060 (0x3ad4)

lri $AR1,    #0x6e03
lri $IX1,    #0x0a40
lri $WR1,    #0x60ab
cw 0x15
call send_back  ; 15061 (0x3ad5)

lri $AR1,    #0x5f98
lri $IX1,    #0xae42
lri $WR1,    #0x3f8d
cw 0x15
call send_back  ; 15062 (0x3ad6)

lri $AR1,    #0xac6f
lri $IX1,    #0xb2fe
lri $WR1,    #0x74c6
cw 0x15
call send_back  ; 15063 (0x3ad7)

lri $AR1,    #0x70a5
lri $IX1,    #0x3840
lri $WR1,    #0xa6cd
cw 0x15
call send_back  ; 15064 (0x3ad8)

lri $AR1,    #0xd4d3
lri $IX1,    #0xb9a4
lri $WR1,    #0xc851
cw 0x15
call send_back  ; 15065 (0x3ad9)

lri $AR1,    #0x581a
lri $IX1,    #0x77de
lri $WR1,    #0x8870
cw 0x15
call send_back  ; 15066 (0x3ada)

lri $AR1,    #0xd4c7
lri $IX1,    #0xc66a
lri $WR1,    #0x3c4b
cw 0x15
call send_back  ; 15067 (0x3adb)

lri $AR1,    #0x80e7
lri $IX1,    #0xd1dc
lri $WR1,    #0x9e81
cw 0x15
call send_back  ; 15068 (0x3adc)

lri $AR1,    #0x6796
lri $IX1,    #0x5b84
lri $WR1,    #0x7a9b
cw 0x15
call send_back  ; 15069 (0x3add)

lri $AR1,    #0x475d
lri $IX1,    #0xfb9c
lri $WR1,    #0x9800
cw 0x15
call send_back  ; 15070 (0x3ade)

lri $AR1,    #0xc577
lri $IX1,    #0xdb98
lri $WR1,    #0xd97e
cw 0x15
call send_back  ; 15071 (0x3adf)

lri $AR1,    #0x5d33
lri $IX1,    #0xa6e2
lri $WR1,    #0x6bfe
cw 0x15
call send_back  ; 15072 (0x3ae0)

lri $AR1,    #0x3e62
lri $IX1,    #0xc8ac
lri $WR1,    #0x6867
cw 0x15
call send_back  ; 15073 (0x3ae1)

lri $AR1,    #0x4d0d
lri $IX1,    #0x1200
lri $WR1,    #0x5a4a
cw 0x15
call send_back  ; 15074 (0x3ae2)

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