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

lri $AR1,    #0xeb44
lri $IX1,    #0x9e10
lri $WR1,    #0x6544
cw 0x15
call send_back  ; 30584 (0x7778)

lri $AR1,    #0xa0dc
lri $IX1,    #0xa79a
lri $WR1,    #0xa8d5
cw 0x15
call send_back  ; 30585 (0x7779)

lri $AR1,    #0x5c35
lri $IX1,    #0x05e0
lri $WR1,    #0x5aee
cw 0x15
call send_back  ; 30586 (0x777a)

lri $AR1,    #0x6472
lri $IX1,    #0x62ce
lri $WR1,    #0xca05
cw 0x15
call send_back  ; 30587 (0x777b)

lri $AR1,    #0x67de
lri $IX1,    #0x4abe
lri $WR1,    #0xd613
cw 0x15
call send_back  ; 30588 (0x777c)

lri $AR1,    #0xa4fb
lri $IX1,    #0xba66
lri $WR1,    #0x92c2
cw 0x15
call send_back  ; 30589 (0x777d)

lri $AR1,    #0x42a4
lri $IX1,    #0x1936
lri $WR1,    #0x5b24
cw 0x15
call send_back  ; 30590 (0x777e)

lri $AR1,    #0x370a
lri $IX1,    #0xa1f0
lri $WR1,    #0xfbfb
cw 0x15
call send_back  ; 30591 (0x777f)

lri $AR1,    #0x94d9
lri $IX1,    #0x87ae
lri $WR1,    #0x7f2d
cw 0x15
call send_back  ; 30592 (0x7780)

lri $AR1,    #0xe16b
lri $IX1,    #0xfde0
lri $WR1,    #0xac61
cw 0x15
call send_back  ; 30593 (0x7781)

lri $AR1,    #0x963a
lri $IX1,    #0xcea4
lri $WR1,    #0x6075
cw 0x15
call send_back  ; 30594 (0x7782)

lri $AR1,    #0x8373
lri $IX1,    #0x7b08
lri $WR1,    #0x4ebd
cw 0x15
call send_back  ; 30595 (0x7783)

lri $AR1,    #0x50fe
lri $IX1,    #0x1d64
lri $WR1,    #0x74aa
cw 0x15
call send_back  ; 30596 (0x7784)

lri $AR1,    #0xb6bb
lri $IX1,    #0x8e98
lri $WR1,    #0x61e8
cw 0x15
call send_back  ; 30597 (0x7785)

lri $AR1,    #0x9459
lri $IX1,    #0xc33a
lri $WR1,    #0x5486
cw 0x15
call send_back  ; 30598 (0x7786)

lri $AR1,    #0x3476
lri $IX1,    #0x168a
lri $WR1,    #0x6a2a
cw 0x15
call send_back  ; 30599 (0x7787)

lri $AR1,    #0x9e88
lri $IX1,    #0x6532
lri $WR1,    #0x2cf8
cw 0x15
call send_back  ; 30600 (0x7788)

lri $AR1,    #0xc62f
lri $IX1,    #0x92a8
lri $WR1,    #0x6c25
cw 0x15
call send_back  ; 30601 (0x7789)

lri $AR1,    #0x865a
lri $IX1,    #0x784a
lri $WR1,    #0x7dd0
cw 0x15
call send_back  ; 30602 (0x778a)

lri $AR1,    #0x8a13
lri $IX1,    #0x6df6
lri $WR1,    #0x993c
cw 0x15
call send_back  ; 30603 (0x778b)

lri $AR1,    #0x6c31
lri $IX1,    #0xb830
lri $WR1,    #0x4de1
cw 0x15
call send_back  ; 30604 (0x778c)

lri $AR1,    #0x52c1
lri $IX1,    #0x50b2
lri $WR1,    #0x157d
cw 0x15
call send_back  ; 30605 (0x778d)

lri $AR1,    #0x7a90
lri $IX1,    #0xd272
lri $WR1,    #0x7ca9
cw 0x15
call send_back  ; 30606 (0x778e)

lri $AR1,    #0x6a83
lri $IX1,    #0xf2ce
lri $WR1,    #0x3f05
cw 0x15
call send_back  ; 30607 (0x778f)

lri $AR1,    #0xbe24
lri $IX1,    #0xfe3c
lri $WR1,    #0x5981
cw 0x15
call send_back  ; 30608 (0x7790)

lri $AR1,    #0x8227
lri $IX1,    #0x66e2
lri $WR1,    #0x5eed
cw 0x15
call send_back  ; 30609 (0x7791)

lri $AR1,    #0xdd46
lri $IX1,    #0xb890
lri $WR1,    #0x283b
cw 0x15
call send_back  ; 30610 (0x7792)

lri $AR1,    #0x9336
lri $IX1,    #0x55a4
lri $WR1,    #0x2bac
cw 0x15
call send_back  ; 30611 (0x7793)

lri $AR1,    #0x3709
lri $IX1,    #0x5cfe
lri $WR1,    #0x3b51
cw 0x15
call send_back  ; 30612 (0x7794)

lri $AR1,    #0x7dcc
lri $IX1,    #0x21e6
lri $WR1,    #0x8509
cw 0x15
call send_back  ; 30613 (0x7795)

lri $AR1,    #0x71bd
lri $IX1,    #0xd2d6
lri $WR1,    #0xcb89
cw 0x15
call send_back  ; 30614 (0x7796)

lri $AR1,    #0x29d4
lri $IX1,    #0x6d0a
lri $WR1,    #0xd176
cw 0x15
call send_back  ; 30615 (0x7797)

lri $AR1,    #0x80fd
lri $IX1,    #0x06e8
lri $WR1,    #0xb520
cw 0x15
call send_back  ; 30616 (0x7798)

lri $AR1,    #0x73d5
lri $IX1,    #0xf3fa
lri $WR1,    #0x6501
cw 0x15
call send_back  ; 30617 (0x7799)

lri $AR1,    #0xab30
lri $IX1,    #0x69b4
lri $WR1,    #0x4270
cw 0x15
call send_back  ; 30618 (0x779a)

lri $AR1,    #0x2d3d
lri $IX1,    #0x3ca0
lri $WR1,    #0x59b9
cw 0x15
call send_back  ; 30619 (0x779b)

lri $AR1,    #0x9697
lri $IX1,    #0x2a2e
lri $WR1,    #0x2c16
cw 0x15
call send_back  ; 30620 (0x779c)

lri $AR1,    #0xf81f
lri $IX1,    #0x0be0
lri $WR1,    #0xc198
cw 0x15
call send_back  ; 30621 (0x779d)

lri $AR1,    #0x65d2
lri $IX1,    #0x64e8
lri $WR1,    #0x76a0
cw 0x15
call send_back  ; 30622 (0x779e)

lri $AR1,    #0x4689
lri $IX1,    #0x1c0a
lri $WR1,    #0x99e8
cw 0x15
call send_back  ; 30623 (0x779f)

lri $AR1,    #0x6be6
lri $IX1,    #0xffd2
lri $WR1,    #0x55b0
cw 0x15
call send_back  ; 30624 (0x77a0)

lri $AR1,    #0x453e
lri $IX1,    #0x0be0
lri $WR1,    #0x682c
cw 0x15
call send_back  ; 30625 (0x77a1)

lri $AR1,    #0x7fcc
lri $IX1,    #0x6a74
lri $WR1,    #0xbca7
cw 0x15
call send_back  ; 30626 (0x77a2)

lri $AR1,    #0x7a09
lri $IX1,    #0xfdf8
lri $WR1,    #0x688b
cw 0x15
call send_back  ; 30627 (0x77a3)

lri $AR1,    #0x776f
lri $IX1,    #0xfa9e
lri $WR1,    #0x44c8
cw 0x15
call send_back  ; 30628 (0x77a4)

lri $AR1,    #0xdd7d
lri $IX1,    #0xe0cc
lri $WR1,    #0xb5b3
cw 0x15
call send_back  ; 30629 (0x77a5)

lri $AR1,    #0x5240
lri $IX1,    #0x1da4
lri $WR1,    #0x90e7
cw 0x15
call send_back  ; 30630 (0x77a6)

lri $AR1,    #0x3844
lri $IX1,    #0xd720
lri $WR1,    #0xd244
cw 0x15
call send_back  ; 30631 (0x77a7)

lri $AR1,    #0x9b31
lri $IX1,    #0x161c
lri $WR1,    #0xd68b
cw 0x15
call send_back  ; 30632 (0x77a8)

lri $AR1,    #0x8be2
lri $IX1,    #0xb900
lri $WR1,    #0x7bb8
cw 0x15
call send_back  ; 30633 (0x77a9)

lri $AR1,    #0x8a49
lri $IX1,    #0x7e0e
lri $WR1,    #0xb49c
cw 0x15
call send_back  ; 30634 (0x77aa)

lri $AR1,    #0x4efc
lri $IX1,    #0x253c
lri $WR1,    #0x2ecd
cw 0x15
call send_back  ; 30635 (0x77ab)

lri $AR1,    #0x6da2
lri $IX1,    #0x45aa
lri $WR1,    #0x7f82
cw 0x15
call send_back  ; 30636 (0x77ac)

lri $AR1,    #0x4527
lri $IX1,    #0x1b5c
lri $WR1,    #0xc564
cw 0x15
call send_back  ; 30637 (0x77ad)

lri $AR1,    #0xe1f9
lri $IX1,    #0x668a
lri $WR1,    #0x2ad8
cw 0x15
call send_back  ; 30638 (0x77ae)

lri $AR1,    #0x3a28
lri $IX1,    #0x9616
lri $WR1,    #0x95f5
cw 0x15
call send_back  ; 30639 (0x77af)

lri $AR1,    #0x62b1
lri $IX1,    #0x0362
lri $WR1,    #0x788c
cw 0x15
call send_back  ; 30640 (0x77b0)

lri $AR1,    #0xe8c2
lri $IX1,    #0x1e4a
lri $WR1,    #0x7c71
cw 0x15
call send_back  ; 30641 (0x77b1)

lri $AR1,    #0xb95b
lri $IX1,    #0x2c3e
lri $WR1,    #0x9588
cw 0x15
call send_back  ; 30642 (0x77b2)

lri $AR1,    #0xd4fa
lri $IX1,    #0xce78
lri $WR1,    #0x34a7
cw 0x15
call send_back  ; 30643 (0x77b3)

lri $AR1,    #0x54c2
lri $IX1,    #0xff32
lri $WR1,    #0x4bde
cw 0x15
call send_back  ; 30644 (0x77b4)

lri $AR1,    #0x61e0
lri $IX1,    #0xbeba
lri $WR1,    #0xee34
cw 0x15
call send_back  ; 30645 (0x77b5)

lri $AR1,    #0x8f70
lri $IX1,    #0x5d96
lri $WR1,    #0x726e
cw 0x15
call send_back  ; 30646 (0x77b6)

lri $AR1,    #0x6ad8
lri $IX1,    #0x513a
lri $WR1,    #0x81e5
cw 0x15
call send_back  ; 30647 (0x77b7)

lri $AR1,    #0xedb6
lri $IX1,    #0xedc4
lri $WR1,    #0xc20b
cw 0x15
call send_back  ; 30648 (0x77b8)

lri $AR1,    #0x2862
lri $IX1,    #0x572a
lri $WR1,    #0xb09e
cw 0x15
call send_back  ; 30649 (0x77b9)

lri $AR1,    #0x5b33
lri $IX1,    #0xa144
lri $WR1,    #0x3826
cw 0x15
call send_back  ; 30650 (0x77ba)

lri $AR1,    #0xa863
lri $IX1,    #0x863a
lri $WR1,    #0x53c6
cw 0x15
call send_back  ; 30651 (0x77bb)

lri $AR1,    #0x6fe1
lri $IX1,    #0x7792
lri $WR1,    #0xaef7
cw 0x15
call send_back  ; 30652 (0x77bc)

lri $AR1,    #0xa1e7
lri $IX1,    #0x3698
lri $WR1,    #0x6730
cw 0x15
call send_back  ; 30653 (0x77bd)

lri $AR1,    #0x4497
lri $IX1,    #0xb546
lri $WR1,    #0x5322
cw 0x15
call send_back  ; 30654 (0x77be)

lri $AR1,    #0x6c74
lri $IX1,    #0xe15e
lri $WR1,    #0x547d
cw 0x15
call send_back  ; 30655 (0x77bf)

lri $AR1,    #0x5f12
lri $IX1,    #0x47dc
lri $WR1,    #0x9ee2
cw 0x15
call send_back  ; 30656 (0x77c0)

lri $AR1,    #0x62c3
lri $IX1,    #0x5790
lri $WR1,    #0x6809
cw 0x15
call send_back  ; 30657 (0x77c1)

lri $AR1,    #0xbd85
lri $IX1,    #0x8de0
lri $WR1,    #0x82af
cw 0x15
call send_back  ; 30658 (0x77c2)

lri $AR1,    #0x791a
lri $IX1,    #0x2992
lri $WR1,    #0x5753
cw 0x15
call send_back  ; 30659 (0x77c3)

lri $AR1,    #0x8991
lri $IX1,    #0x3baa
lri $WR1,    #0x6364
cw 0x15
call send_back  ; 30660 (0x77c4)

lri $AR1,    #0x4f02
lri $IX1,    #0x3722
lri $WR1,    #0xc0df
cw 0x15
call send_back  ; 30661 (0x77c5)

lri $AR1,    #0x7adf
lri $IX1,    #0x949a
lri $WR1,    #0x15ee
cw 0x15
call send_back  ; 30662 (0x77c6)

lri $AR1,    #0x849d
lri $IX1,    #0xdfcc
lri $WR1,    #0x8da8
cw 0x15
call send_back  ; 30663 (0x77c7)

lri $AR1,    #0x711a
lri $IX1,    #0xb0cc
lri $WR1,    #0x806c
cw 0x15
call send_back  ; 30664 (0x77c8)

lri $AR1,    #0x9b68
lri $IX1,    #0xcbe8
lri $WR1,    #0x9bfe
cw 0x15
call send_back  ; 30665 (0x77c9)

lri $AR1,    #0x4d80
lri $IX1,    #0x074c
lri $WR1,    #0x88dd
cw 0x15
call send_back  ; 30666 (0x77ca)

lri $AR1,    #0xaa80
lri $IX1,    #0xc60c
lri $WR1,    #0x9bf6
cw 0x15
call send_back  ; 30667 (0x77cb)

lri $AR1,    #0x13e4
lri $IX1,    #0xf4d8
lri $WR1,    #0x7942
cw 0x15
call send_back  ; 30668 (0x77cc)

lri $AR1,    #0x2e71
lri $IX1,    #0x9d04
lri $WR1,    #0x854d
cw 0x15
call send_back  ; 30669 (0x77cd)

lri $AR1,    #0x5b3a
lri $IX1,    #0x7710
lri $WR1,    #0x814d
cw 0x15
call send_back  ; 30670 (0x77ce)

lri $AR1,    #0xbc79
lri $IX1,    #0x8654
lri $WR1,    #0x8ecf
cw 0x15
call send_back  ; 30671 (0x77cf)

lri $AR1,    #0x959d
lri $IX1,    #0xd42e
lri $WR1,    #0x7d84
cw 0x15
call send_back  ; 30672 (0x77d0)

lri $AR1,    #0xe152
lri $IX1,    #0xf922
lri $WR1,    #0x0f46
cw 0x15
call send_back  ; 30673 (0x77d1)

lri $AR1,    #0x37d8
lri $IX1,    #0x6748
lri $WR1,    #0xabeb
cw 0x15
call send_back  ; 30674 (0x77d2)

lri $AR1,    #0x7379
lri $IX1,    #0x79b6
lri $WR1,    #0xafdc
cw 0x15
call send_back  ; 30675 (0x77d3)

lri $AR1,    #0x486b
lri $IX1,    #0x48f8
lri $WR1,    #0x7629
cw 0x15
call send_back  ; 30676 (0x77d4)

lri $AR1,    #0xa0f6
lri $IX1,    #0x4d70
lri $WR1,    #0x5802
cw 0x15
call send_back  ; 30677 (0x77d5)

lri $AR1,    #0xde1b
lri $IX1,    #0x0ca2
lri $WR1,    #0x7938
cw 0x15
call send_back  ; 30678 (0x77d6)

lri $AR1,    #0x80a7
lri $IX1,    #0x8f44
lri $WR1,    #0x3add
cw 0x15
call send_back  ; 30679 (0x77d7)

lri $AR1,    #0x95ee
lri $IX1,    #0x4a24
lri $WR1,    #0x7282
cw 0x15
call send_back  ; 30680 (0x77d8)

lri $AR1,    #0x6f03
lri $IX1,    #0x9caa
lri $WR1,    #0x6e2c
cw 0x15
call send_back  ; 30681 (0x77d9)

lri $AR1,    #0x88bd
lri $IX1,    #0x2c12
lri $WR1,    #0xba92
cw 0x15
call send_back  ; 30682 (0x77da)

lri $AR1,    #0x7e65
lri $IX1,    #0x531e
lri $WR1,    #0x72ad
cw 0x15
call send_back  ; 30683 (0x77db)

lri $AR1,    #0x483b
lri $IX1,    #0xba6a
lri $WR1,    #0x7535
cw 0x15
call send_back  ; 30684 (0x77dc)

lri $AR1,    #0x42d3
lri $IX1,    #0x1612
lri $WR1,    #0x9609
cw 0x15
call send_back  ; 30685 (0x77dd)

lri $AR1,    #0x6b73
lri $IX1,    #0x19d2
lri $WR1,    #0x9f2a
cw 0x15
call send_back  ; 30686 (0x77de)

lri $AR1,    #0x4149
lri $IX1,    #0x1568
lri $WR1,    #0x963c
cw 0x15
call send_back  ; 30687 (0x77df)

lri $AR1,    #0x32df
lri $IX1,    #0x774a
lri $WR1,    #0xa141
cw 0x15
call send_back  ; 30688 (0x77e0)

lri $AR1,    #0x4a7c
lri $IX1,    #0xcc70
lri $WR1,    #0x6e78
cw 0x15
call send_back  ; 30689 (0x77e1)

lri $AR1,    #0x4be5
lri $IX1,    #0xd868
lri $WR1,    #0x910c
cw 0x15
call send_back  ; 30690 (0x77e2)

lri $AR1,    #0x8926
lri $IX1,    #0x3152
lri $WR1,    #0xb594
cw 0x15
call send_back  ; 30691 (0x77e3)

lri $AR1,    #0x3be2
lri $IX1,    #0x880c
lri $WR1,    #0xc6fe
cw 0x15
call send_back  ; 30692 (0x77e4)

lri $AR1,    #0x8bcb
lri $IX1,    #0x8d18
lri $WR1,    #0x75ee
cw 0x15
call send_back  ; 30693 (0x77e5)

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