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

lri $AR1,    #0x70ae
lri $IX1,    #0x1b8e
lri $WR1,    #0x5aa0
cw 0x5
call send_back  ; 257 (0x0101)

lri $AR1,    #0xd2b2
lri $IX1,    #0x6d7e
lri $WR1,    #0x2b7a
cw 0x5
call send_back  ; 258 (0x0102)

lri $AR1,    #0x0038
lri $IX1,    #0xa84e
lri $WR1,    #0xc606
cw 0x5
call send_back  ; 259 (0x0103)

lri $AR1,    #0x1050
lri $IX1,    #0x16fe
lri $WR1,    #0x62ba
cw 0x5
call send_back  ; 260 (0x0104)

lri $AR1,    #0xaf12
lri $IX1,    #0xcebe
lri $WR1,    #0x2772
cw 0x5
call send_back  ; 261 (0x0105)

lri $AR1,    #0x2492
lri $IX1,    #0x0c68
lri $WR1,    #0x589c
cw 0x5
call send_back  ; 262 (0x0106)

lri $AR1,    #0x04c0
lri $IX1,    #0xfa78
lri $WR1,    #0xa5ca
cw 0x5
call send_back  ; 263 (0x0107)

lri $AR1,    #0x0dbc
lri $IX1,    #0xea04
lri $WR1,    #0xa330
cw 0x5
call send_back  ; 264 (0x0108)

lri $AR1,    #0x6e84
lri $IX1,    #0x0564
lri $WR1,    #0x3e1a
cw 0x5
call send_back  ; 265 (0x0109)

lri $AR1,    #0x6456
lri $IX1,    #0xa76c
lri $WR1,    #0xc828
cw 0x5
call send_back  ; 266 (0x010a)

lri $AR1,    #0x05d8
lri $IX1,    #0xd376
lri $WR1,    #0x2370
cw 0x5
call send_back  ; 267 (0x010b)

lri $AR1,    #0xa25e
lri $IX1,    #0x8ce6
lri $WR1,    #0xfbc4
cw 0x5
call send_back  ; 268 (0x010c)

lri $AR1,    #0x76a2
lri $IX1,    #0x36fc
lri $WR1,    #0x4cfa
cw 0x5
call send_back  ; 269 (0x010d)

lri $AR1,    #0xc83a
lri $IX1,    #0x57b0
lri $WR1,    #0x7b08
cw 0x5
call send_back  ; 270 (0x010e)

lri $AR1,    #0x9ba6
lri $IX1,    #0x1a3e
lri $WR1,    #0xfc02
cw 0x5
call send_back  ; 271 (0x010f)

lri $AR1,    #0xc17c
lri $IX1,    #0x26a0
lri $WR1,    #0x74d6
cw 0x5
call send_back  ; 272 (0x0110)

lri $AR1,    #0xb62c
lri $IX1,    #0xffac
lri $WR1,    #0xc686
cw 0x5
call send_back  ; 273 (0x0111)

lri $AR1,    #0xa442
lri $IX1,    #0x9f06
lri $WR1,    #0xf232
cw 0x5
call send_back  ; 274 (0x0112)

lri $AR1,    #0xb02a
lri $IX1,    #0x4a30
lri $WR1,    #0x9130
cw 0x5
call send_back  ; 275 (0x0113)

lri $AR1,    #0x4a56
lri $IX1,    #0x8c58
lri $WR1,    #0xb65c
cw 0x5
call send_back  ; 276 (0x0114)

lri $AR1,    #0x3f16
lri $IX1,    #0x8bf2
lri $WR1,    #0x7e1c
cw 0x5
call send_back  ; 277 (0x0115)

lri $AR1,    #0xf3b8
lri $IX1,    #0xab78
lri $WR1,    #0xc3e0
cw 0x5
call send_back  ; 278 (0x0116)

lri $AR1,    #0x9f94
lri $IX1,    #0x721c
lri $WR1,    #0xcc7a
cw 0x5
call send_back  ; 279 (0x0117)

lri $AR1,    #0xbeda
lri $IX1,    #0xfd28
lri $WR1,    #0x3462
cw 0x5
call send_back  ; 280 (0x0118)

lri $AR1,    #0xa124
lri $IX1,    #0xe8e8
lri $WR1,    #0x975e
cw 0x5
call send_back  ; 281 (0x0119)

lri $AR1,    #0xeb1a
lri $IX1,    #0x816a
lri $WR1,    #0x7d48
cw 0x5
call send_back  ; 282 (0x011a)

lri $AR1,    #0x7320
lri $IX1,    #0xe3aa
lri $WR1,    #0xf0bc
cw 0x5
call send_back  ; 283 (0x011b)

lri $AR1,    #0x2ed4
lri $IX1,    #0x4080
lri $WR1,    #0x33f8
cw 0x5
call send_back  ; 284 (0x011c)

lri $AR1,    #0xbb00
lri $IX1,    #0xf0ec
lri $WR1,    #0xa004
cw 0x5
call send_back  ; 285 (0x011d)

lri $AR1,    #0x0a96
lri $IX1,    #0xa42e
lri $WR1,    #0x08d6
cw 0x5
call send_back  ; 286 (0x011e)

lri $AR1,    #0x8e6c
lri $IX1,    #0x8b62
lri $WR1,    #0x7242
cw 0x5
call send_back  ; 287 (0x011f)

lri $AR1,    #0x0fb6
lri $IX1,    #0xfefa
lri $WR1,    #0x20b4
cw 0x5
call send_back  ; 288 (0x0120)

lri $AR1,    #0x99d4
lri $IX1,    #0x0ce4
lri $WR1,    #0x2c3c
cw 0x5
call send_back  ; 289 (0x0121)

lri $AR1,    #0xa904
lri $IX1,    #0x551a
lri $WR1,    #0x50e2
cw 0x5
call send_back  ; 290 (0x0122)

lri $AR1,    #0xa750
lri $IX1,    #0x6918
lri $WR1,    #0x6d70
cw 0x5
call send_back  ; 291 (0x0123)

lri $AR1,    #0x38bc
lri $IX1,    #0xadb2
lri $WR1,    #0x2a9c
cw 0x5
call send_back  ; 292 (0x0124)

lri $AR1,    #0x7f5e
lri $IX1,    #0x81f4
lri $WR1,    #0xcd7e
cw 0x5
call send_back  ; 293 (0x0125)

lri $AR1,    #0x6f60
lri $IX1,    #0x0128
lri $WR1,    #0x56e8
cw 0x5
call send_back  ; 294 (0x0126)

lri $AR1,    #0x603a
lri $IX1,    #0x20ea
lri $WR1,    #0xd3ca
cw 0x5
call send_back  ; 295 (0x0127)

lri $AR1,    #0xbbb8
lri $IX1,    #0xe420
lri $WR1,    #0xa4b0
cw 0x5
call send_back  ; 296 (0x0128)

lri $AR1,    #0xa68c
lri $IX1,    #0x83b4
lri $WR1,    #0xbbe4
cw 0x5
call send_back  ; 297 (0x0129)

lri $AR1,    #0xbcb6
lri $IX1,    #0xf502
lri $WR1,    #0x7740
cw 0x5
call send_back  ; 298 (0x012a)

lri $AR1,    #0x5cfe
lri $IX1,    #0x1cb8
lri $WR1,    #0xe796
cw 0x5
call send_back  ; 299 (0x012b)

lri $AR1,    #0xd23a
lri $IX1,    #0x746c
lri $WR1,    #0x1bd2
cw 0x5
call send_back  ; 300 (0x012c)

lri $AR1,    #0xde92
lri $IX1,    #0xc2e8
lri $WR1,    #0x0a04
cw 0x5
call send_back  ; 301 (0x012d)

lri $AR1,    #0x6aaa
lri $IX1,    #0xefa4
lri $WR1,    #0x1158
cw 0x5
call send_back  ; 302 (0x012e)

lri $AR1,    #0x2a34
lri $IX1,    #0x3616
lri $WR1,    #0x1dee
cw 0x5
call send_back  ; 303 (0x012f)

lri $AR1,    #0x9752
lri $IX1,    #0x1e4c
lri $WR1,    #0x9e46
cw 0x5
call send_back  ; 304 (0x0130)

lri $AR1,    #0x9480
lri $IX1,    #0xb0b6
lri $WR1,    #0xbb46
cw 0x5
call send_back  ; 305 (0x0131)

lri $AR1,    #0xea66
lri $IX1,    #0xab72
lri $WR1,    #0x4c6a
cw 0x5
call send_back  ; 306 (0x0132)

lri $AR1,    #0xcf10
lri $IX1,    #0x60d0
lri $WR1,    #0xff5a
cw 0x5
call send_back  ; 307 (0x0133)

lri $AR1,    #0xc5c2
lri $IX1,    #0x3454
lri $WR1,    #0x2baa
cw 0x5
call send_back  ; 308 (0x0134)

lri $AR1,    #0x6364
lri $IX1,    #0x2e64
lri $WR1,    #0x94ba
cw 0x5
call send_back  ; 309 (0x0135)

lri $AR1,    #0x3214
lri $IX1,    #0xf5ca
lri $WR1,    #0x30b4
cw 0x5
call send_back  ; 310 (0x0136)

lri $AR1,    #0x61b8
lri $IX1,    #0x4dd2
lri $WR1,    #0x1eee
cw 0x5
call send_back  ; 311 (0x0137)

lri $AR1,    #0x32ba
lri $IX1,    #0x0bd6
lri $WR1,    #0xc56a
cw 0x5
call send_back  ; 312 (0x0138)

lri $AR1,    #0xc2d2
lri $IX1,    #0xe18a
lri $WR1,    #0x0074
cw 0x5
call send_back  ; 313 (0x0139)

lri $AR1,    #0x72d8
lri $IX1,    #0x6d26
lri $WR1,    #0xcd30
cw 0x5
call send_back  ; 314 (0x013a)

lri $AR1,    #0x761a
lri $IX1,    #0x7eae
lri $WR1,    #0xbfd6
cw 0x5
call send_back  ; 315 (0x013b)

lri $AR1,    #0x3d0e
lri $IX1,    #0x8f34
lri $WR1,    #0x17be
cw 0x5
call send_back  ; 316 (0x013c)

lri $AR1,    #0xec08
lri $IX1,    #0xe4d0
lri $WR1,    #0xdb64
cw 0x5
call send_back  ; 317 (0x013d)

lri $AR1,    #0x0f44
lri $IX1,    #0x7daa
lri $WR1,    #0xa1cc
cw 0x5
call send_back  ; 318 (0x013e)

lri $AR1,    #0xbf48
lri $IX1,    #0xc18c
lri $WR1,    #0x4178
cw 0x5
call send_back  ; 319 (0x013f)

lri $AR1,    #0xe8ee
lri $IX1,    #0xcabe
lri $WR1,    #0x331a
cw 0x5
call send_back  ; 320 (0x0140)

lri $AR1,    #0x8d86
lri $IX1,    #0x0d1e
lri $WR1,    #0x85ac
cw 0x5
call send_back  ; 321 (0x0141)

lri $AR1,    #0xca54
lri $IX1,    #0xb442
lri $WR1,    #0x0628
cw 0x5
call send_back  ; 322 (0x0142)

lri $AR1,    #0xbb52
lri $IX1,    #0x8da8
lri $WR1,    #0xea08
cw 0x5
call send_back  ; 323 (0x0143)

lri $AR1,    #0xe022
lri $IX1,    #0xcc02
lri $WR1,    #0x4e30
cw 0x5
call send_back  ; 324 (0x0144)

lri $AR1,    #0x651a
lri $IX1,    #0x7b5c
lri $WR1,    #0x0d76
cw 0x5
call send_back  ; 325 (0x0145)

lri $AR1,    #0xa6e6
lri $IX1,    #0x0038
lri $WR1,    #0xc4c0
cw 0x5
call send_back  ; 326 (0x0146)

lri $AR1,    #0xc194
lri $IX1,    #0x3840
lri $WR1,    #0x279e
cw 0x5
call send_back  ; 327 (0x0147)

lri $AR1,    #0x0eba
lri $IX1,    #0xabac
lri $WR1,    #0x085e
cw 0x5
call send_back  ; 328 (0x0148)

lri $AR1,    #0x588a
lri $IX1,    #0xb2a6
lri $WR1,    #0xcc52
cw 0x5
call send_back  ; 329 (0x0149)

lri $AR1,    #0x6fae
lri $IX1,    #0xfb50
lri $WR1,    #0xa2b2
cw 0x5
call send_back  ; 330 (0x014a)

lri $AR1,    #0x4b98
lri $IX1,    #0x7a1a
lri $WR1,    #0xdfd4
cw 0x5
call send_back  ; 331 (0x014b)

lri $AR1,    #0x144c
lri $IX1,    #0x19da
lri $WR1,    #0x24aa
cw 0x5
call send_back  ; 332 (0x014c)

lri $AR1,    #0x249c
lri $IX1,    #0xeb00
lri $WR1,    #0x4f08
cw 0x5
call send_back  ; 333 (0x014d)

lri $AR1,    #0x5fb2
lri $IX1,    #0xd056
lri $WR1,    #0x0bf0
cw 0x5
call send_back  ; 334 (0x014e)

lri $AR1,    #0xd06e
lri $IX1,    #0x3d70
lri $WR1,    #0xe5da
cw 0x5
call send_back  ; 335 (0x014f)

lri $AR1,    #0x41aa
lri $IX1,    #0x44f4
lri $WR1,    #0x3540
cw 0x5
call send_back  ; 336 (0x0150)

lri $AR1,    #0x3ab8
lri $IX1,    #0xd89c
lri $WR1,    #0xdff4
cw 0x5
call send_back  ; 337 (0x0151)

lri $AR1,    #0xe33e
lri $IX1,    #0xd842
lri $WR1,    #0x9bf8
cw 0x5
call send_back  ; 338 (0x0152)

lri $AR1,    #0x0a78
lri $IX1,    #0x2c6c
lri $WR1,    #0x2f0a
cw 0x5
call send_back  ; 339 (0x0153)

lri $AR1,    #0x5b1c
lri $IX1,    #0x7302
lri $WR1,    #0x2f60
cw 0x5
call send_back  ; 340 (0x0154)

lri $AR1,    #0xe4fa
lri $IX1,    #0x9f7e
lri $WR1,    #0x8bdc
cw 0x5
call send_back  ; 341 (0x0155)

lri $AR1,    #0xe962
lri $IX1,    #0x85c8
lri $WR1,    #0xbb0a
cw 0x5
call send_back  ; 342 (0x0156)

lri $AR1,    #0xffd2
lri $IX1,    #0xf824
lri $WR1,    #0xde0e
cw 0x5
call send_back  ; 343 (0x0157)

lri $AR1,    #0xd716
lri $IX1,    #0x258c
lri $WR1,    #0x5fd8
cw 0x5
call send_back  ; 344 (0x0158)

lri $AR1,    #0x48cc
lri $IX1,    #0x2bc4
lri $WR1,    #0xf946
cw 0x5
call send_back  ; 345 (0x0159)

lri $AR1,    #0xbde6
lri $IX1,    #0xb772
lri $WR1,    #0x07e8
cw 0x5
call send_back  ; 346 (0x015a)

lri $AR1,    #0xa520
lri $IX1,    #0xd00c
lri $WR1,    #0xbc64
cw 0x5
call send_back  ; 347 (0x015b)

lri $AR1,    #0xd172
lri $IX1,    #0x1fe8
lri $WR1,    #0xb808
cw 0x5
call send_back  ; 348 (0x015c)

lri $AR1,    #0x6004
lri $IX1,    #0xa65a
lri $WR1,    #0xea58
cw 0x5
call send_back  ; 349 (0x015d)

lri $AR1,    #0xe3c0
lri $IX1,    #0x083c
lri $WR1,    #0xc602
cw 0x5
call send_back  ; 350 (0x015e)

lri $AR1,    #0x72e8
lri $IX1,    #0x01f0
lri $WR1,    #0x3a86
cw 0x5
call send_back  ; 351 (0x015f)

lri $AR1,    #0x6b20
lri $IX1,    #0x2816
lri $WR1,    #0xeb44
cw 0x5
call send_back  ; 352 (0x0160)

lri $AR1,    #0x806e
lri $IX1,    #0x3e2c
lri $WR1,    #0xc124
cw 0x5
call send_back  ; 353 (0x0161)

lri $AR1,    #0xe810
lri $IX1,    #0x36a6
lri $WR1,    #0x0838
cw 0x5
call send_back  ; 354 (0x0162)

lri $AR1,    #0xc56a
lri $IX1,    #0x3a6e
lri $WR1,    #0x8e7c
cw 0x5
call send_back  ; 355 (0x0163)

lri $AR1,    #0xce6e
lri $IX1,    #0xda1c
lri $WR1,    #0x54e4
cw 0x5
call send_back  ; 356 (0x0164)

lri $AR1,    #0x89f6
lri $IX1,    #0xfde4
lri $WR1,    #0xde8c
cw 0x5
call send_back  ; 357 (0x0165)

lri $AR1,    #0xa598
lri $IX1,    #0x3a4c
lri $WR1,    #0xd012
cw 0x5
call send_back  ; 358 (0x0166)

lri $AR1,    #0x5efc
lri $IX1,    #0x5dec
lri $WR1,    #0x08f4
cw 0x5
call send_back  ; 359 (0x0167)

lri $AR1,    #0x8fb0
lri $IX1,    #0x65da
lri $WR1,    #0x1eaa
cw 0x5
call send_back  ; 360 (0x0168)

lri $AR1,    #0x532e
lri $IX1,    #0xe624
lri $WR1,    #0x3394
cw 0x5
call send_back  ; 361 (0x0169)

lri $AR1,    #0xf0ae
lri $IX1,    #0x2004
lri $WR1,    #0xd96c
cw 0x5
call send_back  ; 362 (0x016a)

lri $AR1,    #0xe4d8
lri $IX1,    #0x7210
lri $WR1,    #0x38dc
cw 0x5
call send_back  ; 363 (0x016b)

lri $AR1,    #0xa27e
lri $IX1,    #0x8f60
lri $WR1,    #0x9fc0
cw 0x5
call send_back  ; 364 (0x016c)

lri $AR1,    #0x6c74
lri $IX1,    #0x0438
lri $WR1,    #0xdd36
cw 0x5
call send_back  ; 365 (0x016d)

lri $AR1,    #0x23be
lri $IX1,    #0x4474
lri $WR1,    #0x4abe
cw 0x5
call send_back  ; 366 (0x016e)

lri $AR1,    #0xae80
lri $IX1,    #0x8fba
lri $WR1,    #0xf574
cw 0x5
call send_back  ; 367 (0x016f)

lri $AR1,    #0x9b72
lri $IX1,    #0xc9c8
lri $WR1,    #0x6c36
cw 0x5
call send_back  ; 368 (0x0170)

lri $AR1,    #0xd180
lri $IX1,    #0xbd4c
lri $WR1,    #0x22c2
cw 0x5
call send_back  ; 369 (0x0171)

lri $AR1,    #0x843a
lri $IX1,    #0x0524
lri $WR1,    #0x01ca
cw 0x5
call send_back  ; 370 (0x0172)

lri $AR1,    #0xbf90
lri $IX1,    #0x5578
lri $WR1,    #0xe6f0
cw 0x5
call send_back  ; 371 (0x0173)

lri $AR1,    #0x7656
lri $IX1,    #0xc494
lri $WR1,    #0x0cee
cw 0x5
call send_back  ; 372 (0x0174)

lri $AR1,    #0xa186
lri $IX1,    #0x0630
lri $WR1,    #0xaeb2
cw 0x5
call send_back  ; 373 (0x0175)

lri $AR1,    #0xf814
lri $IX1,    #0x801c
lri $WR1,    #0xb4d4
cw 0x5
call send_back  ; 374 (0x0176)

lri $AR1,    #0x4414
lri $IX1,    #0xd284
lri $WR1,    #0xa588
cw 0x5
call send_back  ; 375 (0x0177)

lri $AR1,    #0x98e2
lri $IX1,    #0x437c
lri $WR1,    #0xd81e
cw 0x5
call send_back  ; 376 (0x0178)

lri $AR1,    #0x75c6
lri $IX1,    #0xbf86
lri $WR1,    #0x5a02
cw 0x5
call send_back  ; 377 (0x0179)

lri $AR1,    #0x03b6
lri $IX1,    #0x79fe
lri $WR1,    #0xa060
cw 0x5
call send_back  ; 378 (0x017a)

lri $AR1,    #0x6764
lri $IX1,    #0x6234
lri $WR1,    #0x0712
cw 0x5
call send_back  ; 379 (0x017b)

lri $AR1,    #0x49f0
lri $IX1,    #0x98ca
lri $WR1,    #0xe244
cw 0x5
call send_back  ; 380 (0x017c)

lri $AR1,    #0x6ea2
lri $IX1,    #0xee78
lri $WR1,    #0x620a
cw 0x5
call send_back  ; 381 (0x017d)

lri $AR1,    #0x887a
lri $IX1,    #0x0294
lri $WR1,    #0xf966
cw 0x5
call send_back  ; 382 (0x017e)

lri $AR1,    #0xdd7c
lri $IX1,    #0x6ffa
lri $WR1,    #0xb31a
cw 0x5
call send_back  ; 383 (0x017f)

lri $AR1,    #0x553c
lri $IX1,    #0x9a32
lri $WR1,    #0x7fa0
cw 0x5
call send_back  ; 384 (0x0180)

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

