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

lri $AR1,    #0x5e8d
lri $IX1,    #0x8a24
lri $WR1,    #0x4351
cw 0x15
call send_back  ; 1968 (0x07b0)

lri $AR1,    #0x6cf4
lri $IX1,    #0x9e06
lri $WR1,    #0xae24
cw 0x15
call send_back  ; 1969 (0x07b1)

lri $AR1,    #0xca73
lri $IX1,    #0x5be4
lri $WR1,    #0x72f9
cw 0x15
call send_back  ; 1970 (0x07b2)

lri $AR1,    #0x7108
lri $IX1,    #0x1f78
lri $WR1,    #0x3227
cw 0x15
call send_back  ; 1971 (0x07b3)

lri $AR1,    #0x7756
lri $IX1,    #0xf97a
lri $WR1,    #0xa13c
cw 0x15
call send_back  ; 1972 (0x07b4)

lri $AR1,    #0x680a
lri $IX1,    #0xfcbe
lri $WR1,    #0x8ac0
cw 0x15
call send_back  ; 1973 (0x07b5)

lri $AR1,    #0x7bc0
lri $IX1,    #0x2844
lri $WR1,    #0xd0f7
cw 0x15
call send_back  ; 1974 (0x07b6)

lri $AR1,    #0x895e
lri $IX1,    #0xdc02
lri $WR1,    #0x5cbc
cw 0x15
call send_back  ; 1975 (0x07b7)

lri $AR1,    #0x5802
lri $IX1,    #0x3296
lri $WR1,    #0xa700
cw 0x15
call send_back  ; 1976 (0x07b8)

lri $AR1,    #0xa985
lri $IX1,    #0x9276
lri $WR1,    #0x7501
cw 0x15
call send_back  ; 1977 (0x07b9)

lri $AR1,    #0x33bc
lri $IX1,    #0x6dfa
lri $WR1,    #0x4cc6
cw 0x15
call send_back  ; 1978 (0x07ba)

lri $AR1,    #0x3261
lri $IX1,    #0x99ca
lri $WR1,    #0x78f6
cw 0x15
call send_back  ; 1979 (0x07bb)

lri $AR1,    #0x22e6
lri $IX1,    #0xfdec
lri $WR1,    #0x0884
cw 0x15
call send_back  ; 1980 (0x07bc)

lri $AR1,    #0x7702
lri $IX1,    #0xce2c
lri $WR1,    #0xf06c
cw 0x15
call send_back  ; 1981 (0x07bd)

lri $AR1,    #0x7a57
lri $IX1,    #0x0b04
lri $WR1,    #0x32db
cw 0x15
call send_back  ; 1982 (0x07be)

lri $AR1,    #0x2aea
lri $IX1,    #0xecb6
lri $WR1,    #0x9104
cw 0x15
call send_back  ; 1983 (0x07bf)

lri $AR1,    #0xbbcf
lri $IX1,    #0x26be
lri $WR1,    #0x3208
cw 0x15
call send_back  ; 1984 (0x07c0)

lri $AR1,    #0x44d5
lri $IX1,    #0xca6c
lri $WR1,    #0xb31d
cw 0x15
call send_back  ; 1985 (0x07c1)

lri $AR1,    #0x217c
lri $IX1,    #0x13a6
lri $WR1,    #0xa27f
cw 0x15
call send_back  ; 1986 (0x07c2)

lri $AR1,    #0x9508
lri $IX1,    #0xbbb2
lri $WR1,    #0x5832
cw 0x15
call send_back  ; 1987 (0x07c3)

lri $AR1,    #0x5106
lri $IX1,    #0xaa14
lri $WR1,    #0x5522
cw 0x15
call send_back  ; 1988 (0x07c4)

lri $AR1,    #0x570d
lri $IX1,    #0x2446
lri $WR1,    #0xaaca
cw 0x15
call send_back  ; 1989 (0x07c5)

lri $AR1,    #0xbe0f
lri $IX1,    #0x1168
lri $WR1,    #0xcad7
cw 0x15
call send_back  ; 1990 (0x07c6)

lri $AR1,    #0x8704
lri $IX1,    #0xa7b4
lri $WR1,    #0xdfdf
cw 0x15
call send_back  ; 1991 (0x07c7)

lri $AR1,    #0x4447
lri $IX1,    #0x05be
lri $WR1,    #0xd5c2
cw 0x15
call send_back  ; 1992 (0x07c8)

lri $AR1,    #0x426a
lri $IX1,    #0xf254
lri $WR1,    #0xe1c1
cw 0x15
call send_back  ; 1993 (0x07c9)

lri $AR1,    #0x80e8
lri $IX1,    #0x6222
lri $WR1,    #0x87dd
cw 0x15
call send_back  ; 1994 (0x07ca)

lri $AR1,    #0x7c5e
lri $IX1,    #0x92ba
lri $WR1,    #0xac86
cw 0x15
call send_back  ; 1995 (0x07cb)

lri $AR1,    #0x73c8
lri $IX1,    #0xa752
lri $WR1,    #0x972f
cw 0x15
call send_back  ; 1996 (0x07cc)

lri $AR1,    #0xcd6b
lri $IX1,    #0xdbb8
lri $WR1,    #0x43e8
cw 0x15
call send_back  ; 1997 (0x07cd)

lri $AR1,    #0x6fda
lri $IX1,    #0xb6ec
lri $WR1,    #0x5f67
cw 0x15
call send_back  ; 1998 (0x07ce)

lri $AR1,    #0xa6d0
lri $IX1,    #0x46cc
lri $WR1,    #0xaab7
cw 0x15
call send_back  ; 1999 (0x07cf)

lri $AR1,    #0x6339
lri $IX1,    #0x7b30
lri $WR1,    #0x2909
cw 0x15
call send_back  ; 2000 (0x07d0)

lri $AR1,    #0xb144
lri $IX1,    #0x4f1e
lri $WR1,    #0x43ba
cw 0x15
call send_back  ; 2001 (0x07d1)

lri $AR1,    #0x7eb0
lri $IX1,    #0xb32e
lri $WR1,    #0x5e1b
cw 0x15
call send_back  ; 2002 (0x07d2)

lri $AR1,    #0x9f47
lri $IX1,    #0x3cf4
lri $WR1,    #0x841b
cw 0x15
call send_back  ; 2003 (0x07d3)

lri $AR1,    #0x44c0
lri $IX1,    #0x9b82
lri $WR1,    #0x5447
cw 0x15
call send_back  ; 2004 (0x07d4)

lri $AR1,    #0xbae1
lri $IX1,    #0xd9b4
lri $WR1,    #0x5f4d
cw 0x15
call send_back  ; 2005 (0x07d5)

lri $AR1,    #0x882b
lri $IX1,    #0xab90
lri $WR1,    #0x5481
cw 0x15
call send_back  ; 2006 (0x07d6)

lri $AR1,    #0x76ee
lri $IX1,    #0x844c
lri $WR1,    #0x5474
cw 0x15
call send_back  ; 2007 (0x07d7)

lri $AR1,    #0x61fa
lri $IX1,    #0x1f36
lri $WR1,    #0x8838
cw 0x15
call send_back  ; 2008 (0x07d8)

lri $AR1,    #0xcbe4
lri $IX1,    #0x9e36
lri $WR1,    #0x854f
cw 0x15
call send_back  ; 2009 (0x07d9)

lri $AR1,    #0xa706
lri $IX1,    #0x8508
lri $WR1,    #0x73f3
cw 0x15
call send_back  ; 2010 (0x07da)

lri $AR1,    #0xa823
lri $IX1,    #0xc8ee
lri $WR1,    #0xbe9c
cw 0x15
call send_back  ; 2011 (0x07db)

lri $AR1,    #0xe4ff
lri $IX1,    #0x0904
lri $WR1,    #0xa783
cw 0x15
call send_back  ; 2012 (0x07dc)

lri $AR1,    #0x3bae
lri $IX1,    #0xebe6
lri $WR1,    #0x5a04
cw 0x15
call send_back  ; 2013 (0x07dd)

lri $AR1,    #0x6ef3
lri $IX1,    #0xb3d0
lri $WR1,    #0x4ba3
cw 0x15
call send_back  ; 2014 (0x07de)

lri $AR1,    #0x6780
lri $IX1,    #0x7b00
lri $WR1,    #0x6183
cw 0x15
call send_back  ; 2015 (0x07df)

lri $AR1,    #0x815c
lri $IX1,    #0x566c
lri $WR1,    #0xb527
cw 0x15
call send_back  ; 2016 (0x07e0)

lri $AR1,    #0x984f
lri $IX1,    #0xf58c
lri $WR1,    #0x5c4c
cw 0x15
call send_back  ; 2017 (0x07e1)

lri $AR1,    #0x859d
lri $IX1,    #0x5a6e
lri $WR1,    #0xa59d
cw 0x15
call send_back  ; 2018 (0x07e2)

lri $AR1,    #0x54d5
lri $IX1,    #0x15b2
lri $WR1,    #0xad33
cw 0x15
call send_back  ; 2019 (0x07e3)

lri $AR1,    #0x7d17
lri $IX1,    #0x2eb6
lri $WR1,    #0x617b
cw 0x15
call send_back  ; 2020 (0x07e4)

lri $AR1,    #0xc795
lri $IX1,    #0xa87a
lri $WR1,    #0x6a98
cw 0x15
call send_back  ; 2021 (0x07e5)

lri $AR1,    #0x9ba5
lri $IX1,    #0x88aa
lri $WR1,    #0xc3c5
cw 0x15
call send_back  ; 2022 (0x07e6)

lri $AR1,    #0x8c29
lri $IX1,    #0x863a
lri $WR1,    #0x17cc
cw 0x15
call send_back  ; 2023 (0x07e7)

lri $AR1,    #0x19ae
lri $IX1,    #0x31f0
lri $WR1,    #0x7730
cw 0x15
call send_back  ; 2024 (0x07e8)

lri $AR1,    #0x8804
lri $IX1,    #0xa38c
lri $WR1,    #0xa7f8
cw 0x15
call send_back  ; 2025 (0x07e9)

lri $AR1,    #0x45a6
lri $IX1,    #0x9a9c
lri $WR1,    #0x7cd5
cw 0x15
call send_back  ; 2026 (0x07ea)

lri $AR1,    #0x96be
lri $IX1,    #0xb2d2
lri $WR1,    #0x3289
cw 0x15
call send_back  ; 2027 (0x07eb)

lri $AR1,    #0x5d19
lri $IX1,    #0xe7f4
lri $WR1,    #0xa84c
cw 0x15
call send_back  ; 2028 (0x07ec)

lri $AR1,    #0x51d9
lri $IX1,    #0x4e22
lri $WR1,    #0x4112
cw 0x15
call send_back  ; 2029 (0x07ed)

lri $AR1,    #0x3532
lri $IX1,    #0xb79e
lri $WR1,    #0xb960
cw 0x15
call send_back  ; 2030 (0x07ee)

lri $AR1,    #0xbc0b
lri $IX1,    #0x21c4
lri $WR1,    #0x9eba
cw 0x15
call send_back  ; 2031 (0x07ef)

lri $AR1,    #0xbac6
lri $IX1,    #0x4f60
lri $WR1,    #0x3b2f
cw 0x15
call send_back  ; 2032 (0x07f0)

lri $AR1,    #0x9807
lri $IX1,    #0x0f26
lri $WR1,    #0x9121
cw 0x15
call send_back  ; 2033 (0x07f1)

lri $AR1,    #0xd1d4
lri $IX1,    #0x7154
lri $WR1,    #0x50d4
cw 0x15
call send_back  ; 2034 (0x07f2)

lri $AR1,    #0xb2c1
lri $IX1,    #0xc05a
lri $WR1,    #0xe2c9
cw 0x15
call send_back  ; 2035 (0x07f3)

lri $AR1,    #0x9c98
lri $IX1,    #0x8c9e
lri $WR1,    #0x978f
cw 0x15
call send_back  ; 2036 (0x07f4)

lri $AR1,    #0xe93b
lri $IX1,    #0xa40a
lri $WR1,    #0xa6fc
cw 0x15
call send_back  ; 2037 (0x07f5)

lri $AR1,    #0xb20d
lri $IX1,    #0x82a8
lri $WR1,    #0x4671
cw 0x15
call send_back  ; 2038 (0x07f6)

lri $AR1,    #0xb1c8
lri $IX1,    #0xc9ee
lri $WR1,    #0x9f37
cw 0x15
call send_back  ; 2039 (0x07f7)

lri $AR1,    #0x4bf2
lri $IX1,    #0xb8dc
lri $WR1,    #0xb37d
cw 0x15
call send_back  ; 2040 (0x07f8)

lri $AR1,    #0x70d9
lri $IX1,    #0x97c6
lri $WR1,    #0x2a0f
cw 0x15
call send_back  ; 2041 (0x07f9)

lri $AR1,    #0x7458
lri $IX1,    #0xaed0
lri $WR1,    #0x6654
cw 0x15
call send_back  ; 2042 (0x07fa)

lri $AR1,    #0x6140
lri $IX1,    #0xceda
lri $WR1,    #0xa39c
cw 0x15
call send_back  ; 2043 (0x07fb)

lri $AR1,    #0xbaa8
lri $IX1,    #0xd112
lri $WR1,    #0x605e
cw 0x15
call send_back  ; 2044 (0x07fc)

lri $AR1,    #0xd7fd
lri $IX1,    #0xd9e0
lri $WR1,    #0x1f5f
cw 0x15
call send_back  ; 2045 (0x07fd)

lri $AR1,    #0x7827
lri $IX1,    #0xc048
lri $WR1,    #0x426f
cw 0x15
call send_back  ; 2046 (0x07fe)

lri $AR1,    #0x2b82
lri $IX1,    #0xdb84
lri $WR1,    #0x63ac
cw 0x15
call send_back  ; 2047 (0x07ff)

lri $AR1,    #0x2c06
lri $IX1,    #0xc4fe
lri $WR1,    #0x77f3
cw 0x15
call send_back  ; 2048 (0x0800)

lri $AR1,    #0x867b
lri $IX1,    #0x755c
lri $WR1,    #0x8e8c
cw 0x15
call send_back  ; 2049 (0x0801)

lri $AR1,    #0x76e4
lri $IX1,    #0xa7d2
lri $WR1,    #0x8f8f
cw 0x15
call send_back  ; 2050 (0x0802)

lri $AR1,    #0x6e1c
lri $IX1,    #0xbf5c
lri $WR1,    #0x4c2d
cw 0x15
call send_back  ; 2051 (0x0803)

lri $AR1,    #0xbdd7
lri $IX1,    #0xa62c
lri $WR1,    #0x6952
cw 0x15
call send_back  ; 2052 (0x0804)

lri $AR1,    #0x43e2
lri $IX1,    #0x67d0
lri $WR1,    #0x86c8
cw 0x15
call send_back  ; 2053 (0x0805)

lri $AR1,    #0x7cf3
lri $IX1,    #0xbb7a
lri $WR1,    #0x6257
cw 0x15
call send_back  ; 2054 (0x0806)

lri $AR1,    #0x8ada
lri $IX1,    #0x73d8
lri $WR1,    #0xf803
cw 0x15
call send_back  ; 2055 (0x0807)

lri $AR1,    #0xd156
lri $IX1,    #0xf6e8
lri $WR1,    #0xa5ec
cw 0x15
call send_back  ; 2056 (0x0808)

lri $AR1,    #0x3872
lri $IX1,    #0x9856
lri $WR1,    #0x83e2
cw 0x15
call send_back  ; 2057 (0x0809)

lri $AR1,    #0x42ac
lri $IX1,    #0x1594
lri $WR1,    #0x4c40
cw 0x15
call send_back  ; 2058 (0x080a)

lri $AR1,    #0x58b9
lri $IX1,    #0xa372
lri $WR1,    #0xc526
cw 0x15
call send_back  ; 2059 (0x080b)

lri $AR1,    #0x5439
lri $IX1,    #0x194c
lri $WR1,    #0x6e86
cw 0x15
call send_back  ; 2060 (0x080c)

lri $AR1,    #0x4e2a
lri $IX1,    #0xee8c
lri $WR1,    #0xb33e
cw 0x15
call send_back  ; 2061 (0x080d)

lri $AR1,    #0x6562
lri $IX1,    #0x13bc
lri $WR1,    #0x58a0
cw 0x15
call send_back  ; 2062 (0x080e)

lri $AR1,    #0x74f3
lri $IX1,    #0x50b4
lri $WR1,    #0xc9a7
cw 0x15
call send_back  ; 2063 (0x080f)

lri $AR1,    #0x69b0
lri $IX1,    #0xde36
lri $WR1,    #0x8042
cw 0x15
call send_back  ; 2064 (0x0810)

lri $AR1,    #0x71bd
lri $IX1,    #0x89a0
lri $WR1,    #0x98da
cw 0x15
call send_back  ; 2065 (0x0811)

lri $AR1,    #0x8060
lri $IX1,    #0xf5d6
lri $WR1,    #0x69a0
cw 0x15
call send_back  ; 2066 (0x0812)

lri $AR1,    #0x73f7
lri $IX1,    #0x9d28
lri $WR1,    #0x28b1
cw 0x15
call send_back  ; 2067 (0x0813)

lri $AR1,    #0x7361
lri $IX1,    #0x344e
lri $WR1,    #0x2195
cw 0x15
call send_back  ; 2068 (0x0814)

lri $AR1,    #0xb399
lri $IX1,    #0x1740
lri $WR1,    #0x944c
cw 0x15
call send_back  ; 2069 (0x0815)

lri $AR1,    #0xa5e7
lri $IX1,    #0x9d0e
lri $WR1,    #0x7546
cw 0x15
call send_back  ; 2070 (0x0816)

lri $AR1,    #0x726e
lri $IX1,    #0xb068
lri $WR1,    #0xc782
cw 0x15
call send_back  ; 2071 (0x0817)

lri $AR1,    #0x7a69
lri $IX1,    #0xf706
lri $WR1,    #0x8f4f
cw 0x15
call send_back  ; 2072 (0x0818)

lri $AR1,    #0xc8e0
lri $IX1,    #0x4aa8
lri $WR1,    #0x45c0
cw 0x15
call send_back  ; 2073 (0x0819)

lri $AR1,    #0x3832
lri $IX1,    #0x6ad6
lri $WR1,    #0xa26a
cw 0x15
call send_back  ; 2074 (0x081a)

lri $AR1,    #0x8639
lri $IX1,    #0xbf0e
lri $WR1,    #0x6276
cw 0x15
call send_back  ; 2075 (0x081b)

lri $AR1,    #0x785f
lri $IX1,    #0xdd92
lri $WR1,    #0x4997
cw 0x15
call send_back  ; 2076 (0x081c)

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