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

lri $AR1,    #0x4fa7
lri $IX1,    #0xfc82
lri $WR1,    #0x30e6
cw 0xd
call send_back  ; 37903 (0x940f)

lri $AR1,    #0xd74d
lri $IX1,    #0xb62c
lri $WR1,    #0x5efb
cw 0xd
call send_back  ; 37904 (0x9410)

lri $AR1,    #0x536f
lri $IX1,    #0xb47c
lri $WR1,    #0x3f6b
cw 0xd
call send_back  ; 37905 (0x9411)

lri $AR1,    #0xac71
lri $IX1,    #0x32a8
lri $WR1,    #0xce03
cw 0xd
call send_back  ; 37906 (0x9412)

lri $AR1,    #0x48d6
lri $IX1,    #0x3f86
lri $WR1,    #0x6581
cw 0xd
call send_back  ; 37907 (0x9413)

lri $AR1,    #0x7297
lri $IX1,    #0xa27e
lri $WR1,    #0x9d11
cw 0xd
call send_back  ; 37908 (0x9414)

lri $AR1,    #0x64d4
lri $IX1,    #0x76b4
lri $WR1,    #0x8f4e
cw 0xd
call send_back  ; 37909 (0x9415)

lri $AR1,    #0x81f2
lri $IX1,    #0x9f3a
lri $WR1,    #0x424a
cw 0xd
call send_back  ; 37910 (0x9416)

lri $AR1,    #0x9637
lri $IX1,    #0xb682
lri $WR1,    #0x69a5
cw 0xd
call send_back  ; 37911 (0x9417)

lri $AR1,    #0x61f9
lri $IX1,    #0x2ef0
lri $WR1,    #0x814c
cw 0xd
call send_back  ; 37912 (0x9418)

lri $AR1,    #0xd265
lri $IX1,    #0xe1e6
lri $WR1,    #0xa8f4
cw 0xd
call send_back  ; 37913 (0x9419)

lri $AR1,    #0xaef7
lri $IX1,    #0x25fc
lri $WR1,    #0x95d1
cw 0xd
call send_back  ; 37914 (0x941a)

lri $AR1,    #0x75ab
lri $IX1,    #0x94d6
lri $WR1,    #0xc1ab
cw 0xd
call send_back  ; 37915 (0x941b)

lri $AR1,    #0x870a
lri $IX1,    #0xcc4e
lri $WR1,    #0x93d6
cw 0xd
call send_back  ; 37916 (0x941c)

lri $AR1,    #0x7efe
lri $IX1,    #0x8e4e
lri $WR1,    #0x7a23
cw 0xd
call send_back  ; 37917 (0x941d)

lri $AR1,    #0x86b3
lri $IX1,    #0x8e30
lri $WR1,    #0xa54a
cw 0xd
call send_back  ; 37918 (0x941e)

lri $AR1,    #0x6f4b
lri $IX1,    #0xd9dc
lri $WR1,    #0x3e05
cw 0xd
call send_back  ; 37919 (0x941f)

lri $AR1,    #0x5cd7
lri $IX1,    #0x0094
lri $WR1,    #0xcd2f
cw 0xd
call send_back  ; 37920 (0x9420)

lri $AR1,    #0x9435
lri $IX1,    #0xc0a4
lri $WR1,    #0x9b35
cw 0xd
call send_back  ; 37921 (0x9421)

lri $AR1,    #0x7e4d
lri $IX1,    #0x00d4
lri $WR1,    #0x5842
cw 0xd
call send_back  ; 37922 (0x9422)

lri $AR1,    #0x8667
lri $IX1,    #0x09e8
lri $WR1,    #0x503a
cw 0xd
call send_back  ; 37923 (0x9423)

lri $AR1,    #0x80e6
lri $IX1,    #0x37fe
lri $WR1,    #0x232b
cw 0xd
call send_back  ; 37924 (0x9424)

lri $AR1,    #0xa354
lri $IX1,    #0x9316
lri $WR1,    #0x5423
cw 0xd
call send_back  ; 37925 (0x9425)

lri $AR1,    #0xa5ec
lri $IX1,    #0xc99c
lri $WR1,    #0x5e1a
cw 0xd
call send_back  ; 37926 (0x9426)

lri $AR1,    #0x4a86
lri $IX1,    #0xc744
lri $WR1,    #0xbfee
cw 0xd
call send_back  ; 37927 (0x9427)

lri $AR1,    #0x9c36
lri $IX1,    #0x75fa
lri $WR1,    #0x75fb
cw 0xd
call send_back  ; 37928 (0x9428)

lri $AR1,    #0xa660
lri $IX1,    #0xfe48
lri $WR1,    #0x8177
cw 0xd
call send_back  ; 37929 (0x9429)

lri $AR1,    #0x81a7
lri $IX1,    #0xf7f2
lri $WR1,    #0xcb10
cw 0xd
call send_back  ; 37930 (0x942a)

lri $AR1,    #0xc86a
lri $IX1,    #0x4b30
lri $WR1,    #0xbfd9
cw 0xd
call send_back  ; 37931 (0x942b)

lri $AR1,    #0xac3c
lri $IX1,    #0xe632
lri $WR1,    #0x5d26
cw 0xd
call send_back  ; 37932 (0x942c)

lri $AR1,    #0xe116
lri $IX1,    #0xc25a
lri $WR1,    #0x5959
cw 0xd
call send_back  ; 37933 (0x942d)

lri $AR1,    #0x4291
lri $IX1,    #0xdffe
lri $WR1,    #0x1535
cw 0xd
call send_back  ; 37934 (0x942e)

lri $AR1,    #0xdb0a
lri $IX1,    #0xbeea
lri $WR1,    #0xe2cd
cw 0xd
call send_back  ; 37935 (0x942f)

lri $AR1,    #0xabe8
lri $IX1,    #0x4d84
lri $WR1,    #0xd48c
cw 0xd
call send_back  ; 37936 (0x9430)

lri $AR1,    #0xa1e8
lri $IX1,    #0x2fe2
lri $WR1,    #0x9085
cw 0xd
call send_back  ; 37937 (0x9431)

lri $AR1,    #0x5fb4
lri $IX1,    #0x7b9a
lri $WR1,    #0x7176
cw 0xd
call send_back  ; 37938 (0x9432)

lri $AR1,    #0x5c96
lri $IX1,    #0x74a0
lri $WR1,    #0x70b2
cw 0xd
call send_back  ; 37939 (0x9433)

lri $AR1,    #0x9ca0
lri $IX1,    #0x5b0a
lri $WR1,    #0x4964
cw 0xd
call send_back  ; 37940 (0x9434)

lri $AR1,    #0x6305
lri $IX1,    #0xd0ee
lri $WR1,    #0xdf50
cw 0xd
call send_back  ; 37941 (0x9435)

lri $AR1,    #0x8f13
lri $IX1,    #0xab5a
lri $WR1,    #0x9095
cw 0xd
call send_back  ; 37942 (0x9436)

lri $AR1,    #0xb778
lri $IX1,    #0x0080
lri $WR1,    #0x9b8a
cw 0xd
call send_back  ; 37943 (0x9437)

lri $AR1,    #0x6f41
lri $IX1,    #0xd912
lri $WR1,    #0x873d
cw 0xd
call send_back  ; 37944 (0x9438)

lri $AR1,    #0x4b4f
lri $IX1,    #0xf204
lri $WR1,    #0xe6a7
cw 0xd
call send_back  ; 37945 (0x9439)

lri $AR1,    #0x9ea8
lri $IX1,    #0x578a
lri $WR1,    #0xbc2d
cw 0xd
call send_back  ; 37946 (0x943a)

lri $AR1,    #0xd74f
lri $IX1,    #0x31aa
lri $WR1,    #0x946e
cw 0xd
call send_back  ; 37947 (0x943b)

lri $AR1,    #0x4d21
lri $IX1,    #0xbe28
lri $WR1,    #0x84fd
cw 0xd
call send_back  ; 37948 (0x943c)

lri $AR1,    #0x8f65
lri $IX1,    #0x0b24
lri $WR1,    #0x7510
cw 0xd
call send_back  ; 37949 (0x943d)

lri $AR1,    #0xad65
lri $IX1,    #0x7130
lri $WR1,    #0xd3b2
cw 0xd
call send_back  ; 37950 (0x943e)

lri $AR1,    #0x79f4
lri $IX1,    #0xeb38
lri $WR1,    #0x808f
cw 0xd
call send_back  ; 37951 (0x943f)

lri $AR1,    #0xc111
lri $IX1,    #0x1e0a
lri $WR1,    #0x91e5
cw 0xd
call send_back  ; 37952 (0x9440)

lri $AR1,    #0x3299
lri $IX1,    #0x08c2
lri $WR1,    #0xaba9
cw 0xd
call send_back  ; 37953 (0x9441)

lri $AR1,    #0xc434
lri $IX1,    #0xd306
lri $WR1,    #0xa96f
cw 0xd
call send_back  ; 37954 (0x9442)

lri $AR1,    #0xe076
lri $IX1,    #0xdd3e
lri $WR1,    #0xce38
cw 0xd
call send_back  ; 37955 (0x9443)

lri $AR1,    #0x4055
lri $IX1,    #0xfab0
lri $WR1,    #0x628d
cw 0xd
call send_back  ; 37956 (0x9444)

lri $AR1,    #0xa7f7
lri $IX1,    #0x74ce
lri $WR1,    #0x8325
cw 0xd
call send_back  ; 37957 (0x9445)

lri $AR1,    #0x4ef9
lri $IX1,    #0x0284
lri $WR1,    #0xbf88
cw 0xd
call send_back  ; 37958 (0x9446)

lri $AR1,    #0x601e
lri $IX1,    #0x1dc6
lri $WR1,    #0x69c8
cw 0xd
call send_back  ; 37959 (0x9447)

lri $AR1,    #0x13ac
lri $IX1,    #0xf54a
lri $WR1,    #0x7de2
cw 0xd
call send_back  ; 37960 (0x9448)

lri $AR1,    #0x5345
lri $IX1,    #0x7fae
lri $WR1,    #0x30d3
cw 0xd
call send_back  ; 37961 (0x9449)

lri $AR1,    #0x758c
lri $IX1,    #0xd0d2
lri $WR1,    #0xe4f7
cw 0xd
call send_back  ; 37962 (0x944a)

lri $AR1,    #0x536b
lri $IX1,    #0xa1d0
lri $WR1,    #0x52ba
cw 0xd
call send_back  ; 37963 (0x944b)

lri $AR1,    #0xa04b
lri $IX1,    #0xdf42
lri $WR1,    #0x8a2c
cw 0xd
call send_back  ; 37964 (0x944c)

lri $AR1,    #0xe9fd
lri $IX1,    #0xe93e
lri $WR1,    #0x6b98
cw 0xd
call send_back  ; 37965 (0x944d)

lri $AR1,    #0x54bf
lri $IX1,    #0xdbd6
lri $WR1,    #0x3291
cw 0xd
call send_back  ; 37966 (0x944e)

lri $AR1,    #0x6b18
lri $IX1,    #0x9658
lri $WR1,    #0x909d
cw 0xd
call send_back  ; 37967 (0x944f)

lri $AR1,    #0x90e2
lri $IX1,    #0x2b36
lri $WR1,    #0x7a0b
cw 0xd
call send_back  ; 37968 (0x9450)

lri $AR1,    #0x3456
lri $IX1,    #0xc9d8
lri $WR1,    #0x90f0
cw 0xd
call send_back  ; 37969 (0x9451)

lri $AR1,    #0x975f
lri $IX1,    #0xef2e
lri $WR1,    #0x67ff
cw 0xd
call send_back  ; 37970 (0x9452)

lri $AR1,    #0x5f13
lri $IX1,    #0x9952
lri $WR1,    #0x881d
cw 0xd
call send_back  ; 37971 (0x9453)

lri $AR1,    #0xde97
lri $IX1,    #0x3e00
lri $WR1,    #0x9975
cw 0xd
call send_back  ; 37972 (0x9454)

lri $AR1,    #0x2e3a
lri $IX1,    #0x3b46
lri $WR1,    #0xa9f3
cw 0xd
call send_back  ; 37973 (0x9455)

lri $AR1,    #0xef2c
lri $IX1,    #0x452a
lri $WR1,    #0x28c5
cw 0xd
call send_back  ; 37974 (0x9456)

lri $AR1,    #0x7f85
lri $IX1,    #0xd2a4
lri $WR1,    #0xaff8
cw 0xd
call send_back  ; 37975 (0x9457)

lri $AR1,    #0xba07
lri $IX1,    #0x9fb0
lri $WR1,    #0x7aba
cw 0xd
call send_back  ; 37976 (0x9458)

lri $AR1,    #0x884e
lri $IX1,    #0xe1d2
lri $WR1,    #0x504b
cw 0xd
call send_back  ; 37977 (0x9459)

lri $AR1,    #0x6de1
lri $IX1,    #0xa7dc
lri $WR1,    #0x193f
cw 0xd
call send_back  ; 37978 (0x945a)

lri $AR1,    #0x25cf
lri $IX1,    #0xed34
lri $WR1,    #0xa60b
cw 0xd
call send_back  ; 37979 (0x945b)

lri $AR1,    #0x5449
lri $IX1,    #0x0c8e
lri $WR1,    #0xc382
cw 0xd
call send_back  ; 37980 (0x945c)

lri $AR1,    #0x88ee
lri $IX1,    #0x5538
lri $WR1,    #0x7340
cw 0xd
call send_back  ; 37981 (0x945d)

lri $AR1,    #0x3e30
lri $IX1,    #0x7202
lri $WR1,    #0x5ba0
cw 0xd
call send_back  ; 37982 (0x945e)

lri $AR1,    #0x8588
lri $IX1,    #0xefda
lri $WR1,    #0xa444
cw 0xd
call send_back  ; 37983 (0x945f)

lri $AR1,    #0x87ec
lri $IX1,    #0x661a
lri $WR1,    #0x59ca
cw 0xd
call send_back  ; 37984 (0x9460)

lri $AR1,    #0x4d30
lri $IX1,    #0x69b0
lri $WR1,    #0x7cad
cw 0xd
call send_back  ; 37985 (0x9461)

lri $AR1,    #0x3cc3
lri $IX1,    #0x701c
lri $WR1,    #0x6cf2
cw 0xd
call send_back  ; 37986 (0x9462)

lri $AR1,    #0x5d80
lri $IX1,    #0xf66a
lri $WR1,    #0x55af
cw 0xd
call send_back  ; 37987 (0x9463)

lri $AR1,    #0x61f5
lri $IX1,    #0x840c
lri $WR1,    #0x70ed
cw 0xd
call send_back  ; 37988 (0x9464)

lri $AR1,    #0x69de
lri $IX1,    #0x58e6
lri $WR1,    #0x5609
cw 0xd
call send_back  ; 37989 (0x9465)

lri $AR1,    #0x713d
lri $IX1,    #0xa15e
lri $WR1,    #0x621a
cw 0xd
call send_back  ; 37990 (0x9466)

lri $AR1,    #0x88c1
lri $IX1,    #0xcaae
lri $WR1,    #0x8b6b
cw 0xd
call send_back  ; 37991 (0x9467)

lri $AR1,    #0x8ae2
lri $IX1,    #0xe554
lri $WR1,    #0x7696
cw 0xd
call send_back  ; 37992 (0x9468)

lri $AR1,    #0x6c7c
lri $IX1,    #0xcb02
lri $WR1,    #0x4d60
cw 0xd
call send_back  ; 37993 (0x9469)

lri $AR1,    #0x6737
lri $IX1,    #0xd8b4
lri $WR1,    #0x84d4
cw 0xd
call send_back  ; 37994 (0x946a)

lri $AR1,    #0xef89
lri $IX1,    #0x5d66
lri $WR1,    #0x51b2
cw 0xd
call send_back  ; 37995 (0x946b)

lri $AR1,    #0x8faa
lri $IX1,    #0x411c
lri $WR1,    #0x5fcf
cw 0xd
call send_back  ; 37996 (0x946c)

lri $AR1,    #0xbc49
lri $IX1,    #0xbfa2
lri $WR1,    #0x5a58
cw 0xd
call send_back  ; 37997 (0x946d)

lri $AR1,    #0x6746
lri $IX1,    #0x3dc2
lri $WR1,    #0xd0b0
cw 0xd
call send_back  ; 37998 (0x946e)

lri $AR1,    #0xd852
lri $IX1,    #0x1f4e
lri $WR1,    #0x64d6
cw 0xd
call send_back  ; 37999 (0x946f)

lri $AR1,    #0x8abc
lri $IX1,    #0xf7c4
lri $WR1,    #0xd5f6
cw 0xd
call send_back  ; 38000 (0x9470)

lri $AR1,    #0xdb37
lri $IX1,    #0x56dc
lri $WR1,    #0x432e
cw 0xd
call send_back  ; 38001 (0x9471)

lri $AR1,    #0x8ff1
lri $IX1,    #0xade6
lri $WR1,    #0x501c
cw 0xd
call send_back  ; 38002 (0x9472)

lri $AR1,    #0x98cc
lri $IX1,    #0x3a1a
lri $WR1,    #0x8640
cw 0xd
call send_back  ; 38003 (0x9473)

lri $AR1,    #0xacfe
lri $IX1,    #0x63e2
lri $WR1,    #0x43c3
cw 0xd
call send_back  ; 38004 (0x9474)

lri $AR1,    #0x86f2
lri $IX1,    #0x7a3e
lri $WR1,    #0x21b7
cw 0xd
call send_back  ; 38005 (0x9475)

lri $AR1,    #0x4ebc
lri $IX1,    #0xfd30
lri $WR1,    #0x595a
cw 0xd
call send_back  ; 38006 (0x9476)

lri $AR1,    #0xa6de
lri $IX1,    #0xa970
lri $WR1,    #0x3171
cw 0xd
call send_back  ; 38007 (0x9477)

lri $AR1,    #0xa6cd
lri $IX1,    #0x0b48
lri $WR1,    #0x4245
cw 0xd
call send_back  ; 38008 (0x9478)

lri $AR1,    #0x39e0
lri $IX1,    #0x65ce
lri $WR1,    #0xc861
cw 0xd
call send_back  ; 38009 (0x9479)

lri $AR1,    #0xb921
lri $IX1,    #0x1770
lri $WR1,    #0x2b86
cw 0xd
call send_back  ; 38010 (0x947a)

lri $AR1,    #0x09aa
lri $IX1,    #0x33f6
lri $WR1,    #0x3101
cw 0xd
call send_back  ; 38011 (0x947b)

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