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

lri $AR1,    #0xd878
lri $IX1,    #0x3d66
lri $WR1,    #0x75a4
cw 0xd
call send_back  ; 20536 (0x5038)

lri $AR1,    #0x62ad
lri $IX1,    #0xdeb2
lri $WR1,    #0x94ff
cw 0xd
call send_back  ; 20537 (0x5039)

lri $AR1,    #0x4da9
lri $IX1,    #0x99ee
lri $WR1,    #0x5a61
cw 0xd
call send_back  ; 20538 (0x503a)

lri $AR1,    #0xa00e
lri $IX1,    #0xb4c0
lri $WR1,    #0xb98b
cw 0xd
call send_back  ; 20539 (0x503b)

lri $AR1,    #0x515c
lri $IX1,    #0xc98c
lri $WR1,    #0x722f
cw 0xd
call send_back  ; 20540 (0x503c)

lri $AR1,    #0x7f75
lri $IX1,    #0xaa14
lri $WR1,    #0x60a2
cw 0xd
call send_back  ; 20541 (0x503d)

lri $AR1,    #0x5f48
lri $IX1,    #0xc186
lri $WR1,    #0x7c11
cw 0xd
call send_back  ; 20542 (0x503e)

lri $AR1,    #0x6844
lri $IX1,    #0x1470
lri $WR1,    #0x4746
cw 0xd
call send_back  ; 20543 (0x503f)

lri $AR1,    #0xb20c
lri $IX1,    #0xb040
lri $WR1,    #0xdea1
cw 0xd
call send_back  ; 20544 (0x5040)

lri $AR1,    #0xc71b
lri $IX1,    #0x83b4
lri $WR1,    #0xd734
cw 0xd
call send_back  ; 20545 (0x5041)

lri $AR1,    #0xaeb9
lri $IX1,    #0x150e
lri $WR1,    #0x30b7
cw 0xd
call send_back  ; 20546 (0x5042)

lri $AR1,    #0x8418
lri $IX1,    #0x3a58
lri $WR1,    #0x8d49
cw 0xd
call send_back  ; 20547 (0x5043)

lri $AR1,    #0x77d3
lri $IX1,    #0xbb78
lri $WR1,    #0x9791
cw 0xd
call send_back  ; 20548 (0x5044)

lri $AR1,    #0x74ab
lri $IX1,    #0x7d82
lri $WR1,    #0x596a
cw 0xd
call send_back  ; 20549 (0x5045)

lri $AR1,    #0x2fdf
lri $IX1,    #0x61fe
lri $WR1,    #0xa27a
cw 0xd
call send_back  ; 20550 (0x5046)

lri $AR1,    #0x90d2
lri $IX1,    #0x4482
lri $WR1,    #0x5ff2
cw 0xd
call send_back  ; 20551 (0x5047)

lri $AR1,    #0x736b
lri $IX1,    #0x5464
lri $WR1,    #0xcbf1
cw 0xd
call send_back  ; 20552 (0x5048)

lri $AR1,    #0x33eb
lri $IX1,    #0x4fe2
lri $WR1,    #0x8493
cw 0xd
call send_back  ; 20553 (0x5049)

lri $AR1,    #0x9294
lri $IX1,    #0xc17e
lri $WR1,    #0x4854
cw 0xd
call send_back  ; 20554 (0x504a)

lri $AR1,    #0xb0f3
lri $IX1,    #0x2fee
lri $WR1,    #0xa6be
cw 0xd
call send_back  ; 20555 (0x504b)

lri $AR1,    #0x920d
lri $IX1,    #0x146e
lri $WR1,    #0x4a05
cw 0xd
call send_back  ; 20556 (0x504c)

lri $AR1,    #0x8255
lri $IX1,    #0x42b6
lri $WR1,    #0x7791
cw 0xd
call send_back  ; 20557 (0x504d)

lri $AR1,    #0x7baa
lri $IX1,    #0x1974
lri $WR1,    #0x6316
cw 0xd
call send_back  ; 20558 (0x504e)

lri $AR1,    #0x5d31
lri $IX1,    #0x3198
lri $WR1,    #0x513b
cw 0xd
call send_back  ; 20559 (0x504f)

lri $AR1,    #0x8666
lri $IX1,    #0x3634
lri $WR1,    #0xac6e
cw 0xd
call send_back  ; 20560 (0x5050)

lri $AR1,    #0xf020
lri $IX1,    #0xf650
lri $WR1,    #0x77e4
cw 0xd
call send_back  ; 20561 (0x5051)

lri $AR1,    #0x9deb
lri $IX1,    #0x7d7e
lri $WR1,    #0x5a6f
cw 0xd
call send_back  ; 20562 (0x5052)

lri $AR1,    #0x957e
lri $IX1,    #0xef74
lri $WR1,    #0x2c15
cw 0xd
call send_back  ; 20563 (0x5053)

lri $AR1,    #0x519c
lri $IX1,    #0xe690
lri $WR1,    #0x6722
cw 0xd
call send_back  ; 20564 (0x5054)

lri $AR1,    #0xc136
lri $IX1,    #0x0c82
lri $WR1,    #0xf6a0
cw 0xd
call send_back  ; 20565 (0x5055)

lri $AR1,    #0xb31a
lri $IX1,    #0x6fec
lri $WR1,    #0x79df
cw 0xd
call send_back  ; 20566 (0x5056)

lri $AR1,    #0xf203
lri $IX1,    #0x9968
lri $WR1,    #0x960b
cw 0xd
call send_back  ; 20567 (0x5057)

lri $AR1,    #0x2c4e
lri $IX1,    #0x7592
lri $WR1,    #0x3472
cw 0xd
call send_back  ; 20568 (0x5058)

lri $AR1,    #0x6e3c
lri $IX1,    #0xb190
lri $WR1,    #0x7573
cw 0xd
call send_back  ; 20569 (0x5059)

lri $AR1,    #0xd4f1
lri $IX1,    #0x02ce
lri $WR1,    #0x8dc3
cw 0xd
call send_back  ; 20570 (0x505a)

lri $AR1,    #0x141e
lri $IX1,    #0xe25a
lri $WR1,    #0x14f7
cw 0xd
call send_back  ; 20571 (0x505b)

lri $AR1,    #0x4f93
lri $IX1,    #0x6782
lri $WR1,    #0x6203
cw 0xd
call send_back  ; 20572 (0x505c)

lri $AR1,    #0x858e
lri $IX1,    #0x0538
lri $WR1,    #0x4ba2
cw 0xd
call send_back  ; 20573 (0x505d)

lri $AR1,    #0x3622
lri $IX1,    #0xd8e8
lri $WR1,    #0x604d
cw 0xd
call send_back  ; 20574 (0x505e)

lri $AR1,    #0x7769
lri $IX1,    #0xd924
lri $WR1,    #0xcacb
cw 0xd
call send_back  ; 20575 (0x505f)

lri $AR1,    #0x9df7
lri $IX1,    #0x65e0
lri $WR1,    #0x7dd6
cw 0xd
call send_back  ; 20576 (0x5060)

lri $AR1,    #0x6c42
lri $IX1,    #0x63b2
lri $WR1,    #0xcb09
cw 0xd
call send_back  ; 20577 (0x5061)

lri $AR1,    #0x3b58
lri $IX1,    #0x06b4
lri $WR1,    #0x168b
cw 0xd
call send_back  ; 20578 (0x5062)

lri $AR1,    #0x22b3
lri $IX1,    #0xa194
lri $WR1,    #0xca90
cw 0xd
call send_back  ; 20579 (0x5063)

lri $AR1,    #0x2c82
lri $IX1,    #0x1064
lri $WR1,    #0x6341
cw 0xd
call send_back  ; 20580 (0x5064)

lri $AR1,    #0x7f22
lri $IX1,    #0x8eaa
lri $WR1,    #0x451f
cw 0xd
call send_back  ; 20581 (0x5065)

lri $AR1,    #0x7433
lri $IX1,    #0xd368
lri $WR1,    #0x6d5d
cw 0xd
call send_back  ; 20582 (0x5066)

lri $AR1,    #0x3905
lri $IX1,    #0x0d7a
lri $WR1,    #0xcd66
cw 0xd
call send_back  ; 20583 (0x5067)

lri $AR1,    #0xabb2
lri $IX1,    #0xae00
lri $WR1,    #0x27f5
cw 0xd
call send_back  ; 20584 (0x5068)

lri $AR1,    #0x93b2
lri $IX1,    #0xb648
lri $WR1,    #0x6ff0
cw 0xd
call send_back  ; 20585 (0x5069)

lri $AR1,    #0x7450
lri $IX1,    #0x59f0
lri $WR1,    #0xd680
cw 0xd
call send_back  ; 20586 (0x506a)

lri $AR1,    #0x6aa0
lri $IX1,    #0x1594
lri $WR1,    #0xc787
cw 0xd
call send_back  ; 20587 (0x506b)

lri $AR1,    #0xb07c
lri $IX1,    #0xbdda
lri $WR1,    #0x68f8
cw 0xd
call send_back  ; 20588 (0x506c)

lri $AR1,    #0x5931
lri $IX1,    #0x622a
lri $WR1,    #0xab22
cw 0xd
call send_back  ; 20589 (0x506d)

lri $AR1,    #0x8c40
lri $IX1,    #0x09f0
lri $WR1,    #0x7587
cw 0xd
call send_back  ; 20590 (0x506e)

lri $AR1,    #0xc5fb
lri $IX1,    #0x32a0
lri $WR1,    #0x5d45
cw 0xd
call send_back  ; 20591 (0x506f)

lri $AR1,    #0xdd4f
lri $IX1,    #0x6852
lri $WR1,    #0x77aa
cw 0xd
call send_back  ; 20592 (0x5070)

lri $AR1,    #0x9990
lri $IX1,    #0x3a66
lri $WR1,    #0xa4f2
cw 0xd
call send_back  ; 20593 (0x5071)

lri $AR1,    #0x628d
lri $IX1,    #0x08c6
lri $WR1,    #0x7cdc
cw 0xd
call send_back  ; 20594 (0x5072)

lri $AR1,    #0x68c6
lri $IX1,    #0x964c
lri $WR1,    #0xb809
cw 0xd
call send_back  ; 20595 (0x5073)

lri $AR1,    #0x6b13
lri $IX1,    #0xd002
lri $WR1,    #0x66c0
cw 0xd
call send_back  ; 20596 (0x5074)

lri $AR1,    #0x5a7e
lri $IX1,    #0xb08a
lri $WR1,    #0x5f35
cw 0xd
call send_back  ; 20597 (0x5075)

lri $AR1,    #0x6cba
lri $IX1,    #0x7282
lri $WR1,    #0x6ac4
cw 0xd
call send_back  ; 20598 (0x5076)

lri $AR1,    #0x90eb
lri $IX1,    #0x4446
lri $WR1,    #0x3b53
cw 0xd
call send_back  ; 20599 (0x5077)

lri $AR1,    #0x9224
lri $IX1,    #0x42bc
lri $WR1,    #0x774d
cw 0xd
call send_back  ; 20600 (0x5078)

lri $AR1,    #0x5e5d
lri $IX1,    #0x889c
lri $WR1,    #0x9459
cw 0xd
call send_back  ; 20601 (0x5079)

lri $AR1,    #0xc841
lri $IX1,    #0x7af4
lri $WR1,    #0xa65b
cw 0xd
call send_back  ; 20602 (0x507a)

lri $AR1,    #0x8d89
lri $IX1,    #0x0b2c
lri $WR1,    #0x99be
cw 0xd
call send_back  ; 20603 (0x507b)

lri $AR1,    #0xd359
lri $IX1,    #0x4a84
lri $WR1,    #0x65b5
cw 0xd
call send_back  ; 20604 (0x507c)

lri $AR1,    #0x854c
lri $IX1,    #0x421c
lri $WR1,    #0x7c63
cw 0xd
call send_back  ; 20605 (0x507d)

lri $AR1,    #0x7393
lri $IX1,    #0x6e9e
lri $WR1,    #0x7c91
cw 0xd
call send_back  ; 20606 (0x507e)

lri $AR1,    #0x8ff8
lri $IX1,    #0x5d9e
lri $WR1,    #0x49f9
cw 0xd
call send_back  ; 20607 (0x507f)

lri $AR1,    #0xa101
lri $IX1,    #0x9e9c
lri $WR1,    #0x96b8
cw 0xd
call send_back  ; 20608 (0x5080)

lri $AR1,    #0x8e1c
lri $IX1,    #0x60fe
lri $WR1,    #0x71ef
cw 0xd
call send_back  ; 20609 (0x5081)

lri $AR1,    #0x671d
lri $IX1,    #0x93be
lri $WR1,    #0x7d33
cw 0xd
call send_back  ; 20610 (0x5082)

lri $AR1,    #0x5cc9
lri $IX1,    #0x0b2a
lri $WR1,    #0x5bd0
cw 0xd
call send_back  ; 20611 (0x5083)

lri $AR1,    #0x67e0
lri $IX1,    #0xf47c
lri $WR1,    #0xa46f
cw 0xd
call send_back  ; 20612 (0x5084)

lri $AR1,    #0xb75b
lri $IX1,    #0x96b2
lri $WR1,    #0x7734
cw 0xd
call send_back  ; 20613 (0x5085)

lri $AR1,    #0x8e3f
lri $IX1,    #0xeb48
lri $WR1,    #0xb7e6
cw 0xd
call send_back  ; 20614 (0x5086)

lri $AR1,    #0x5cc4
lri $IX1,    #0xd95a
lri $WR1,    #0xad22
cw 0xd
call send_back  ; 20615 (0x5087)

lri $AR1,    #0x7836
lri $IX1,    #0xb0d6
lri $WR1,    #0x4b47
cw 0xd
call send_back  ; 20616 (0x5088)

lri $AR1,    #0xc04e
lri $IX1,    #0xcb1c
lri $WR1,    #0x9afe
cw 0xd
call send_back  ; 20617 (0x5089)

lri $AR1,    #0xa054
lri $IX1,    #0xd1e8
lri $WR1,    #0xd922
cw 0xd
call send_back  ; 20618 (0x508a)

lri $AR1,    #0x8de9
lri $IX1,    #0xfcb2
lri $WR1,    #0x7eea
cw 0xd
call send_back  ; 20619 (0x508b)

lri $AR1,    #0x4eba
lri $IX1,    #0x7890
lri $WR1,    #0xb708
cw 0xd
call send_back  ; 20620 (0x508c)

lri $AR1,    #0xc9f0
lri $IX1,    #0x059e
lri $WR1,    #0xbdb3
cw 0xd
call send_back  ; 20621 (0x508d)

lri $AR1,    #0xd9ad
lri $IX1,    #0x8100
lri $WR1,    #0xa73d
cw 0xd
call send_back  ; 20622 (0x508e)

lri $AR1,    #0xd471
lri $IX1,    #0x71ae
lri $WR1,    #0x6a39
cw 0xd
call send_back  ; 20623 (0x508f)

lri $AR1,    #0x3d99
lri $IX1,    #0xa1cc
lri $WR1,    #0xafd3
cw 0xd
call send_back  ; 20624 (0x5090)

lri $AR1,    #0x97f5
lri $IX1,    #0x360a
lri $WR1,    #0x3651
cw 0xd
call send_back  ; 20625 (0x5091)

lri $AR1,    #0x9497
lri $IX1,    #0x6fb0
lri $WR1,    #0xdf60
cw 0xd
call send_back  ; 20626 (0x5092)

lri $AR1,    #0x2bcb
lri $IX1,    #0x35bc
lri $WR1,    #0xb536
cw 0xd
call send_back  ; 20627 (0x5093)

lri $AR1,    #0x7579
lri $IX1,    #0x84e0
lri $WR1,    #0x271c
cw 0xd
call send_back  ; 20628 (0x5094)

lri $AR1,    #0xb1ca
lri $IX1,    #0xddb2
lri $WR1,    #0x576c
cw 0xd
call send_back  ; 20629 (0x5095)

lri $AR1,    #0x4252
lri $IX1,    #0x93ca
lri $WR1,    #0x728f
cw 0xd
call send_back  ; 20630 (0x5096)

lri $AR1,    #0x379f
lri $IX1,    #0x604a
lri $WR1,    #0x8825
cw 0xd
call send_back  ; 20631 (0x5097)

lri $AR1,    #0x6e79
lri $IX1,    #0xad60
lri $WR1,    #0x24b5
cw 0xd
call send_back  ; 20632 (0x5098)

lri $AR1,    #0xe393
lri $IX1,    #0x9858
lri $WR1,    #0x5430
cw 0xd
call send_back  ; 20633 (0x5099)

lri $AR1,    #0x4418
lri $IX1,    #0x82dc
lri $WR1,    #0xa2a7
cw 0xd
call send_back  ; 20634 (0x509a)

lri $AR1,    #0x34d0
lri $IX1,    #0x1bb6
lri $WR1,    #0x825d
cw 0xd
call send_back  ; 20635 (0x509b)

lri $AR1,    #0xb12f
lri $IX1,    #0xeb10
lri $WR1,    #0x93c4
cw 0xd
call send_back  ; 20636 (0x509c)

lri $AR1,    #0x9f2c
lri $IX1,    #0x8540
lri $WR1,    #0x8565
cw 0xd
call send_back  ; 20637 (0x509d)

lri $AR1,    #0xa41d
lri $IX1,    #0x7328
lri $WR1,    #0x7f59
cw 0xd
call send_back  ; 20638 (0x509e)

lri $AR1,    #0xca73
lri $IX1,    #0x7e60
lri $WR1,    #0x2f52
cw 0xd
call send_back  ; 20639 (0x509f)

lri $AR1,    #0x7faa
lri $IX1,    #0x42f2
lri $WR1,    #0x6fc9
cw 0xd
call send_back  ; 20640 (0x50a0)

lri $AR1,    #0x3d2a
lri $IX1,    #0x901a
lri $WR1,    #0x8e67
cw 0xd
call send_back  ; 20641 (0x50a1)

lri $AR1,    #0xae8a
lri $IX1,    #0x1cac
lri $WR1,    #0x4332
cw 0xd
call send_back  ; 20642 (0x50a2)

lri $AR1,    #0xbada
lri $IX1,    #0x4394
lri $WR1,    #0x5b8a
cw 0xd
call send_back  ; 20643 (0x50a3)

lri $AR1,    #0xde6f
lri $IX1,    #0xc040
lri $WR1,    #0x5199
cw 0xd
call send_back  ; 20644 (0x50a4)

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