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

lri $AR1,    #0x8f42
lri $IX1,    #0x09fc
lri $WR1,    #0x60d2
cw 0x5
call send_back  ; 385 (0x0181)

lri $AR1,    #0x3ba8
lri $IX1,    #0xeff4
lri $WR1,    #0xdc08
cw 0x5
call send_back  ; 386 (0x0182)

lri $AR1,    #0xf6ce
lri $IX1,    #0x9bda
lri $WR1,    #0x957e
cw 0x5
call send_back  ; 387 (0x0183)

lri $AR1,    #0x1392
lri $IX1,    #0x6832
lri $WR1,    #0x4e28
cw 0x5
call send_back  ; 388 (0x0184)

lri $AR1,    #0x7fa2
lri $IX1,    #0x147e
lri $WR1,    #0xdff0
cw 0x5
call send_back  ; 389 (0x0185)

lri $AR1,    #0x4de4
lri $IX1,    #0xc810
lri $WR1,    #0xeed0
cw 0x5
call send_back  ; 390 (0x0186)

lri $AR1,    #0x96a2
lri $IX1,    #0x375a
lri $WR1,    #0x4780
cw 0x5
call send_back  ; 391 (0x0187)

lri $AR1,    #0x8f8a
lri $IX1,    #0xdfd8
lri $WR1,    #0x4004
cw 0x5
call send_back  ; 392 (0x0188)

lri $AR1,    #0x4d28
lri $IX1,    #0xba24
lri $WR1,    #0xddd8
cw 0x5
call send_back  ; 393 (0x0189)

lri $AR1,    #0x3b28
lri $IX1,    #0x30d2
lri $WR1,    #0x7260
cw 0x5
call send_back  ; 394 (0x018a)

lri $AR1,    #0xe3ec
lri $IX1,    #0x9306
lri $WR1,    #0x075e
cw 0x5
call send_back  ; 395 (0x018b)

lri $AR1,    #0xfec6
lri $IX1,    #0x0f2a
lri $WR1,    #0x9e82
cw 0x5
call send_back  ; 396 (0x018c)

lri $AR1,    #0x41c6
lri $IX1,    #0x2b7a
lri $WR1,    #0x1dba
cw 0x5
call send_back  ; 397 (0x018d)

lri $AR1,    #0x3b42
lri $IX1,    #0x7eb0
lri $WR1,    #0xf5b4
cw 0x5
call send_back  ; 398 (0x018e)

lri $AR1,    #0x0c9e
lri $IX1,    #0x1462
lri $WR1,    #0x5670
cw 0x5
call send_back  ; 399 (0x018f)

lri $AR1,    #0x479c
lri $IX1,    #0x83fa
lri $WR1,    #0x7d94
cw 0x5
call send_back  ; 400 (0x0190)

lri $AR1,    #0x698a
lri $IX1,    #0xecb8
lri $WR1,    #0x99de
cw 0x5
call send_back  ; 401 (0x0191)

lri $AR1,    #0x4aca
lri $IX1,    #0x79ca
lri $WR1,    #0x66d2
cw 0x5
call send_back  ; 402 (0x0192)

lri $AR1,    #0xf388
lri $IX1,    #0x8c60
lri $WR1,    #0xd5bc
cw 0x5
call send_back  ; 403 (0x0193)

lri $AR1,    #0xcb5e
lri $IX1,    #0xcd38
lri $WR1,    #0x97c4
cw 0x5
call send_back  ; 404 (0x0194)

lri $AR1,    #0xdebc
lri $IX1,    #0x516c
lri $WR1,    #0xf06c
cw 0x5
call send_back  ; 405 (0x0195)

lri $AR1,    #0x4496
lri $IX1,    #0xf17c
lri $WR1,    #0xb800
cw 0x5
call send_back  ; 406 (0x0196)

lri $AR1,    #0x20ac
lri $IX1,    #0xc65e
lri $WR1,    #0x790e
cw 0x5
call send_back  ; 407 (0x0197)

lri $AR1,    #0x2d08
lri $IX1,    #0x06d4
lri $WR1,    #0x0aa8
cw 0x5
call send_back  ; 408 (0x0198)

lri $AR1,    #0x746c
lri $IX1,    #0xdcbe
lri $WR1,    #0x22d8
cw 0x5
call send_back  ; 409 (0x0199)

lri $AR1,    #0x03b4
lri $IX1,    #0x3678
lri $WR1,    #0xd18a
cw 0x5
call send_back  ; 410 (0x019a)

lri $AR1,    #0xcc14
lri $IX1,    #0xc796
lri $WR1,    #0xa892
cw 0x5
call send_back  ; 411 (0x019b)

lri $AR1,    #0x4c7a
lri $IX1,    #0xc80a
lri $WR1,    #0xebe6
cw 0x5
call send_back  ; 412 (0x019c)

lri $AR1,    #0xd794
lri $IX1,    #0x3e1c
lri $WR1,    #0x7fae
cw 0x5
call send_back  ; 413 (0x019d)

lri $AR1,    #0x05e4
lri $IX1,    #0x1362
lri $WR1,    #0x07e8
cw 0x5
call send_back  ; 414 (0x019e)

lri $AR1,    #0x5b30
lri $IX1,    #0xb71e
lri $WR1,    #0x68e8
cw 0x5
call send_back  ; 415 (0x019f)

lri $AR1,    #0x2e30
lri $IX1,    #0x4c44
lri $WR1,    #0x2e9e
cw 0x5
call send_back  ; 416 (0x01a0)

lri $AR1,    #0xbeb0
lri $IX1,    #0x227e
lri $WR1,    #0x0ee8
cw 0x5
call send_back  ; 417 (0x01a1)

lri $AR1,    #0x868e
lri $IX1,    #0x5bde
lri $WR1,    #0xce84
cw 0x5
call send_back  ; 418 (0x01a2)

lri $AR1,    #0x28a8
lri $IX1,    #0xe65c
lri $WR1,    #0x21be
cw 0x5
call send_back  ; 419 (0x01a3)

lri $AR1,    #0x077c
lri $IX1,    #0x2e72
lri $WR1,    #0xd16c
cw 0x5
call send_back  ; 420 (0x01a4)

lri $AR1,    #0x3fcc
lri $IX1,    #0x9218
lri $WR1,    #0x58ce
cw 0x5
call send_back  ; 421 (0x01a5)

lri $AR1,    #0x8a38
lri $IX1,    #0xaa36
lri $WR1,    #0xdee8
cw 0x5
call send_back  ; 422 (0x01a6)

lri $AR1,    #0xeeb8
lri $IX1,    #0xf1fc
lri $WR1,    #0x1aee
cw 0x5
call send_back  ; 423 (0x01a7)

lri $AR1,    #0x273a
lri $IX1,    #0x8ed6
lri $WR1,    #0xccdc
cw 0x5
call send_back  ; 424 (0x01a8)

lri $AR1,    #0xe526
lri $IX1,    #0x1290
lri $WR1,    #0xdf4e
cw 0x5
call send_back  ; 425 (0x01a9)

lri $AR1,    #0xd288
lri $IX1,    #0x6366
lri $WR1,    #0x8c7c
cw 0x5
call send_back  ; 426 (0x01aa)

lri $AR1,    #0xac04
lri $IX1,    #0x7370
lri $WR1,    #0x4808
cw 0x5
call send_back  ; 427 (0x01ab)

lri $AR1,    #0xf30e
lri $IX1,    #0xfb6c
lri $WR1,    #0xba60
cw 0x5
call send_back  ; 428 (0x01ac)

lri $AR1,    #0x9844
lri $IX1,    #0x45ba
lri $WR1,    #0x21c8
cw 0x5
call send_back  ; 429 (0x01ad)

lri $AR1,    #0x32ac
lri $IX1,    #0x99ba
lri $WR1,    #0x7cc2
cw 0x5
call send_back  ; 430 (0x01ae)

lri $AR1,    #0x5af6
lri $IX1,    #0x3adc
lri $WR1,    #0x7a7a
cw 0x5
call send_back  ; 431 (0x01af)

lri $AR1,    #0xb118
lri $IX1,    #0xf2b8
lri $WR1,    #0xabce
cw 0x5
call send_back  ; 432 (0x01b0)

lri $AR1,    #0xfb88
lri $IX1,    #0x3cce
lri $WR1,    #0x8378
cw 0x5
call send_back  ; 433 (0x01b1)

lri $AR1,    #0x3c5e
lri $IX1,    #0xe5e4
lri $WR1,    #0x7bfe
cw 0x5
call send_back  ; 434 (0x01b2)

lri $AR1,    #0x5392
lri $IX1,    #0x8998
lri $WR1,    #0x921e
cw 0x5
call send_back  ; 435 (0x01b3)

lri $AR1,    #0x5626
lri $IX1,    #0x5920
lri $WR1,    #0x2b52
cw 0x5
call send_back  ; 436 (0x01b4)

lri $AR1,    #0x4a48
lri $IX1,    #0x3822
lri $WR1,    #0xec3c
cw 0x5
call send_back  ; 437 (0x01b5)

lri $AR1,    #0xbd5a
lri $IX1,    #0xce96
lri $WR1,    #0xa682
cw 0x5
call send_back  ; 438 (0x01b6)

lri $AR1,    #0xafca
lri $IX1,    #0x4524
lri $WR1,    #0xc450
cw 0x5
call send_back  ; 439 (0x01b7)

lri $AR1,    #0x107e
lri $IX1,    #0xb8c4
lri $WR1,    #0xdbea
cw 0x5
call send_back  ; 440 (0x01b8)

lri $AR1,    #0x5770
lri $IX1,    #0x0b5c
lri $WR1,    #0x7bfa
cw 0x5
call send_back  ; 441 (0x01b9)

lri $AR1,    #0x0552
lri $IX1,    #0xd692
lri $WR1,    #0x9e56
cw 0x5
call send_back  ; 442 (0x01ba)

lri $AR1,    #0x8a62
lri $IX1,    #0x9aa2
lri $WR1,    #0x9194
cw 0x5
call send_back  ; 443 (0x01bb)

lri $AR1,    #0xc700
lri $IX1,    #0xa3d8
lri $WR1,    #0xb25c
cw 0x5
call send_back  ; 444 (0x01bc)

lri $AR1,    #0xc28a
lri $IX1,    #0xde34
lri $WR1,    #0x2872
cw 0x5
call send_back  ; 445 (0x01bd)

lri $AR1,    #0x6c6a
lri $IX1,    #0xc954
lri $WR1,    #0x057c
cw 0x5
call send_back  ; 446 (0x01be)

lri $AR1,    #0x7038
lri $IX1,    #0x0aca
lri $WR1,    #0x819c
cw 0x5
call send_back  ; 447 (0x01bf)

lri $AR1,    #0x44ee
lri $IX1,    #0x117a
lri $WR1,    #0x3eae
cw 0x5
call send_back  ; 448 (0x01c0)

lri $AR1,    #0xfb66
lri $IX1,    #0x81a6
lri $WR1,    #0x9d92
cw 0x5
call send_back  ; 449 (0x01c1)

lri $AR1,    #0x122e
lri $IX1,    #0x5e14
lri $WR1,    #0xf49c
cw 0x5
call send_back  ; 450 (0x01c2)

lri $AR1,    #0xdc2c
lri $IX1,    #0x5664
lri $WR1,    #0x3dec
cw 0x5
call send_back  ; 451 (0x01c3)

lri $AR1,    #0x4a1e
lri $IX1,    #0x0d0c
lri $WR1,    #0xfe20
cw 0x5
call send_back  ; 452 (0x01c4)

lri $AR1,    #0x2c26
lri $IX1,    #0x11a4
lri $WR1,    #0x385a
cw 0x5
call send_back  ; 453 (0x01c5)

lri $AR1,    #0x4d08
lri $IX1,    #0xc96e
lri $WR1,    #0xa64c
cw 0x5
call send_back  ; 454 (0x01c6)

lri $AR1,    #0x156c
lri $IX1,    #0x4344
lri $WR1,    #0x22f0
cw 0x5
call send_back  ; 455 (0x01c7)

lri $AR1,    #0x37b0
lri $IX1,    #0x9004
lri $WR1,    #0x2da2
cw 0x5
call send_back  ; 456 (0x01c8)

lri $AR1,    #0xa1dc
lri $IX1,    #0x1b5e
lri $WR1,    #0x7426
cw 0x5
call send_back  ; 457 (0x01c9)

lri $AR1,    #0xc242
lri $IX1,    #0x5574
lri $WR1,    #0x0eb2
cw 0x5
call send_back  ; 458 (0x01ca)

lri $AR1,    #0x4852
lri $IX1,    #0xb1bc
lri $WR1,    #0xdf8c
cw 0x5
call send_back  ; 459 (0x01cb)

lri $AR1,    #0x914c
lri $IX1,    #0xde54
lri $WR1,    #0x14ca
cw 0x5
call send_back  ; 460 (0x01cc)

lri $AR1,    #0xcb9e
lri $IX1,    #0xffe8
lri $WR1,    #0xa28e
cw 0x5
call send_back  ; 461 (0x01cd)

lri $AR1,    #0x9e6c
lri $IX1,    #0x9842
lri $WR1,    #0x97d6
cw 0x5
call send_back  ; 462 (0x01ce)

lri $AR1,    #0x31ba
lri $IX1,    #0xfa96
lri $WR1,    #0x3b44
cw 0x5
call send_back  ; 463 (0x01cf)

lri $AR1,    #0x0ad4
lri $IX1,    #0x3d32
lri $WR1,    #0x4150
cw 0x5
call send_back  ; 464 (0x01d0)

lri $AR1,    #0x6824
lri $IX1,    #0xcb80
lri $WR1,    #0x45c0
cw 0x5
call send_back  ; 465 (0x01d1)

lri $AR1,    #0xe668
lri $IX1,    #0x6122
lri $WR1,    #0xba40
cw 0x5
call send_back  ; 466 (0x01d2)

lri $AR1,    #0x34dc
lri $IX1,    #0x0d8e
lri $WR1,    #0x9ac4
cw 0x5
call send_back  ; 467 (0x01d3)

lri $AR1,    #0x5a9e
lri $IX1,    #0x5c7a
lri $WR1,    #0xab08
cw 0x5
call send_back  ; 468 (0x01d4)

lri $AR1,    #0xf9dc
lri $IX1,    #0x3940
lri $WR1,    #0xe550
cw 0x5
call send_back  ; 469 (0x01d5)

lri $AR1,    #0x58d2
lri $IX1,    #0xf418
lri $WR1,    #0xaa44
cw 0x5
call send_back  ; 470 (0x01d6)

lri $AR1,    #0x33a0
lri $IX1,    #0x4848
lri $WR1,    #0x5afe
cw 0x5
call send_back  ; 471 (0x01d7)

lri $AR1,    #0x8830
lri $IX1,    #0x4a7e
lri $WR1,    #0x3850
cw 0x5
call send_back  ; 472 (0x01d8)

lri $AR1,    #0x1980
lri $IX1,    #0x1b52
lri $WR1,    #0xb596
cw 0x5
call send_back  ; 473 (0x01d9)

lri $AR1,    #0xd802
lri $IX1,    #0xabfe
lri $WR1,    #0xd1b2
cw 0x5
call send_back  ; 474 (0x01da)

lri $AR1,    #0x017a
lri $IX1,    #0x7dc8
lri $WR1,    #0x9ac8
cw 0x5
call send_back  ; 475 (0x01db)

lri $AR1,    #0xef70
lri $IX1,    #0x4a66
lri $WR1,    #0x9b16
cw 0x5
call send_back  ; 476 (0x01dc)

lri $AR1,    #0xbf34
lri $IX1,    #0xdfb2
lri $WR1,    #0xe986
cw 0x5
call send_back  ; 477 (0x01dd)

lri $AR1,    #0xd480
lri $IX1,    #0x9b1c
lri $WR1,    #0x4e0c
cw 0x5
call send_back  ; 478 (0x01de)

lri $AR1,    #0xc8c2
lri $IX1,    #0x266e
lri $WR1,    #0x8ae8
cw 0x5
call send_back  ; 479 (0x01df)

lri $AR1,    #0xb064
lri $IX1,    #0x6506
lri $WR1,    #0xfe40
cw 0x5
call send_back  ; 480 (0x01e0)

lri $AR1,    #0x1a18
lri $IX1,    #0x695e
lri $WR1,    #0x0706
cw 0x5
call send_back  ; 481 (0x01e1)

lri $AR1,    #0xaffa
lri $IX1,    #0x4246
lri $WR1,    #0x2b44
cw 0x5
call send_back  ; 482 (0x01e2)

lri $AR1,    #0x3a88
lri $IX1,    #0x3062
lri $WR1,    #0xdcb8
cw 0x5
call send_back  ; 483 (0x01e3)

lri $AR1,    #0xc366
lri $IX1,    #0x0c30
lri $WR1,    #0x7bb4
cw 0x5
call send_back  ; 484 (0x01e4)

lri $AR1,    #0x0e60
lri $IX1,    #0xf612
lri $WR1,    #0x15c2
cw 0x5
call send_back  ; 485 (0x01e5)

lri $AR1,    #0x90c2
lri $IX1,    #0xf668
lri $WR1,    #0x92ea
cw 0x5
call send_back  ; 486 (0x01e6)

lri $AR1,    #0xe0ee
lri $IX1,    #0x68a0
lri $WR1,    #0x6734
cw 0x5
call send_back  ; 487 (0x01e7)

lri $AR1,    #0x69da
lri $IX1,    #0xa894
lri $WR1,    #0xd2c6
cw 0x5
call send_back  ; 488 (0x01e8)

lri $AR1,    #0xf1f6
lri $IX1,    #0x487a
lri $WR1,    #0x0092
cw 0x5
call send_back  ; 489 (0x01e9)

lri $AR1,    #0x9dc2
lri $IX1,    #0x0ca8
lri $WR1,    #0xa7f2
cw 0x5
call send_back  ; 490 (0x01ea)

lri $AR1,    #0x6c04
lri $IX1,    #0xf458
lri $WR1,    #0x9a9c
cw 0x5
call send_back  ; 491 (0x01eb)

lri $AR1,    #0x336c
lri $IX1,    #0x6a14
lri $WR1,    #0x572e
cw 0x5
call send_back  ; 492 (0x01ec)

lri $AR1,    #0x9f84
lri $IX1,    #0xcef2
lri $WR1,    #0x013e
cw 0x5
call send_back  ; 493 (0x01ed)

lri $AR1,    #0x1af2
lri $IX1,    #0x64f8
lri $WR1,    #0x46e0
cw 0x5
call send_back  ; 494 (0x01ee)

lri $AR1,    #0x5118
lri $IX1,    #0xd300
lri $WR1,    #0xda7e
cw 0x5
call send_back  ; 495 (0x01ef)

lri $AR1,    #0x4fc0
lri $IX1,    #0x329a
lri $WR1,    #0x908e
cw 0x5
call send_back  ; 496 (0x01f0)

lri $AR1,    #0x7814
lri $IX1,    #0xfebe
lri $WR1,    #0x6ee8
cw 0x5
call send_back  ; 497 (0x01f1)

lri $AR1,    #0x5e54
lri $IX1,    #0x6b34
lri $WR1,    #0x6286
cw 0x5
call send_back  ; 498 (0x01f2)

lri $AR1,    #0x9496
lri $IX1,    #0xe0b2
lri $WR1,    #0x5660
cw 0x5
call send_back  ; 499 (0x01f3)

lri $AR1,    #0x64b4
lri $IX1,    #0xf376
lri $WR1,    #0x8256
cw 0x5
call send_back  ; 500 (0x01f4)

lri $AR1,    #0x6b28
lri $IX1,    #0x9bb8
lri $WR1,    #0xc6d8
cw 0x5
call send_back  ; 501 (0x01f5)

lri $AR1,    #0x156a
lri $IX1,    #0x26b4
lri $WR1,    #0x353a
cw 0x5
call send_back  ; 502 (0x01f6)

lri $AR1,    #0x165c
lri $IX1,    #0x5138
lri $WR1,    #0x78c8
cw 0x5
call send_back  ; 503 (0x01f7)

lri $AR1,    #0xa10e
lri $IX1,    #0x5530
lri $WR1,    #0x144e
cw 0x5
call send_back  ; 504 (0x01f8)

lri $AR1,    #0x9d50
lri $IX1,    #0x2490
lri $WR1,    #0x47dc
cw 0x5
call send_back  ; 505 (0x01f9)

lri $AR1,    #0xd330
lri $IX1,    #0x7066
lri $WR1,    #0xfe90
cw 0x5
call send_back  ; 506 (0x01fa)

lri $AR1,    #0x3890
lri $IX1,    #0x1b7a
lri $WR1,    #0x84dc
cw 0x5
call send_back  ; 507 (0x01fb)

lri $AR1,    #0x43bc
lri $IX1,    #0x01e2
lri $WR1,    #0x9384
cw 0x5
call send_back  ; 508 (0x01fc)

lri $AR1,    #0xc542
lri $IX1,    #0x1b86
lri $WR1,    #0xf81c
cw 0x5
call send_back  ; 509 (0x01fd)

lri $AR1,    #0x5e92
lri $IX1,    #0xe76a
lri $WR1,    #0x858e
cw 0x5
call send_back  ; 510 (0x01fe)

lri $AR1,    #0x3900
lri $IX1,    #0x4d78
lri $WR1,    #0x7a7c
cw 0x5
call send_back  ; 511 (0x01ff)

lri $AR1,    #0x4f84
lri $IX1,    #0x6a16
lri $WR1,    #0xc3c4
cw 0x5
call send_back  ; 512 (0x0200)

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

