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

lri $AR1,    #0x4fb4
lri $IX1,    #0x1c52
lri $WR1,    #0xceda
cw 0x5
call send_back  ; 129 (0x0081)

lri $AR1,    #0x227c
lri $IX1,    #0x48c4
lri $WR1,    #0xc9c0
cw 0x5
call send_back  ; 130 (0x0082)

lri $AR1,    #0xe52c
lri $IX1,    #0xca24
lri $WR1,    #0xbe68
cw 0x5
call send_back  ; 131 (0x0083)

lri $AR1,    #0x9d7e
lri $IX1,    #0x5c72
lri $WR1,    #0xdb4c
cw 0x5
call send_back  ; 132 (0x0084)

lri $AR1,    #0x3a7e
lri $IX1,    #0xdd12
lri $WR1,    #0x3abc
cw 0x5
call send_back  ; 133 (0x0085)

lri $AR1,    #0x3fe2
lri $IX1,    #0x8ada
lri $WR1,    #0xfc1c
cw 0x5
call send_back  ; 134 (0x0086)

lri $AR1,    #0x0dc6
lri $IX1,    #0x14d8
lri $WR1,    #0x8650
cw 0x5
call send_back  ; 135 (0x0087)

lri $AR1,    #0x6d42
lri $IX1,    #0x183c
lri $WR1,    #0x4240
cw 0x5
call send_back  ; 136 (0x0088)

lri $AR1,    #0xe43a
lri $IX1,    #0x3b96
lri $WR1,    #0x2584
cw 0x5
call send_back  ; 137 (0x0089)

lri $AR1,    #0x2006
lri $IX1,    #0xee7e
lri $WR1,    #0x1482
cw 0x5
call send_back  ; 138 (0x008a)

lri $AR1,    #0x0c0e
lri $IX1,    #0x0f08
lri $WR1,    #0x561e
cw 0x5
call send_back  ; 139 (0x008b)

lri $AR1,    #0xea28
lri $IX1,    #0x660a
lri $WR1,    #0x6eca
cw 0x5
call send_back  ; 140 (0x008c)

lri $AR1,    #0xf236
lri $IX1,    #0xd650
lri $WR1,    #0x88c2
cw 0x5
call send_back  ; 141 (0x008d)

lri $AR1,    #0xd792
lri $IX1,    #0xb18a
lri $WR1,    #0x65ce
cw 0x5
call send_back  ; 142 (0x008e)

lri $AR1,    #0x4258
lri $IX1,    #0x011c
lri $WR1,    #0x868c
cw 0x5
call send_back  ; 143 (0x008f)

lri $AR1,    #0xf46c
lri $IX1,    #0x6610
lri $WR1,    #0x3db8
cw 0x5
call send_back  ; 144 (0x0090)

lri $AR1,    #0x95e6
lri $IX1,    #0x4150
lri $WR1,    #0xaf1a
cw 0x5
call send_back  ; 145 (0x0091)

lri $AR1,    #0xf1fc
lri $IX1,    #0x6f7c
lri $WR1,    #0xe3e4
cw 0x5
call send_back  ; 146 (0x0092)

lri $AR1,    #0x01d6
lri $IX1,    #0xf0e2
lri $WR1,    #0x99fe
cw 0x5
call send_back  ; 147 (0x0093)

lri $AR1,    #0xc940
lri $IX1,    #0x93a0
lri $WR1,    #0x2476
cw 0x5
call send_back  ; 148 (0x0094)

lri $AR1,    #0x38ea
lri $IX1,    #0x620c
lri $WR1,    #0x0118
cw 0x5
call send_back  ; 149 (0x0095)

lri $AR1,    #0x6afc
lri $IX1,    #0x150e
lri $WR1,    #0xa8f0
cw 0x5
call send_back  ; 150 (0x0096)

lri $AR1,    #0xdae6
lri $IX1,    #0x109a
lri $WR1,    #0xcfa0
cw 0x5
call send_back  ; 151 (0x0097)

lri $AR1,    #0xa97c
lri $IX1,    #0xb104
lri $WR1,    #0xcd7c
cw 0x5
call send_back  ; 152 (0x0098)

lri $AR1,    #0x87b6
lri $IX1,    #0xaf84
lri $WR1,    #0x248c
cw 0x5
call send_back  ; 153 (0x0099)

lri $AR1,    #0xb082
lri $IX1,    #0xba56
lri $WR1,    #0xc718
cw 0x5
call send_back  ; 154 (0x009a)

lri $AR1,    #0x07f4
lri $IX1,    #0xde60
lri $WR1,    #0xa4fe
cw 0x5
call send_back  ; 155 (0x009b)

lri $AR1,    #0xb4e0
lri $IX1,    #0x15e0
lri $WR1,    #0x8d4e
cw 0x5
call send_back  ; 156 (0x009c)

lri $AR1,    #0xf2a8
lri $IX1,    #0x0f0c
lri $WR1,    #0x4664
cw 0x5
call send_back  ; 157 (0x009d)

lri $AR1,    #0x252a
lri $IX1,    #0xfb54
lri $WR1,    #0x9eb6
cw 0x5
call send_back  ; 158 (0x009e)

lri $AR1,    #0x4ad0
lri $IX1,    #0xec26
lri $WR1,    #0x5e16
cw 0x5
call send_back  ; 159 (0x009f)

lri $AR1,    #0xb1cc
lri $IX1,    #0x37f8
lri $WR1,    #0x27ea
cw 0x5
call send_back  ; 160 (0x00a0)

lri $AR1,    #0x3d94
lri $IX1,    #0x857c
lri $WR1,    #0xe6fa
cw 0x5
call send_back  ; 161 (0x00a1)

lri $AR1,    #0x1b3e
lri $IX1,    #0xe712
lri $WR1,    #0x7114
cw 0x5
call send_back  ; 162 (0x00a2)

lri $AR1,    #0x1482
lri $IX1,    #0xc836
lri $WR1,    #0x2bfa
cw 0x5
call send_back  ; 163 (0x00a3)

lri $AR1,    #0xf970
lri $IX1,    #0xc69e
lri $WR1,    #0xded0
cw 0x5
call send_back  ; 164 (0x00a4)

lri $AR1,    #0x35ec
lri $IX1,    #0x74e4
lri $WR1,    #0x00f6
cw 0x5
call send_back  ; 165 (0x00a5)

lri $AR1,    #0xc028
lri $IX1,    #0x1d32
lri $WR1,    #0x679a
cw 0x5
call send_back  ; 166 (0x00a6)

lri $AR1,    #0x4fa6
lri $IX1,    #0xfe1a
lri $WR1,    #0x09e0
cw 0x5
call send_back  ; 167 (0x00a7)

lri $AR1,    #0x4088
lri $IX1,    #0x3074
lri $WR1,    #0x3f68
cw 0x5
call send_back  ; 168 (0x00a8)

lri $AR1,    #0x274c
lri $IX1,    #0x9ecc
lri $WR1,    #0xe2a6
cw 0x5
call send_back  ; 169 (0x00a9)

lri $AR1,    #0xf066
lri $IX1,    #0x3216
lri $WR1,    #0xc796
cw 0x5
call send_back  ; 170 (0x00aa)

lri $AR1,    #0xa542
lri $IX1,    #0xa820
lri $WR1,    #0xe8bc
cw 0x5
call send_back  ; 171 (0x00ab)

lri $AR1,    #0x7498
lri $IX1,    #0xebd8
lri $WR1,    #0xaa06
cw 0x5
call send_back  ; 172 (0x00ac)

lri $AR1,    #0x2698
lri $IX1,    #0xa2e6
lri $WR1,    #0x91cc
cw 0x5
call send_back  ; 173 (0x00ad)

lri $AR1,    #0x6c0a
lri $IX1,    #0xf168
lri $WR1,    #0x8a62
cw 0x5
call send_back  ; 174 (0x00ae)

lri $AR1,    #0x941c
lri $IX1,    #0x8954
lri $WR1,    #0x415a
cw 0x5
call send_back  ; 175 (0x00af)

lri $AR1,    #0x659e
lri $IX1,    #0x59aa
lri $WR1,    #0x0960
cw 0x5
call send_back  ; 176 (0x00b0)

lri $AR1,    #0xcb94
lri $IX1,    #0x324e
lri $WR1,    #0x11fe
cw 0x5
call send_back  ; 177 (0x00b1)

lri $AR1,    #0x63b0
lri $IX1,    #0x973a
lri $WR1,    #0x1228
cw 0x5
call send_back  ; 178 (0x00b2)

lri $AR1,    #0x329a
lri $IX1,    #0x27e8
lri $WR1,    #0xa4f2
cw 0x5
call send_back  ; 179 (0x00b3)

lri $AR1,    #0x744e
lri $IX1,    #0x9ab2
lri $WR1,    #0xb284
cw 0x5
call send_back  ; 180 (0x00b4)

lri $AR1,    #0x70f8
lri $IX1,    #0xaf38
lri $WR1,    #0x6582
cw 0x5
call send_back  ; 181 (0x00b5)

lri $AR1,    #0xd5f0
lri $IX1,    #0x979a
lri $WR1,    #0x3318
cw 0x5
call send_back  ; 182 (0x00b6)

lri $AR1,    #0xf30e
lri $IX1,    #0xe040
lri $WR1,    #0x6446
cw 0x5
call send_back  ; 183 (0x00b7)

lri $AR1,    #0xfcc8
lri $IX1,    #0x2f70
lri $WR1,    #0xe54c
cw 0x5
call send_back  ; 184 (0x00b8)

lri $AR1,    #0x930e
lri $IX1,    #0x712a
lri $WR1,    #0xa098
cw 0x5
call send_back  ; 185 (0x00b9)

lri $AR1,    #0xb560
lri $IX1,    #0x0cb4
lri $WR1,    #0x491a
cw 0x5
call send_back  ; 186 (0x00ba)

lri $AR1,    #0x429c
lri $IX1,    #0x685a
lri $WR1,    #0xe532
cw 0x5
call send_back  ; 187 (0x00bb)

lri $AR1,    #0xb5ce
lri $IX1,    #0xba7a
lri $WR1,    #0xe562
cw 0x5
call send_back  ; 188 (0x00bc)

lri $AR1,    #0x64c0
lri $IX1,    #0x65bc
lri $WR1,    #0xe762
cw 0x5
call send_back  ; 189 (0x00bd)

lri $AR1,    #0x4f00
lri $IX1,    #0x635a
lri $WR1,    #0x9210
cw 0x5
call send_back  ; 190 (0x00be)

lri $AR1,    #0x5a82
lri $IX1,    #0xbbd2
lri $WR1,    #0xbece
cw 0x5
call send_back  ; 191 (0x00bf)

lri $AR1,    #0xbc82
lri $IX1,    #0xbd4a
lri $WR1,    #0x23aa
cw 0x5
call send_back  ; 192 (0x00c0)

lri $AR1,    #0x333e
lri $IX1,    #0x45c8
lri $WR1,    #0xae30
cw 0x5
call send_back  ; 193 (0x00c1)

lri $AR1,    #0xe93e
lri $IX1,    #0x5e2a
lri $WR1,    #0x8484
cw 0x5
call send_back  ; 194 (0x00c2)

lri $AR1,    #0x1c00
lri $IX1,    #0xe84c
lri $WR1,    #0x33fc
cw 0x5
call send_back  ; 195 (0x00c3)

lri $AR1,    #0x8498
lri $IX1,    #0xa7a2
lri $WR1,    #0x7042
cw 0x5
call send_back  ; 196 (0x00c4)

lri $AR1,    #0xb008
lri $IX1,    #0x1726
lri $WR1,    #0x145e
cw 0x5
call send_back  ; 197 (0x00c5)

lri $AR1,    #0x1366
lri $IX1,    #0x071e
lri $WR1,    #0x5ae6
cw 0x5
call send_back  ; 198 (0x00c6)

lri $AR1,    #0x4ea6
lri $IX1,    #0xb280
lri $WR1,    #0x2486
cw 0x5
call send_back  ; 199 (0x00c7)

lri $AR1,    #0x6514
lri $IX1,    #0x115e
lri $WR1,    #0xacfc
cw 0x5
call send_back  ; 200 (0x00c8)

lri $AR1,    #0xb994
lri $IX1,    #0x32de
lri $WR1,    #0xb1aa
cw 0x5
call send_back  ; 201 (0x00c9)

lri $AR1,    #0x9d9e
lri $IX1,    #0xa7a6
lri $WR1,    #0x8b42
cw 0x5
call send_back  ; 202 (0x00ca)

lri $AR1,    #0x192a
lri $IX1,    #0x8b9c
lri $WR1,    #0x0cb4
cw 0x5
call send_back  ; 203 (0x00cb)

lri $AR1,    #0xf97c
lri $IX1,    #0x76ca
lri $WR1,    #0xf84e
cw 0x5
call send_back  ; 204 (0x00cc)

lri $AR1,    #0xba54
lri $IX1,    #0x87ec
lri $WR1,    #0xae0e
cw 0x5
call send_back  ; 205 (0x00cd)

lri $AR1,    #0xb15a
lri $IX1,    #0x5f42
lri $WR1,    #0x637c
cw 0x5
call send_back  ; 206 (0x00ce)

lri $AR1,    #0x0cca
lri $IX1,    #0xcf4c
lri $WR1,    #0x2b68
cw 0x5
call send_back  ; 207 (0x00cf)

lri $AR1,    #0x0f92
lri $IX1,    #0x4f80
lri $WR1,    #0xc8d2
cw 0x5
call send_back  ; 208 (0x00d0)

lri $AR1,    #0x3664
lri $IX1,    #0x5268
lri $WR1,    #0x7c12
cw 0x5
call send_back  ; 209 (0x00d1)

lri $AR1,    #0x0258
lri $IX1,    #0x709a
lri $WR1,    #0x8202
cw 0x5
call send_back  ; 210 (0x00d2)

lri $AR1,    #0x9b1e
lri $IX1,    #0xc22e
lri $WR1,    #0x66ac
cw 0x5
call send_back  ; 211 (0x00d3)

lri $AR1,    #0x598c
lri $IX1,    #0xd7b6
lri $WR1,    #0xf13a
cw 0x5
call send_back  ; 212 (0x00d4)

lri $AR1,    #0x9f90
lri $IX1,    #0xff4c
lri $WR1,    #0x0db0
cw 0x5
call send_back  ; 213 (0x00d5)

lri $AR1,    #0x9016
lri $IX1,    #0xdd10
lri $WR1,    #0x6302
cw 0x5
call send_back  ; 214 (0x00d6)

lri $AR1,    #0x4e70
lri $IX1,    #0x48c2
lri $WR1,    #0x06d6
cw 0x5
call send_back  ; 215 (0x00d7)

lri $AR1,    #0x9cd0
lri $IX1,    #0x6424
lri $WR1,    #0x04c4
cw 0x5
call send_back  ; 216 (0x00d8)

lri $AR1,    #0x07f2
lri $IX1,    #0x74a8
lri $WR1,    #0xdba0
cw 0x5
call send_back  ; 217 (0x00d9)

lri $AR1,    #0xefce
lri $IX1,    #0x66e2
lri $WR1,    #0xba2e
cw 0x5
call send_back  ; 218 (0x00da)

lri $AR1,    #0x9c90
lri $IX1,    #0xcef0
lri $WR1,    #0xe01a
cw 0x5
call send_back  ; 219 (0x00db)

lri $AR1,    #0x9524
lri $IX1,    #0x9852
lri $WR1,    #0x143a
cw 0x5
call send_back  ; 220 (0x00dc)

lri $AR1,    #0xcb0c
lri $IX1,    #0x7652
lri $WR1,    #0x9732
cw 0x5
call send_back  ; 221 (0x00dd)

lri $AR1,    #0x96e4
lri $IX1,    #0x91b6
lri $WR1,    #0xd0e8
cw 0x5
call send_back  ; 222 (0x00de)

lri $AR1,    #0xac38
lri $IX1,    #0x57f4
lri $WR1,    #0x029e
cw 0x5
call send_back  ; 223 (0x00df)

lri $AR1,    #0x446e
lri $IX1,    #0x5770
lri $WR1,    #0x3b6a
cw 0x5
call send_back  ; 224 (0x00e0)

lri $AR1,    #0xc560
lri $IX1,    #0x5f2a
lri $WR1,    #0xdeae
cw 0x5
call send_back  ; 225 (0x00e1)

lri $AR1,    #0x1dea
lri $IX1,    #0xb9be
lri $WR1,    #0xa100
cw 0x5
call send_back  ; 226 (0x00e2)

lri $AR1,    #0xe4d8
lri $IX1,    #0x2eda
lri $WR1,    #0x891a
cw 0x5
call send_back  ; 227 (0x00e3)

lri $AR1,    #0xe6e8
lri $IX1,    #0xc7b2
lri $WR1,    #0xf716
cw 0x5
call send_back  ; 228 (0x00e4)

lri $AR1,    #0x3286
lri $IX1,    #0xe6ca
lri $WR1,    #0xcc22
cw 0x5
call send_back  ; 229 (0x00e5)

lri $AR1,    #0xf410
lri $IX1,    #0xd94a
lri $WR1,    #0xe3ec
cw 0x5
call send_back  ; 230 (0x00e6)

lri $AR1,    #0xa0f2
lri $IX1,    #0x2f7a
lri $WR1,    #0x9dee
cw 0x5
call send_back  ; 231 (0x00e7)

lri $AR1,    #0x43d6
lri $IX1,    #0x402a
lri $WR1,    #0xbb70
cw 0x5
call send_back  ; 232 (0x00e8)

lri $AR1,    #0xc9c0
lri $IX1,    #0x2bc2
lri $WR1,    #0xb6c0
cw 0x5
call send_back  ; 233 (0x00e9)

lri $AR1,    #0x7b1e
lri $IX1,    #0x14dc
lri $WR1,    #0xce78
cw 0x5
call send_back  ; 234 (0x00ea)

lri $AR1,    #0xdaf6
lri $IX1,    #0x1fe8
lri $WR1,    #0x4eb6
cw 0x5
call send_back  ; 235 (0x00eb)

lri $AR1,    #0x92c4
lri $IX1,    #0x7914
lri $WR1,    #0xc314
cw 0x5
call send_back  ; 236 (0x00ec)

lri $AR1,    #0x311e
lri $IX1,    #0xba4e
lri $WR1,    #0xfeb8
cw 0x5
call send_back  ; 237 (0x00ed)

lri $AR1,    #0x03ee
lri $IX1,    #0xa5ca
lri $WR1,    #0xb10e
cw 0x5
call send_back  ; 238 (0x00ee)

lri $AR1,    #0x2c94
lri $IX1,    #0x1276
lri $WR1,    #0x4664
cw 0x5
call send_back  ; 239 (0x00ef)

lri $AR1,    #0xad36
lri $IX1,    #0xd6c2
lri $WR1,    #0x8e80
cw 0x5
call send_back  ; 240 (0x00f0)

lri $AR1,    #0x5f08
lri $IX1,    #0xc78c
lri $WR1,    #0x3b86
cw 0x5
call send_back  ; 241 (0x00f1)

lri $AR1,    #0xa362
lri $IX1,    #0x3b4e
lri $WR1,    #0x3460
cw 0x5
call send_back  ; 242 (0x00f2)

lri $AR1,    #0xf894
lri $IX1,    #0x4820
lri $WR1,    #0x05dc
cw 0x5
call send_back  ; 243 (0x00f3)

lri $AR1,    #0xc4ea
lri $IX1,    #0x26de
lri $WR1,    #0x0c06
cw 0x5
call send_back  ; 244 (0x00f4)

lri $AR1,    #0x025e
lri $IX1,    #0x593c
lri $WR1,    #0xa4d4
cw 0x5
call send_back  ; 245 (0x00f5)

lri $AR1,    #0x57de
lri $IX1,    #0x6a20
lri $WR1,    #0x6aa0
cw 0x5
call send_back  ; 246 (0x00f6)

lri $AR1,    #0x1736
lri $IX1,    #0x8b90
lri $WR1,    #0xb302
cw 0x5
call send_back  ; 247 (0x00f7)

lri $AR1,    #0x5686
lri $IX1,    #0xa852
lri $WR1,    #0xe050
cw 0x5
call send_back  ; 248 (0x00f8)

lri $AR1,    #0x8914
lri $IX1,    #0x91ec
lri $WR1,    #0x0dd2
cw 0x5
call send_back  ; 249 (0x00f9)

lri $AR1,    #0x773c
lri $IX1,    #0x428e
lri $WR1,    #0x6d42
cw 0x5
call send_back  ; 250 (0x00fa)

lri $AR1,    #0xdd02
lri $IX1,    #0x7c90
lri $WR1,    #0x1662
cw 0x5
call send_back  ; 251 (0x00fb)

lri $AR1,    #0x90d8
lri $IX1,    #0xb59a
lri $WR1,    #0xc748
cw 0x5
call send_back  ; 252 (0x00fc)

lri $AR1,    #0xdd3c
lri $IX1,    #0xd9bc
lri $WR1,    #0x4b02
cw 0x5
call send_back  ; 253 (0x00fd)

lri $AR1,    #0xdd46
lri $IX1,    #0xa518
lri $WR1,    #0xbf30
cw 0x5
call send_back  ; 254 (0x00fe)

lri $AR1,    #0xd420
lri $IX1,    #0xc3fe
lri $WR1,    #0xdf34
cw 0x5
call send_back  ; 255 (0x00ff)

lri $AR1,    #0xe886
lri $IX1,    #0xe99a
lri $WR1,    #0x859e
cw 0x5
call send_back  ; 256 (0x0100)

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

