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

lri $AR1,    #0x768c
lri $IX1,    #0x905a
lri $WR1,    #0x0904
cw 0x9
call send_back  ; 2049 (0x0801)

lri $AR1,    #0xc132
lri $IX1,    #0x5504
lri $WR1,    #0x7bd6
cw 0x9
call send_back  ; 2050 (0x0802)

lri $AR1,    #0x9a72
lri $IX1,    #0x57ca
lri $WR1,    #0xdd1a
cw 0x9
call send_back  ; 2051 (0x0803)

lri $AR1,    #0x7a78
lri $IX1,    #0x6a48
lri $WR1,    #0xd382
cw 0x9
call send_back  ; 2052 (0x0804)

lri $AR1,    #0xbcc2
lri $IX1,    #0xa59a
lri $WR1,    #0x4326
cw 0x9
call send_back  ; 2053 (0x0805)

lri $AR1,    #0x109a
lri $IX1,    #0x2ada
lri $WR1,    #0x75ac
cw 0x9
call send_back  ; 2054 (0x0806)

lri $AR1,    #0xe45a
lri $IX1,    #0xd750
lri $WR1,    #0x3c4c
cw 0x9
call send_back  ; 2055 (0x0807)

lri $AR1,    #0xe322
lri $IX1,    #0x3f1e
lri $WR1,    #0x440a
cw 0x9
call send_back  ; 2056 (0x0808)

lri $AR1,    #0x4b7c
lri $IX1,    #0x4fe0
lri $WR1,    #0x5a6c
cw 0x9
call send_back  ; 2057 (0x0809)

lri $AR1,    #0x3c04
lri $IX1,    #0x3a66
lri $WR1,    #0xe11e
cw 0x9
call send_back  ; 2058 (0x080a)

lri $AR1,    #0xe53e
lri $IX1,    #0xd66c
lri $WR1,    #0xd718
cw 0x9
call send_back  ; 2059 (0x080b)

lri $AR1,    #0x71d0
lri $IX1,    #0xff58
lri $WR1,    #0x2212
cw 0x9
call send_back  ; 2060 (0x080c)

lri $AR1,    #0x2ac0
lri $IX1,    #0xc58c
lri $WR1,    #0x4094
cw 0x9
call send_back  ; 2061 (0x080d)

lri $AR1,    #0x2f92
lri $IX1,    #0xfb2e
lri $WR1,    #0x23f8
cw 0x9
call send_back  ; 2062 (0x080e)

lri $AR1,    #0x86a2
lri $IX1,    #0xc7f4
lri $WR1,    #0x46e8
cw 0x9
call send_back  ; 2063 (0x080f)

lri $AR1,    #0x04ac
lri $IX1,    #0x9158
lri $WR1,    #0xb7da
cw 0x9
call send_back  ; 2064 (0x0810)

lri $AR1,    #0x03a8
lri $IX1,    #0xf3a0
lri $WR1,    #0xf572
cw 0x9
call send_back  ; 2065 (0x0811)

lri $AR1,    #0x1728
lri $IX1,    #0xe760
lri $WR1,    #0x560c
cw 0x9
call send_back  ; 2066 (0x0812)

lri $AR1,    #0x6de4
lri $IX1,    #0x7528
lri $WR1,    #0x83d2
cw 0x9
call send_back  ; 2067 (0x0813)

lri $AR1,    #0x37d8
lri $IX1,    #0x139c
lri $WR1,    #0x5138
cw 0x9
call send_back  ; 2068 (0x0814)

lri $AR1,    #0x7c8a
lri $IX1,    #0xc97e
lri $WR1,    #0x83c4
cw 0x9
call send_back  ; 2069 (0x0815)

lri $AR1,    #0xc7ea
lri $IX1,    #0x1f68
lri $WR1,    #0xb676
cw 0x9
call send_back  ; 2070 (0x0816)

lri $AR1,    #0x7c98
lri $IX1,    #0xdcb6
lri $WR1,    #0x27b2
cw 0x9
call send_back  ; 2071 (0x0817)

lri $AR1,    #0xfc1e
lri $IX1,    #0xf8a2
lri $WR1,    #0x4818
cw 0x9
call send_back  ; 2072 (0x0818)

lri $AR1,    #0xf38a
lri $IX1,    #0x691c
lri $WR1,    #0x508a
cw 0x9
call send_back  ; 2073 (0x0819)

lri $AR1,    #0x323c
lri $IX1,    #0xf40c
lri $WR1,    #0x6d4e
cw 0x9
call send_back  ; 2074 (0x081a)

lri $AR1,    #0x6b56
lri $IX1,    #0xc22a
lri $WR1,    #0x9fc0
cw 0x9
call send_back  ; 2075 (0x081b)

lri $AR1,    #0x622e
lri $IX1,    #0x853c
lri $WR1,    #0xe96a
cw 0x9
call send_back  ; 2076 (0x081c)

lri $AR1,    #0xafb4
lri $IX1,    #0xf3ba
lri $WR1,    #0x94e0
cw 0x9
call send_back  ; 2077 (0x081d)

lri $AR1,    #0x542a
lri $IX1,    #0xeefa
lri $WR1,    #0xd1dc
cw 0x9
call send_back  ; 2078 (0x081e)

lri $AR1,    #0xd720
lri $IX1,    #0xe5ea
lri $WR1,    #0x64b0
cw 0x9
call send_back  ; 2079 (0x081f)

lri $AR1,    #0x5256
lri $IX1,    #0x8962
lri $WR1,    #0xaaa2
cw 0x9
call send_back  ; 2080 (0x0820)

lri $AR1,    #0x208e
lri $IX1,    #0x2b20
lri $WR1,    #0x5a50
cw 0x9
call send_back  ; 2081 (0x0821)

lri $AR1,    #0xa46e
lri $IX1,    #0x71ea
lri $WR1,    #0xed5c
cw 0x9
call send_back  ; 2082 (0x0822)

lri $AR1,    #0x992c
lri $IX1,    #0x5daa
lri $WR1,    #0xd140
cw 0x9
call send_back  ; 2083 (0x0823)

lri $AR1,    #0x68b6
lri $IX1,    #0xab90
lri $WR1,    #0xa7ac
cw 0x9
call send_back  ; 2084 (0x0824)

lri $AR1,    #0x4438
lri $IX1,    #0x9f50
lri $WR1,    #0xd1b6
cw 0x9
call send_back  ; 2085 (0x0825)

lri $AR1,    #0x6dde
lri $IX1,    #0x8436
lri $WR1,    #0x7226
cw 0x9
call send_back  ; 2086 (0x0826)

lri $AR1,    #0xc148
lri $IX1,    #0x0568
lri $WR1,    #0xaf56
cw 0x9
call send_back  ; 2087 (0x0827)

lri $AR1,    #0xadfc
lri $IX1,    #0x1e9e
lri $WR1,    #0xe162
cw 0x9
call send_back  ; 2088 (0x0828)

lri $AR1,    #0xcc00
lri $IX1,    #0xa0c0
lri $WR1,    #0x5c8a
cw 0x9
call send_back  ; 2089 (0x0829)

lri $AR1,    #0x136c
lri $IX1,    #0xe6e8
lri $WR1,    #0xdf76
cw 0x9
call send_back  ; 2090 (0x082a)

lri $AR1,    #0x0aa8
lri $IX1,    #0x80e4
lri $WR1,    #0x1398
cw 0x9
call send_back  ; 2091 (0x082b)

lri $AR1,    #0x649c
lri $IX1,    #0x1a14
lri $WR1,    #0x3486
cw 0x9
call send_back  ; 2092 (0x082c)

lri $AR1,    #0x177a
lri $IX1,    #0xaf16
lri $WR1,    #0x20c2
cw 0x9
call send_back  ; 2093 (0x082d)

lri $AR1,    #0xb49a
lri $IX1,    #0x075e
lri $WR1,    #0x0996
cw 0x9
call send_back  ; 2094 (0x082e)

lri $AR1,    #0x2344
lri $IX1,    #0xc594
lri $WR1,    #0x9f80
cw 0x9
call send_back  ; 2095 (0x082f)

lri $AR1,    #0xa282
lri $IX1,    #0xed06
lri $WR1,    #0x8140
cw 0x9
call send_back  ; 2096 (0x0830)

lri $AR1,    #0x9e18
lri $IX1,    #0x9c58
lri $WR1,    #0x7f24
cw 0x9
call send_back  ; 2097 (0x0831)

lri $AR1,    #0x2a72
lri $IX1,    #0xe858
lri $WR1,    #0xbea2
cw 0x9
call send_back  ; 2098 (0x0832)

lri $AR1,    #0x9dae
lri $IX1,    #0xa51e
lri $WR1,    #0xc1f8
cw 0x9
call send_back  ; 2099 (0x0833)

lri $AR1,    #0xef52
lri $IX1,    #0x036a
lri $WR1,    #0xfb0c
cw 0x9
call send_back  ; 2100 (0x0834)

lri $AR1,    #0xdf42
lri $IX1,    #0x1cae
lri $WR1,    #0x4424
cw 0x9
call send_back  ; 2101 (0x0835)

lri $AR1,    #0xd4fe
lri $IX1,    #0x9996
lri $WR1,    #0xbfb8
cw 0x9
call send_back  ; 2102 (0x0836)

lri $AR1,    #0xe570
lri $IX1,    #0x5054
lri $WR1,    #0x0e70
cw 0x9
call send_back  ; 2103 (0x0837)

lri $AR1,    #0x9f1c
lri $IX1,    #0xb5f4
lri $WR1,    #0x1936
cw 0x9
call send_back  ; 2104 (0x0838)

lri $AR1,    #0x70f4
lri $IX1,    #0xfa8e
lri $WR1,    #0xeb34
cw 0x9
call send_back  ; 2105 (0x0839)

lri $AR1,    #0x3142
lri $IX1,    #0x55f2
lri $WR1,    #0xc6b4
cw 0x9
call send_back  ; 2106 (0x083a)

lri $AR1,    #0x0dd4
lri $IX1,    #0x4aa6
lri $WR1,    #0x4276
cw 0x9
call send_back  ; 2107 (0x083b)

lri $AR1,    #0x2196
lri $IX1,    #0x3c64
lri $WR1,    #0x1fd6
cw 0x9
call send_back  ; 2108 (0x083c)

lri $AR1,    #0x44c6
lri $IX1,    #0xa77e
lri $WR1,    #0xcca4
cw 0x9
call send_back  ; 2109 (0x083d)

lri $AR1,    #0xafb0
lri $IX1,    #0xdff0
lri $WR1,    #0xd062
cw 0x9
call send_back  ; 2110 (0x083e)

lri $AR1,    #0xd350
lri $IX1,    #0xc61c
lri $WR1,    #0x11d0
cw 0x9
call send_back  ; 2111 (0x083f)

lri $AR1,    #0xfdce
lri $IX1,    #0x9a68
lri $WR1,    #0xb942
cw 0x9
call send_back  ; 2112 (0x0840)

lri $AR1,    #0xbb9a
lri $IX1,    #0x6148
lri $WR1,    #0x8df4
cw 0x9
call send_back  ; 2113 (0x0841)

lri $AR1,    #0xc324
lri $IX1,    #0x34dc
lri $WR1,    #0x6340
cw 0x9
call send_back  ; 2114 (0x0842)

lri $AR1,    #0xa750
lri $IX1,    #0xdfd2
lri $WR1,    #0x5112
cw 0x9
call send_back  ; 2115 (0x0843)

lri $AR1,    #0xb26a
lri $IX1,    #0xdef2
lri $WR1,    #0x9806
cw 0x9
call send_back  ; 2116 (0x0844)

lri $AR1,    #0x9fa0
lri $IX1,    #0xa3b6
lri $WR1,    #0xacb2
cw 0x9
call send_back  ; 2117 (0x0845)

lri $AR1,    #0xa05c
lri $IX1,    #0x2e62
lri $WR1,    #0x0aac
cw 0x9
call send_back  ; 2118 (0x0846)

lri $AR1,    #0x1e94
lri $IX1,    #0xb4e6
lri $WR1,    #0x96b4
cw 0x9
call send_back  ; 2119 (0x0847)

lri $AR1,    #0x325c
lri $IX1,    #0x8e0c
lri $WR1,    #0x9966
cw 0x9
call send_back  ; 2120 (0x0848)

lri $AR1,    #0x9cfa
lri $IX1,    #0x1ec0
lri $WR1,    #0x7bcc
cw 0x9
call send_back  ; 2121 (0x0849)

lri $AR1,    #0xa5ec
lri $IX1,    #0x2aa0
lri $WR1,    #0xbea6
cw 0x9
call send_back  ; 2122 (0x084a)

lri $AR1,    #0x9a04
lri $IX1,    #0xc7fe
lri $WR1,    #0xeab2
cw 0x9
call send_back  ; 2123 (0x084b)

lri $AR1,    #0x361a
lri $IX1,    #0x8d34
lri $WR1,    #0x6048
cw 0x9
call send_back  ; 2124 (0x084c)

lri $AR1,    #0x50d0
lri $IX1,    #0xe94e
lri $WR1,    #0x6b6a
cw 0x9
call send_back  ; 2125 (0x084d)

lri $AR1,    #0xe4b8
lri $IX1,    #0x52ca
lri $WR1,    #0x6ffc
cw 0x9
call send_back  ; 2126 (0x084e)

lri $AR1,    #0x820e
lri $IX1,    #0xaf34
lri $WR1,    #0x9c96
cw 0x9
call send_back  ; 2127 (0x084f)

lri $AR1,    #0x1958
lri $IX1,    #0x6a30
lri $WR1,    #0xe0b2
cw 0x9
call send_back  ; 2128 (0x0850)

lri $AR1,    #0x86ea
lri $IX1,    #0x286e
lri $WR1,    #0xf346
cw 0x9
call send_back  ; 2129 (0x0851)

lri $AR1,    #0xc0f0
lri $IX1,    #0x9832
lri $WR1,    #0x710e
cw 0x9
call send_back  ; 2130 (0x0852)

lri $AR1,    #0xec78
lri $IX1,    #0x8292
lri $WR1,    #0xd824
cw 0x9
call send_back  ; 2131 (0x0853)

lri $AR1,    #0x7d3c
lri $IX1,    #0x546c
lri $WR1,    #0xd3ca
cw 0x9
call send_back  ; 2132 (0x0854)

lri $AR1,    #0xbdc4
lri $IX1,    #0xe306
lri $WR1,    #0xf788
cw 0x9
call send_back  ; 2133 (0x0855)

lri $AR1,    #0x2384
lri $IX1,    #0xffee
lri $WR1,    #0xf2fe
cw 0x9
call send_back  ; 2134 (0x0856)

lri $AR1,    #0x04bc
lri $IX1,    #0x030e
lri $WR1,    #0x105a
cw 0x9
call send_back  ; 2135 (0x0857)

lri $AR1,    #0x6718
lri $IX1,    #0xa0ce
lri $WR1,    #0x8c3c
cw 0x9
call send_back  ; 2136 (0x0858)

lri $AR1,    #0x892a
lri $IX1,    #0x3a16
lri $WR1,    #0x0018
cw 0x9
call send_back  ; 2137 (0x0859)

lri $AR1,    #0x3416
lri $IX1,    #0x54ea
lri $WR1,    #0x4f6a
cw 0x9
call send_back  ; 2138 (0x085a)

lri $AR1,    #0x0ede
lri $IX1,    #0xf1fa
lri $WR1,    #0xd91e
cw 0x9
call send_back  ; 2139 (0x085b)

lri $AR1,    #0x13a8
lri $IX1,    #0x300a
lri $WR1,    #0x2346
cw 0x9
call send_back  ; 2140 (0x085c)

lri $AR1,    #0xeb4c
lri $IX1,    #0xbd66
lri $WR1,    #0x1a78
cw 0x9
call send_back  ; 2141 (0x085d)

lri $AR1,    #0x1382
lri $IX1,    #0xd87e
lri $WR1,    #0x56a6
cw 0x9
call send_back  ; 2142 (0x085e)

lri $AR1,    #0x5cc4
lri $IX1,    #0x9106
lri $WR1,    #0x474a
cw 0x9
call send_back  ; 2143 (0x085f)

lri $AR1,    #0x36be
lri $IX1,    #0x8f84
lri $WR1,    #0x7622
cw 0x9
call send_back  ; 2144 (0x0860)

lri $AR1,    #0x3c5e
lri $IX1,    #0x14c4
lri $WR1,    #0xbe20
cw 0x9
call send_back  ; 2145 (0x0861)

lri $AR1,    #0x8ec6
lri $IX1,    #0x098a
lri $WR1,    #0x5a70
cw 0x9
call send_back  ; 2146 (0x0862)

lri $AR1,    #0x0e0e
lri $IX1,    #0xc2ae
lri $WR1,    #0x6f42
cw 0x9
call send_back  ; 2147 (0x0863)

lri $AR1,    #0xdf86
lri $IX1,    #0x2ca0
lri $WR1,    #0xec02
cw 0x9
call send_back  ; 2148 (0x0864)

lri $AR1,    #0xb8a6
lri $IX1,    #0xb5be
lri $WR1,    #0x8b4c
cw 0x9
call send_back  ; 2149 (0x0865)

lri $AR1,    #0x4284
lri $IX1,    #0x1a10
lri $WR1,    #0x2d2e
cw 0x9
call send_back  ; 2150 (0x0866)

lri $AR1,    #0xf270
lri $IX1,    #0xc338
lri $WR1,    #0x1a16
cw 0x9
call send_back  ; 2151 (0x0867)

lri $AR1,    #0xb932
lri $IX1,    #0x729c
lri $WR1,    #0x7c88
cw 0x9
call send_back  ; 2152 (0x0868)

lri $AR1,    #0x4d18
lri $IX1,    #0xddce
lri $WR1,    #0x3c60
cw 0x9
call send_back  ; 2153 (0x0869)

lri $AR1,    #0x26f2
lri $IX1,    #0x2b42
lri $WR1,    #0xcda0
cw 0x9
call send_back  ; 2154 (0x086a)

lri $AR1,    #0x6688
lri $IX1,    #0xf22a
lri $WR1,    #0x4914
cw 0x9
call send_back  ; 2155 (0x086b)

lri $AR1,    #0xe03e
lri $IX1,    #0x2aec
lri $WR1,    #0xeec4
cw 0x9
call send_back  ; 2156 (0x086c)

lri $AR1,    #0xba72
lri $IX1,    #0x8924
lri $WR1,    #0xa1b8
cw 0x9
call send_back  ; 2157 (0x086d)

lri $AR1,    #0xfc5c
lri $IX1,    #0xe824
lri $WR1,    #0xf71a
cw 0x9
call send_back  ; 2158 (0x086e)

lri $AR1,    #0x8334
lri $IX1,    #0xa444
lri $WR1,    #0x9fde
cw 0x9
call send_back  ; 2159 (0x086f)

lri $AR1,    #0x0420
lri $IX1,    #0xf808
lri $WR1,    #0xc89e
cw 0x9
call send_back  ; 2160 (0x0870)

lri $AR1,    #0xa6ce
lri $IX1,    #0x9dce
lri $WR1,    #0x0006
cw 0x9
call send_back  ; 2161 (0x0871)

lri $AR1,    #0x9014
lri $IX1,    #0x96a0
lri $WR1,    #0x4e40
cw 0x9
call send_back  ; 2162 (0x0872)

lri $AR1,    #0x7774
lri $IX1,    #0x75f4
lri $WR1,    #0x4d04
cw 0x9
call send_back  ; 2163 (0x0873)

lri $AR1,    #0x0d84
lri $IX1,    #0x42d2
lri $WR1,    #0xe6de
cw 0x9
call send_back  ; 2164 (0x0874)

lri $AR1,    #0xb5bc
lri $IX1,    #0x0378
lri $WR1,    #0xa922
cw 0x9
call send_back  ; 2165 (0x0875)

lri $AR1,    #0x51ea
lri $IX1,    #0x371e
lri $WR1,    #0x6238
cw 0x9
call send_back  ; 2166 (0x0876)

lri $AR1,    #0x64b2
lri $IX1,    #0x1654
lri $WR1,    #0x8920
cw 0x9
call send_back  ; 2167 (0x0877)

lri $AR1,    #0x0102
lri $IX1,    #0x7260
lri $WR1,    #0x3598
cw 0x9
call send_back  ; 2168 (0x0878)

lri $AR1,    #0x3edc
lri $IX1,    #0xdfa6
lri $WR1,    #0x2768
cw 0x9
call send_back  ; 2169 (0x0879)

lri $AR1,    #0x322c
lri $IX1,    #0xcaa0
lri $WR1,    #0x3a62
cw 0x9
call send_back  ; 2170 (0x087a)

lri $AR1,    #0x95a4
lri $IX1,    #0x029a
lri $WR1,    #0x4468
cw 0x9
call send_back  ; 2171 (0x087b)

lri $AR1,    #0x5656
lri $IX1,    #0xc65e
lri $WR1,    #0x812c
cw 0x9
call send_back  ; 2172 (0x087c)

lri $AR1,    #0xbaf6
lri $IX1,    #0xae64
lri $WR1,    #0xd38e
cw 0x9
call send_back  ; 2173 (0x087d)

lri $AR1,    #0x4014
lri $IX1,    #0x5750
lri $WR1,    #0xa898
cw 0x9
call send_back  ; 2174 (0x087e)

lri $AR1,    #0x67aa
lri $IX1,    #0x2a18
lri $WR1,    #0x1aca
cw 0x9
call send_back  ; 2175 (0x087f)

lri $AR1,    #0x7c1a
lri $IX1,    #0xabe4
lri $WR1,    #0xd7b4
cw 0x9
call send_back  ; 2176 (0x0880)

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

