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

lri $AR1,    #0x619a
lri $IX1,    #0xcba8
lri $WR1,    #0x31bc
cw 0x5
call send_back  ; 897 (0x0381)

lri $AR1,    #0x471c
lri $IX1,    #0x130c
lri $WR1,    #0x6270
cw 0x5
call send_back  ; 898 (0x0382)

lri $AR1,    #0x5486
lri $IX1,    #0x6fdc
lri $WR1,    #0x11e4
cw 0x5
call send_back  ; 899 (0x0383)

lri $AR1,    #0x7510
lri $IX1,    #0x7fa6
lri $WR1,    #0x13f8
cw 0x5
call send_back  ; 900 (0x0384)

lri $AR1,    #0xc9a0
lri $IX1,    #0x2430
lri $WR1,    #0xa7cc
cw 0x5
call send_back  ; 901 (0x0385)

lri $AR1,    #0xd17c
lri $IX1,    #0x6bb6
lri $WR1,    #0x388e
cw 0x5
call send_back  ; 902 (0x0386)

lri $AR1,    #0xdb54
lri $IX1,    #0xc378
lri $WR1,    #0x5496
cw 0x5
call send_back  ; 903 (0x0387)

lri $AR1,    #0x13f4
lri $IX1,    #0x0f88
lri $WR1,    #0x3a22
cw 0x5
call send_back  ; 904 (0x0388)

lri $AR1,    #0x833c
lri $IX1,    #0x6a94
lri $WR1,    #0x9474
cw 0x5
call send_back  ; 905 (0x0389)

lri $AR1,    #0x7f82
lri $IX1,    #0xeb30
lri $WR1,    #0x6cf4
cw 0x5
call send_back  ; 906 (0x038a)

lri $AR1,    #0x3720
lri $IX1,    #0x909a
lri $WR1,    #0xe912
cw 0x5
call send_back  ; 907 (0x038b)

lri $AR1,    #0x8a58
lri $IX1,    #0x9a62
lri $WR1,    #0x330a
cw 0x5
call send_back  ; 908 (0x038c)

lri $AR1,    #0xa19c
lri $IX1,    #0x73a8
lri $WR1,    #0xce22
cw 0x5
call send_back  ; 909 (0x038d)

lri $AR1,    #0x4f3c
lri $IX1,    #0x9334
lri $WR1,    #0x86d8
cw 0x5
call send_back  ; 910 (0x038e)

lri $AR1,    #0xad22
lri $IX1,    #0xf708
lri $WR1,    #0x21ee
cw 0x5
call send_back  ; 911 (0x038f)

lri $AR1,    #0x4ad4
lri $IX1,    #0x0946
lri $WR1,    #0x00e2
cw 0x5
call send_back  ; 912 (0x0390)

lri $AR1,    #0x660e
lri $IX1,    #0x23de
lri $WR1,    #0x2e5c
cw 0x5
call send_back  ; 913 (0x0391)

lri $AR1,    #0x9f7e
lri $IX1,    #0x0520
lri $WR1,    #0xe882
cw 0x5
call send_back  ; 914 (0x0392)

lri $AR1,    #0xc368
lri $IX1,    #0xddf6
lri $WR1,    #0x5d6e
cw 0x5
call send_back  ; 915 (0x0393)

lri $AR1,    #0x7ef6
lri $IX1,    #0x9264
lri $WR1,    #0x6874
cw 0x5
call send_back  ; 916 (0x0394)

lri $AR1,    #0xcc18
lri $IX1,    #0x2b06
lri $WR1,    #0x3e8e
cw 0x5
call send_back  ; 917 (0x0395)

lri $AR1,    #0x8960
lri $IX1,    #0x558e
lri $WR1,    #0xb47a
cw 0x5
call send_back  ; 918 (0x0396)

lri $AR1,    #0x7132
lri $IX1,    #0xc2fc
lri $WR1,    #0x78a2
cw 0x5
call send_back  ; 919 (0x0397)

lri $AR1,    #0x0dfc
lri $IX1,    #0x84ea
lri $WR1,    #0xed98
cw 0x5
call send_back  ; 920 (0x0398)

lri $AR1,    #0x740e
lri $IX1,    #0xa488
lri $WR1,    #0x376a
cw 0x5
call send_back  ; 921 (0x0399)

lri $AR1,    #0x4230
lri $IX1,    #0xc674
lri $WR1,    #0xff48
cw 0x5
call send_back  ; 922 (0x039a)

lri $AR1,    #0x69ce
lri $IX1,    #0x399a
lri $WR1,    #0x30f4
cw 0x5
call send_back  ; 923 (0x039b)

lri $AR1,    #0xd806
lri $IX1,    #0x7756
lri $WR1,    #0xa830
cw 0x5
call send_back  ; 924 (0x039c)

lri $AR1,    #0x0428
lri $IX1,    #0x5412
lri $WR1,    #0x2aba
cw 0x5
call send_back  ; 925 (0x039d)

lri $AR1,    #0xfdee
lri $IX1,    #0xffb2
lri $WR1,    #0x85a6
cw 0x5
call send_back  ; 926 (0x039e)

lri $AR1,    #0xd9e8
lri $IX1,    #0x1326
lri $WR1,    #0x8c42
cw 0x5
call send_back  ; 927 (0x039f)

lri $AR1,    #0xddd0
lri $IX1,    #0xb054
lri $WR1,    #0x699e
cw 0x5
call send_back  ; 928 (0x03a0)

lri $AR1,    #0x9820
lri $IX1,    #0xb6de
lri $WR1,    #0xafbc
cw 0x5
call send_back  ; 929 (0x03a1)

lri $AR1,    #0x4a42
lri $IX1,    #0xde30
lri $WR1,    #0x9f3e
cw 0x5
call send_back  ; 930 (0x03a2)

lri $AR1,    #0x6f6c
lri $IX1,    #0xa742
lri $WR1,    #0xdf7e
cw 0x5
call send_back  ; 931 (0x03a3)

lri $AR1,    #0x8cec
lri $IX1,    #0x2210
lri $WR1,    #0x2abe
cw 0x5
call send_back  ; 932 (0x03a4)

lri $AR1,    #0x5746
lri $IX1,    #0xa15c
lri $WR1,    #0xe9f6
cw 0x5
call send_back  ; 933 (0x03a5)

lri $AR1,    #0x59f4
lri $IX1,    #0x7176
lri $WR1,    #0xa5da
cw 0x5
call send_back  ; 934 (0x03a6)

lri $AR1,    #0x03d2
lri $IX1,    #0x34dc
lri $WR1,    #0x8bbe
cw 0x5
call send_back  ; 935 (0x03a7)

lri $AR1,    #0xe878
lri $IX1,    #0xd010
lri $WR1,    #0x3a5c
cw 0x5
call send_back  ; 936 (0x03a8)

lri $AR1,    #0xc916
lri $IX1,    #0xa174
lri $WR1,    #0x4294
cw 0x5
call send_back  ; 937 (0x03a9)

lri $AR1,    #0x38e6
lri $IX1,    #0x3fc0
lri $WR1,    #0x8922
cw 0x5
call send_back  ; 938 (0x03aa)

lri $AR1,    #0xc102
lri $IX1,    #0xd3a6
lri $WR1,    #0x09d6
cw 0x5
call send_back  ; 939 (0x03ab)

lri $AR1,    #0xc654
lri $IX1,    #0xf78e
lri $WR1,    #0x242a
cw 0x5
call send_back  ; 940 (0x03ac)

lri $AR1,    #0x0054
lri $IX1,    #0xdd3a
lri $WR1,    #0xac3a
cw 0x5
call send_back  ; 941 (0x03ad)

lri $AR1,    #0x6088
lri $IX1,    #0x6898
lri $WR1,    #0xc6d8
cw 0x5
call send_back  ; 942 (0x03ae)

lri $AR1,    #0x18a4
lri $IX1,    #0xee04
lri $WR1,    #0x5c72
cw 0x5
call send_back  ; 943 (0x03af)

lri $AR1,    #0xd8e0
lri $IX1,    #0xd24e
lri $WR1,    #0xc83e
cw 0x5
call send_back  ; 944 (0x03b0)

lri $AR1,    #0x34a4
lri $IX1,    #0xa626
lri $WR1,    #0xc960
cw 0x5
call send_back  ; 945 (0x03b1)

lri $AR1,    #0xa4d4
lri $IX1,    #0xbdf4
lri $WR1,    #0x7f80
cw 0x5
call send_back  ; 946 (0x03b2)

lri $AR1,    #0x65fa
lri $IX1,    #0xbb8e
lri $WR1,    #0x80aa
cw 0x5
call send_back  ; 947 (0x03b3)

lri $AR1,    #0xbd30
lri $IX1,    #0x4bf4
lri $WR1,    #0x9b04
cw 0x5
call send_back  ; 948 (0x03b4)

lri $AR1,    #0xe29e
lri $IX1,    #0x78ce
lri $WR1,    #0xcd28
cw 0x5
call send_back  ; 949 (0x03b5)

lri $AR1,    #0xf1c6
lri $IX1,    #0x6bc2
lri $WR1,    #0xdfac
cw 0x5
call send_back  ; 950 (0x03b6)

lri $AR1,    #0x923a
lri $IX1,    #0xb406
lri $WR1,    #0xf520
cw 0x5
call send_back  ; 951 (0x03b7)

lri $AR1,    #0xc5c4
lri $IX1,    #0x81e4
lri $WR1,    #0x85ba
cw 0x5
call send_back  ; 952 (0x03b8)

lri $AR1,    #0x0a6c
lri $IX1,    #0xa118
lri $WR1,    #0x6eb6
cw 0x5
call send_back  ; 953 (0x03b9)

lri $AR1,    #0xd150
lri $IX1,    #0x4608
lri $WR1,    #0x95a4
cw 0x5
call send_back  ; 954 (0x03ba)

lri $AR1,    #0x9364
lri $IX1,    #0x72ca
lri $WR1,    #0xef90
cw 0x5
call send_back  ; 955 (0x03bb)

lri $AR1,    #0xb9be
lri $IX1,    #0x6590
lri $WR1,    #0x5f68
cw 0x5
call send_back  ; 956 (0x03bc)

lri $AR1,    #0xa4d8
lri $IX1,    #0x3afe
lri $WR1,    #0xc708
cw 0x5
call send_back  ; 957 (0x03bd)

lri $AR1,    #0x31d6
lri $IX1,    #0x557e
lri $WR1,    #0x8baa
cw 0x5
call send_back  ; 958 (0x03be)

lri $AR1,    #0x1d9a
lri $IX1,    #0x02d2
lri $WR1,    #0x58f2
cw 0x5
call send_back  ; 959 (0x03bf)

lri $AR1,    #0x40a0
lri $IX1,    #0x5954
lri $WR1,    #0x7650
cw 0x5
call send_back  ; 960 (0x03c0)

lri $AR1,    #0xe6f2
lri $IX1,    #0xc7b6
lri $WR1,    #0x7150
cw 0x5
call send_back  ; 961 (0x03c1)

lri $AR1,    #0x6524
lri $IX1,    #0xbaa0
lri $WR1,    #0x9ea8
cw 0x5
call send_back  ; 962 (0x03c2)

lri $AR1,    #0x5efa
lri $IX1,    #0x0b2c
lri $WR1,    #0x2806
cw 0x5
call send_back  ; 963 (0x03c3)

lri $AR1,    #0x3280
lri $IX1,    #0x1fd4
lri $WR1,    #0x21f4
cw 0x5
call send_back  ; 964 (0x03c4)

lri $AR1,    #0x6c1a
lri $IX1,    #0x0f7a
lri $WR1,    #0xc5cc
cw 0x5
call send_back  ; 965 (0x03c5)

lri $AR1,    #0xcfe6
lri $IX1,    #0x7f48
lri $WR1,    #0x896e
cw 0x5
call send_back  ; 966 (0x03c6)

lri $AR1,    #0x1df0
lri $IX1,    #0xd3e6
lri $WR1,    #0x327a
cw 0x5
call send_back  ; 967 (0x03c7)

lri $AR1,    #0x84be
lri $IX1,    #0xf5ca
lri $WR1,    #0xd584
cw 0x5
call send_back  ; 968 (0x03c8)

lri $AR1,    #0xdea4
lri $IX1,    #0x87b2
lri $WR1,    #0x8716
cw 0x5
call send_back  ; 969 (0x03c9)

lri $AR1,    #0x41a0
lri $IX1,    #0x6ec6
lri $WR1,    #0xbc6a
cw 0x5
call send_back  ; 970 (0x03ca)

lri $AR1,    #0x121a
lri $IX1,    #0x9b94
lri $WR1,    #0x0c76
cw 0x5
call send_back  ; 971 (0x03cb)

lri $AR1,    #0x0b42
lri $IX1,    #0x2e60
lri $WR1,    #0xaad6
cw 0x5
call send_back  ; 972 (0x03cc)

lri $AR1,    #0x36e8
lri $IX1,    #0xf5ba
lri $WR1,    #0xda0a
cw 0x5
call send_back  ; 973 (0x03cd)

lri $AR1,    #0x6d2a
lri $IX1,    #0x8c7a
lri $WR1,    #0x59de
cw 0x5
call send_back  ; 974 (0x03ce)

lri $AR1,    #0xcf92
lri $IX1,    #0x3540
lri $WR1,    #0x0eb6
cw 0x5
call send_back  ; 975 (0x03cf)

lri $AR1,    #0xc62e
lri $IX1,    #0x2a12
lri $WR1,    #0xdde4
cw 0x5
call send_back  ; 976 (0x03d0)

lri $AR1,    #0x28dc
lri $IX1,    #0x860a
lri $WR1,    #0xe012
cw 0x5
call send_back  ; 977 (0x03d1)

lri $AR1,    #0x799e
lri $IX1,    #0x40ec
lri $WR1,    #0x0e94
cw 0x5
call send_back  ; 978 (0x03d2)

lri $AR1,    #0x1cce
lri $IX1,    #0x66e6
lri $WR1,    #0x1b2a
cw 0x5
call send_back  ; 979 (0x03d3)

lri $AR1,    #0xf41a
lri $IX1,    #0xfff8
lri $WR1,    #0x30bc
cw 0x5
call send_back  ; 980 (0x03d4)

lri $AR1,    #0xd82e
lri $IX1,    #0x0ffe
lri $WR1,    #0xcc06
cw 0x5
call send_back  ; 981 (0x03d5)

lri $AR1,    #0x23e0
lri $IX1,    #0xd55e
lri $WR1,    #0xff22
cw 0x5
call send_back  ; 982 (0x03d6)

lri $AR1,    #0x0afa
lri $IX1,    #0x006a
lri $WR1,    #0x3806
cw 0x5
call send_back  ; 983 (0x03d7)

lri $AR1,    #0xa0c8
lri $IX1,    #0xb1a8
lri $WR1,    #0xb004
cw 0x5
call send_back  ; 984 (0x03d8)

lri $AR1,    #0x6ad6
lri $IX1,    #0xbe00
lri $WR1,    #0xc97c
cw 0x5
call send_back  ; 985 (0x03d9)

lri $AR1,    #0x6882
lri $IX1,    #0x55ec
lri $WR1,    #0x8194
cw 0x5
call send_back  ; 986 (0x03da)

lri $AR1,    #0xa8c8
lri $IX1,    #0x2312
lri $WR1,    #0x995e
cw 0x5
call send_back  ; 987 (0x03db)

lri $AR1,    #0xe860
lri $IX1,    #0x4188
lri $WR1,    #0xcfe4
cw 0x5
call send_back  ; 988 (0x03dc)

lri $AR1,    #0x923c
lri $IX1,    #0xd24e
lri $WR1,    #0x8ea6
cw 0x5
call send_back  ; 989 (0x03dd)

lri $AR1,    #0x2e4e
lri $IX1,    #0x7222
lri $WR1,    #0xdbae
cw 0x5
call send_back  ; 990 (0x03de)

lri $AR1,    #0xa7ce
lri $IX1,    #0xb178
lri $WR1,    #0x3138
cw 0x5
call send_back  ; 991 (0x03df)

lri $AR1,    #0xa728
lri $IX1,    #0x83aa
lri $WR1,    #0x5984
cw 0x5
call send_back  ; 992 (0x03e0)

lri $AR1,    #0xa2bc
lri $IX1,    #0xc022
lri $WR1,    #0xf0ac
cw 0x5
call send_back  ; 993 (0x03e1)

lri $AR1,    #0xe932
lri $IX1,    #0x740c
lri $WR1,    #0xbda0
cw 0x5
call send_back  ; 994 (0x03e2)

lri $AR1,    #0xcc60
lri $IX1,    #0x600c
lri $WR1,    #0x5e2c
cw 0x5
call send_back  ; 995 (0x03e3)

lri $AR1,    #0xcdba
lri $IX1,    #0x0124
lri $WR1,    #0x210a
cw 0x5
call send_back  ; 996 (0x03e4)

lri $AR1,    #0x51ce
lri $IX1,    #0x5178
lri $WR1,    #0x527e
cw 0x5
call send_back  ; 997 (0x03e5)

lri $AR1,    #0xadc2
lri $IX1,    #0xe5da
lri $WR1,    #0xb140
cw 0x5
call send_back  ; 998 (0x03e6)

lri $AR1,    #0x7fdc
lri $IX1,    #0x5e02
lri $WR1,    #0xd07a
cw 0x5
call send_back  ; 999 (0x03e7)

lri $AR1,    #0x11bc
lri $IX1,    #0xc5e2
lri $WR1,    #0xfc0a
cw 0x5
call send_back  ; 1000 (0x03e8)

lri $AR1,    #0xb298
lri $IX1,    #0x1140
lri $WR1,    #0x462c
cw 0x5
call send_back  ; 1001 (0x03e9)

lri $AR1,    #0xad24
lri $IX1,    #0xfdf4
lri $WR1,    #0x35bc
cw 0x5
call send_back  ; 1002 (0x03ea)

lri $AR1,    #0x5d96
lri $IX1,    #0x0ed2
lri $WR1,    #0x3d9e
cw 0x5
call send_back  ; 1003 (0x03eb)

lri $AR1,    #0x3314
lri $IX1,    #0x710a
lri $WR1,    #0xf07e
cw 0x5
call send_back  ; 1004 (0x03ec)

lri $AR1,    #0x8908
lri $IX1,    #0xb216
lri $WR1,    #0x38c4
cw 0x5
call send_back  ; 1005 (0x03ed)

lri $AR1,    #0x9192
lri $IX1,    #0x698a
lri $WR1,    #0xbfda
cw 0x5
call send_back  ; 1006 (0x03ee)

lri $AR1,    #0x121a
lri $IX1,    #0xcc2c
lri $WR1,    #0xfa6a
cw 0x5
call send_back  ; 1007 (0x03ef)

lri $AR1,    #0x8dae
lri $IX1,    #0x5fc4
lri $WR1,    #0x1442
cw 0x5
call send_back  ; 1008 (0x03f0)

lri $AR1,    #0x8b66
lri $IX1,    #0xa97a
lri $WR1,    #0x80a4
cw 0x5
call send_back  ; 1009 (0x03f1)

lri $AR1,    #0xb34e
lri $IX1,    #0x8db8
lri $WR1,    #0x56ac
cw 0x5
call send_back  ; 1010 (0x03f2)

lri $AR1,    #0x6512
lri $IX1,    #0x286c
lri $WR1,    #0x13a0
cw 0x5
call send_back  ; 1011 (0x03f3)

lri $AR1,    #0x2fa2
lri $IX1,    #0x4a9e
lri $WR1,    #0x150e
cw 0x5
call send_back  ; 1012 (0x03f4)

lri $AR1,    #0xaa72
lri $IX1,    #0xb788
lri $WR1,    #0xa658
cw 0x5
call send_back  ; 1013 (0x03f5)

lri $AR1,    #0x9e1a
lri $IX1,    #0xd714
lri $WR1,    #0x04ca
cw 0x5
call send_back  ; 1014 (0x03f6)

lri $AR1,    #0xc5a0
lri $IX1,    #0xa99c
lri $WR1,    #0xfd0a
cw 0x5
call send_back  ; 1015 (0x03f7)

lri $AR1,    #0x2bf8
lri $IX1,    #0x2d62
lri $WR1,    #0xe0e4
cw 0x5
call send_back  ; 1016 (0x03f8)

lri $AR1,    #0xf800
lri $IX1,    #0x9330
lri $WR1,    #0x3fec
cw 0x5
call send_back  ; 1017 (0x03f9)

lri $AR1,    #0xdf32
lri $IX1,    #0x2fd0
lri $WR1,    #0xd602
cw 0x5
call send_back  ; 1018 (0x03fa)

lri $AR1,    #0x3128
lri $IX1,    #0x74e4
lri $WR1,    #0x6f0c
cw 0x5
call send_back  ; 1019 (0x03fb)

lri $AR1,    #0x61de
lri $IX1,    #0xd16e
lri $WR1,    #0x6714
cw 0x5
call send_back  ; 1020 (0x03fc)

lri $AR1,    #0x4402
lri $IX1,    #0x72f2
lri $WR1,    #0x36c6
cw 0x5
call send_back  ; 1021 (0x03fd)

lri $AR1,    #0x93c2
lri $IX1,    #0x344a
lri $WR1,    #0x99a0
cw 0x5
call send_back  ; 1022 (0x03fe)

lri $AR1,    #0xccb6
lri $IX1,    #0xe286
lri $WR1,    #0x8ac4
cw 0x5
call send_back  ; 1023 (0x03ff)

lri $AR1,    #0x705a
lri $IX1,    #0xd284
lri $WR1,    #0xe9aa
cw 0x5
call send_back  ; 1024 (0x0400)

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

