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

lri $AR1,    #0x9e89
lri $IX1,    #0xefdc
lri $WR1,    #0x70c4
cw 0x15
call send_back  ; 51665 (0xc9d1)

lri $AR1,    #0x5370
lri $IX1,    #0xf91c
lri $WR1,    #0xba34
cw 0x15
call send_back  ; 51666 (0xc9d2)

lri $AR1,    #0x5a93
lri $IX1,    #0x5c70
lri $WR1,    #0xc05b
cw 0x15
call send_back  ; 51667 (0xc9d3)

lri $AR1,    #0xb0db
lri $IX1,    #0x4438
lri $WR1,    #0x73b9
cw 0x15
call send_back  ; 51668 (0xc9d4)

lri $AR1,    #0x3dbc
lri $IX1,    #0x6224
lri $WR1,    #0xb96b
cw 0x15
call send_back  ; 51669 (0xc9d5)

lri $AR1,    #0x5fea
lri $IX1,    #0xf086
lri $WR1,    #0xb3b5
cw 0x15
call send_back  ; 51670 (0xc9d6)

lri $AR1,    #0x8262
lri $IX1,    #0x5c68
lri $WR1,    #0x5098
cw 0x15
call send_back  ; 51671 (0xc9d7)

lri $AR1,    #0x9525
lri $IX1,    #0x4266
lri $WR1,    #0xbd14
cw 0x15
call send_back  ; 51672 (0xc9d8)

lri $AR1,    #0x7079
lri $IX1,    #0xe136
lri $WR1,    #0xc520
cw 0x15
call send_back  ; 51673 (0xc9d9)

lri $AR1,    #0x88e4
lri $IX1,    #0x48e8
lri $WR1,    #0x95e1
cw 0x15
call send_back  ; 51674 (0xc9da)

lri $AR1,    #0xcdde
lri $IX1,    #0x7e8a
lri $WR1,    #0xa942
cw 0x15
call send_back  ; 51675 (0xc9db)

lri $AR1,    #0x7459
lri $IX1,    #0xa88c
lri $WR1,    #0xb76a
cw 0x15
call send_back  ; 51676 (0xc9dc)

lri $AR1,    #0x2a18
lri $IX1,    #0x4056
lri $WR1,    #0x4428
cw 0x15
call send_back  ; 51677 (0xc9dd)

lri $AR1,    #0x9e11
lri $IX1,    #0x5a78
lri $WR1,    #0x9bec
cw 0x15
call send_back  ; 51678 (0xc9de)

lri $AR1,    #0xcda2
lri $IX1,    #0x76fe
lri $WR1,    #0xb54d
cw 0x15
call send_back  ; 51679 (0xc9df)

lri $AR1,    #0x7e04
lri $IX1,    #0x182c
lri $WR1,    #0xd1b9
cw 0x15
call send_back  ; 51680 (0xc9e0)

lri $AR1,    #0x14b0
lri $IX1,    #0xb64e
lri $WR1,    #0xc162
cw 0x15
call send_back  ; 51681 (0xc9e1)

lri $AR1,    #0x8119
lri $IX1,    #0xabbe
lri $WR1,    #0x3be1
cw 0x15
call send_back  ; 51682 (0xc9e2)

lri $AR1,    #0x7d7d
lri $IX1,    #0x84f2
lri $WR1,    #0x30bf
cw 0x15
call send_back  ; 51683 (0xc9e3)

lri $AR1,    #0xf42e
lri $IX1,    #0xdc90
lri $WR1,    #0x2859
cw 0x15
call send_back  ; 51684 (0xc9e4)

lri $AR1,    #0xb20e
lri $IX1,    #0xb46e
lri $WR1,    #0xa742
cw 0x15
call send_back  ; 51685 (0xc9e5)

lri $AR1,    #0x9ea1
lri $IX1,    #0x3086
lri $WR1,    #0x63a4
cw 0x15
call send_back  ; 51686 (0xc9e6)

lri $AR1,    #0xd579
lri $IX1,    #0xd99a
lri $WR1,    #0x5dbb
cw 0x15
call send_back  ; 51687 (0xc9e7)

lri $AR1,    #0x9455
lri $IX1,    #0x39c4
lri $WR1,    #0xf1f9
cw 0x15
call send_back  ; 51688 (0xc9e8)

lri $AR1,    #0xdcb4
lri $IX1,    #0xdd90
lri $WR1,    #0xa4d5
cw 0x15
call send_back  ; 51689 (0xc9e9)

lri $AR1,    #0xc740
lri $IX1,    #0xa8e0
lri $WR1,    #0x95ef
cw 0x15
call send_back  ; 51690 (0xc9ea)

lri $AR1,    #0xbad5
lri $IX1,    #0x1f34
lri $WR1,    #0x997b
cw 0x15
call send_back  ; 51691 (0xc9eb)

lri $AR1,    #0xe06f
lri $IX1,    #0xdba0
lri $WR1,    #0x4ca0
cw 0x15
call send_back  ; 51692 (0xc9ec)

lri $AR1,    #0x28df
lri $IX1,    #0x1d18
lri $WR1,    #0x72c2
cw 0x15
call send_back  ; 51693 (0xc9ed)

lri $AR1,    #0x688c
lri $IX1,    #0x202a
lri $WR1,    #0x6756
cw 0x15
call send_back  ; 51694 (0xc9ee)

lri $AR1,    #0xd109
lri $IX1,    #0x2006
lri $WR1,    #0x514f
cw 0x15
call send_back  ; 51695 (0xc9ef)

lri $AR1,    #0xc7ea
lri $IX1,    #0x64c6
lri $WR1,    #0x6aae
cw 0x15
call send_back  ; 51696 (0xc9f0)

lri $AR1,    #0xa584
lri $IX1,    #0xddec
lri $WR1,    #0x7844
cw 0x15
call send_back  ; 51697 (0xc9f1)

lri $AR1,    #0x260c
lri $IX1,    #0x8c0a
lri $WR1,    #0x5b43
cw 0x15
call send_back  ; 51698 (0xc9f2)

lri $AR1,    #0x2ac7
lri $IX1,    #0x8d5e
lri $WR1,    #0x57a1
cw 0x15
call send_back  ; 51699 (0xc9f3)

lri $AR1,    #0xb0ac
lri $IX1,    #0x1d9c
lri $WR1,    #0x9fd9
cw 0x15
call send_back  ; 51700 (0xc9f4)

lri $AR1,    #0x7d4f
lri $IX1,    #0x6182
lri $WR1,    #0x5031
cw 0x15
call send_back  ; 51701 (0xc9f5)

lri $AR1,    #0x5244
lri $IX1,    #0x8b68
lri $WR1,    #0x20fc
cw 0x15
call send_back  ; 51702 (0xc9f6)

lri $AR1,    #0x5af4
lri $IX1,    #0xe690
lri $WR1,    #0x18f2
cw 0x15
call send_back  ; 51703 (0xc9f7)

lri $AR1,    #0xe015
lri $IX1,    #0xc352
lri $WR1,    #0x4e31
cw 0x15
call send_back  ; 51704 (0xc9f8)

lri $AR1,    #0x77a4
lri $IX1,    #0x36d0
lri $WR1,    #0x2df8
cw 0x15
call send_back  ; 51705 (0xc9f9)

lri $AR1,    #0x47af
lri $IX1,    #0x4578
lri $WR1,    #0xb09a
cw 0x15
call send_back  ; 51706 (0xc9fa)

lri $AR1,    #0xe5b3
lri $IX1,    #0x7ffe
lri $WR1,    #0x30da
cw 0x15
call send_back  ; 51707 (0xc9fb)

lri $AR1,    #0x43f9
lri $IX1,    #0x76e2
lri $WR1,    #0xb31e
cw 0x15
call send_back  ; 51708 (0xc9fc)

lri $AR1,    #0x59a0
lri $IX1,    #0xd158
lri $WR1,    #0x229b
cw 0x15
call send_back  ; 51709 (0xc9fd)

lri $AR1,    #0x21bc
lri $IX1,    #0x68b8
lri $WR1,    #0x4810
cw 0x15
call send_back  ; 51710 (0xc9fe)

lri $AR1,    #0x915c
lri $IX1,    #0xaa0a
lri $WR1,    #0x5f0d
cw 0x15
call send_back  ; 51711 (0xc9ff)

lri $AR1,    #0x9ba8
lri $IX1,    #0xcc08
lri $WR1,    #0x945d
cw 0x15
call send_back  ; 51712 (0xca00)

lri $AR1,    #0xa716
lri $IX1,    #0x4026
lri $WR1,    #0xc1ba
cw 0x15
call send_back  ; 51713 (0xca01)

lri $AR1,    #0x55d9
lri $IX1,    #0x49ec
lri $WR1,    #0xc82c
cw 0x15
call send_back  ; 51714 (0xca02)

lri $AR1,    #0x977e
lri $IX1,    #0xf824
lri $WR1,    #0x5c51
cw 0x15
call send_back  ; 51715 (0xca03)

lri $AR1,    #0x80e7
lri $IX1,    #0xf84e
lri $WR1,    #0x4d08
cw 0x15
call send_back  ; 51716 (0xca04)

lri $AR1,    #0xc391
lri $IX1,    #0x04cc
lri $WR1,    #0xa689
cw 0x15
call send_back  ; 51717 (0xca05)

lri $AR1,    #0x2c66
lri $IX1,    #0x231c
lri $WR1,    #0x718e
cw 0x15
call send_back  ; 51718 (0xca06)

lri $AR1,    #0xb5e2
lri $IX1,    #0xa7c0
lri $WR1,    #0x0f8b
cw 0x15
call send_back  ; 51719 (0xca07)

lri $AR1,    #0xd0f4
lri $IX1,    #0x2202
lri $WR1,    #0x3a8d
cw 0x15
call send_back  ; 51720 (0xca08)

lri $AR1,    #0x7359
lri $IX1,    #0x0a62
lri $WR1,    #0x58d6
cw 0x15
call send_back  ; 51721 (0xca09)

lri $AR1,    #0x19bf
lri $IX1,    #0x72a0
lri $WR1,    #0x81b3
cw 0x15
call send_back  ; 51722 (0xca0a)

lri $AR1,    #0x9f88
lri $IX1,    #0x275c
lri $WR1,    #0x22b0
cw 0x15
call send_back  ; 51723 (0xca0b)

lri $AR1,    #0xf588
lri $IX1,    #0xcf40
lri $WR1,    #0x89b2
cw 0x15
call send_back  ; 51724 (0xca0c)

lri $AR1,    #0xbc68
lri $IX1,    #0xbc8a
lri $WR1,    #0x9205
cw 0x15
call send_back  ; 51725 (0xca0d)

lri $AR1,    #0x7733
lri $IX1,    #0x7a12
lri $WR1,    #0xafed
cw 0x15
call send_back  ; 51726 (0xca0e)

lri $AR1,    #0x4da9
lri $IX1,    #0xbd7e
lri $WR1,    #0x77d5
cw 0x15
call send_back  ; 51727 (0xca0f)

lri $AR1,    #0x0dcd
lri $IX1,    #0x74e2
lri $WR1,    #0x6399
cw 0x15
call send_back  ; 51728 (0xca10)

lri $AR1,    #0x2773
lri $IX1,    #0x3e6e
lri $WR1,    #0xe215
cw 0x15
call send_back  ; 51729 (0xca11)

lri $AR1,    #0x9c10
lri $IX1,    #0xdd54
lri $WR1,    #0x8a69
cw 0x15
call send_back  ; 51730 (0xca12)

lri $AR1,    #0xb0b4
lri $IX1,    #0x4fb4
lri $WR1,    #0x7e21
cw 0x15
call send_back  ; 51731 (0xca13)

lri $AR1,    #0x776d
lri $IX1,    #0x2594
lri $WR1,    #0x7ab7
cw 0x15
call send_back  ; 51732 (0xca14)

lri $AR1,    #0x60e5
lri $IX1,    #0xc1c0
lri $WR1,    #0x3499
cw 0x15
call send_back  ; 51733 (0xca15)

lri $AR1,    #0x5696
lri $IX1,    #0x6194
lri $WR1,    #0xb329
cw 0x15
call send_back  ; 51734 (0xca16)

lri $AR1,    #0x4152
lri $IX1,    #0x4994
lri $WR1,    #0xe6d5
cw 0x15
call send_back  ; 51735 (0xca17)

lri $AR1,    #0xb784
lri $IX1,    #0x60c4
lri $WR1,    #0x77dc
cw 0x15
call send_back  ; 51736 (0xca18)

lri $AR1,    #0xb9e3
lri $IX1,    #0xfdb8
lri $WR1,    #0x35c1
cw 0x15
call send_back  ; 51737 (0xca19)

lri $AR1,    #0xc4ff
lri $IX1,    #0xcc46
lri $WR1,    #0x7d09
cw 0x15
call send_back  ; 51738 (0xca1a)

lri $AR1,    #0xf164
lri $IX1,    #0xa3ba
lri $WR1,    #0xba4c
cw 0x15
call send_back  ; 51739 (0xca1b)

lri $AR1,    #0x43a9
lri $IX1,    #0x01aa
lri $WR1,    #0xc72f
cw 0x15
call send_back  ; 51740 (0xca1c)

lri $AR1,    #0x894a
lri $IX1,    #0xc61c
lri $WR1,    #0x9750
cw 0x15
call send_back  ; 51741 (0xca1d)

lri $AR1,    #0x8e80
lri $IX1,    #0xe224
lri $WR1,    #0x68bc
cw 0x15
call send_back  ; 51742 (0xca1e)

lri $AR1,    #0xfd01
lri $IX1,    #0x0ace
lri $WR1,    #0x4cf6
cw 0x15
call send_back  ; 51743 (0xca1f)

lri $AR1,    #0x2aeb
lri $IX1,    #0x4e46
lri $WR1,    #0x4530
cw 0x15
call send_back  ; 51744 (0xca20)

lri $AR1,    #0x6cad
lri $IX1,    #0xc230
lri $WR1,    #0xb5a4
cw 0x15
call send_back  ; 51745 (0xca21)

lri $AR1,    #0x7c40
lri $IX1,    #0x8634
lri $WR1,    #0x81cc
cw 0x15
call send_back  ; 51746 (0xca22)

lri $AR1,    #0x9b79
lri $IX1,    #0x267e
lri $WR1,    #0x145e
cw 0x15
call send_back  ; 51747 (0xca23)

lri $AR1,    #0x9ece
lri $IX1,    #0x2660
lri $WR1,    #0x4bb5
cw 0x15
call send_back  ; 51748 (0xca24)

lri $AR1,    #0x6959
lri $IX1,    #0x43ca
lri $WR1,    #0x9cb2
cw 0x15
call send_back  ; 51749 (0xca25)

lri $AR1,    #0xf263
lri $IX1,    #0xf8c0
lri $WR1,    #0x9b9e
cw 0x15
call send_back  ; 51750 (0xca26)

lri $AR1,    #0x9056
lri $IX1,    #0x007e
lri $WR1,    #0xdc23
cw 0x15
call send_back  ; 51751 (0xca27)

lri $AR1,    #0xdc53
lri $IX1,    #0x5286
lri $WR1,    #0x9eee
cw 0x15
call send_back  ; 51752 (0xca28)

lri $AR1,    #0x6d52
lri $IX1,    #0x3e44
lri $WR1,    #0x6d08
cw 0x15
call send_back  ; 51753 (0xca29)

lri $AR1,    #0x4903
lri $IX1,    #0x365c
lri $WR1,    #0xee6c
cw 0x15
call send_back  ; 51754 (0xca2a)

lri $AR1,    #0x1c57
lri $IX1,    #0x8b8c
lri $WR1,    #0x5aff
cw 0x15
call send_back  ; 51755 (0xca2b)

lri $AR1,    #0x74ef
lri $IX1,    #0xf312
lri $WR1,    #0x3a63
cw 0x15
call send_back  ; 51756 (0xca2c)

lri $AR1,    #0xb055
lri $IX1,    #0x5d7c
lri $WR1,    #0xa0cb
cw 0x15
call send_back  ; 51757 (0xca2d)

lri $AR1,    #0x8532
lri $IX1,    #0x76e4
lri $WR1,    #0x144b
cw 0x15
call send_back  ; 51758 (0xca2e)

lri $AR1,    #0x4e74
lri $IX1,    #0x4a6e
lri $WR1,    #0x27c3
cw 0x15
call send_back  ; 51759 (0xca2f)

lri $AR1,    #0x7790
lri $IX1,    #0x0f24
lri $WR1,    #0x7df2
cw 0x15
call send_back  ; 51760 (0xca30)

lri $AR1,    #0x74d5
lri $IX1,    #0x3ce0
lri $WR1,    #0xb0b7
cw 0x15
call send_back  ; 51761 (0xca31)

lri $AR1,    #0xf1fb
lri $IX1,    #0xcc7c
lri $WR1,    #0x6624
cw 0x15
call send_back  ; 51762 (0xca32)

lri $AR1,    #0x34dd
lri $IX1,    #0x16f2
lri $WR1,    #0x8e5a
cw 0x15
call send_back  ; 51763 (0xca33)

lri $AR1,    #0x799c
lri $IX1,    #0x43a2
lri $WR1,    #0x3ad2
cw 0x15
call send_back  ; 51764 (0xca34)

lri $AR1,    #0xa8fe
lri $IX1,    #0xbe5e
lri $WR1,    #0x9923
cw 0x15
call send_back  ; 51765 (0xca35)

lri $AR1,    #0x995f
lri $IX1,    #0xe28e
lri $WR1,    #0xb8bc
cw 0x15
call send_back  ; 51766 (0xca36)

lri $AR1,    #0x6dfd
lri $IX1,    #0x08ee
lri $WR1,    #0xc4c2
cw 0x15
call send_back  ; 51767 (0xca37)

lri $AR1,    #0x7ff3
lri $IX1,    #0x923a
lri $WR1,    #0x2094
cw 0x15
call send_back  ; 51768 (0xca38)

lri $AR1,    #0x67b6
lri $IX1,    #0x8172
lri $WR1,    #0xbefc
cw 0x15
call send_back  ; 51769 (0xca39)

lri $AR1,    #0x9d59
lri $IX1,    #0xdcd0
lri $WR1,    #0x79ad
cw 0x15
call send_back  ; 51770 (0xca3a)

lri $AR1,    #0x1970
lri $IX1,    #0x7d3e
lri $WR1,    #0x8017
cw 0x15
call send_back  ; 51771 (0xca3b)

lri $AR1,    #0xc7e9
lri $IX1,    #0x5068
lri $WR1,    #0x8a1e
cw 0x15
call send_back  ; 51772 (0xca3c)

lri $AR1,    #0xd998
lri $IX1,    #0x7a1e
lri $WR1,    #0x34c6
cw 0x15
call send_back  ; 51773 (0xca3d)

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