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

lri $AR1,    #0x4000
lri $IX1,    #0x0380
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 897 (0x0381)

lri $AR1,    #0x4000
lri $IX1,    #0x0381
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 898 (0x0382)

lri $AR1,    #0x4000
lri $IX1,    #0x0382
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 899 (0x0383)

lri $AR1,    #0x4000
lri $IX1,    #0x0383
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 900 (0x0384)

lri $AR1,    #0x4000
lri $IX1,    #0x0384
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 901 (0x0385)

lri $AR1,    #0x4000
lri $IX1,    #0x0385
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 902 (0x0386)

lri $AR1,    #0x4000
lri $IX1,    #0x0386
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 903 (0x0387)

lri $AR1,    #0x4000
lri $IX1,    #0x0387
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 904 (0x0388)

lri $AR1,    #0x4000
lri $IX1,    #0x0388
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 905 (0x0389)

lri $AR1,    #0x4000
lri $IX1,    #0x0389
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 906 (0x038a)

lri $AR1,    #0x4000
lri $IX1,    #0x038a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 907 (0x038b)

lri $AR1,    #0x4000
lri $IX1,    #0x038b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 908 (0x038c)

lri $AR1,    #0x4000
lri $IX1,    #0x038c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 909 (0x038d)

lri $AR1,    #0x4000
lri $IX1,    #0x038d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 910 (0x038e)

lri $AR1,    #0x4000
lri $IX1,    #0x038e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 911 (0x038f)

lri $AR1,    #0x4000
lri $IX1,    #0x038f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 912 (0x0390)

lri $AR1,    #0x4000
lri $IX1,    #0x0390
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 913 (0x0391)

lri $AR1,    #0x4000
lri $IX1,    #0x0391
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 914 (0x0392)

lri $AR1,    #0x4000
lri $IX1,    #0x0392
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 915 (0x0393)

lri $AR1,    #0x4000
lri $IX1,    #0x0393
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 916 (0x0394)

lri $AR1,    #0x4000
lri $IX1,    #0x0394
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 917 (0x0395)

lri $AR1,    #0x4000
lri $IX1,    #0x0395
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 918 (0x0396)

lri $AR1,    #0x4000
lri $IX1,    #0x0396
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 919 (0x0397)

lri $AR1,    #0x4000
lri $IX1,    #0x0397
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 920 (0x0398)

lri $AR1,    #0x4000
lri $IX1,    #0x0398
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 921 (0x0399)

lri $AR1,    #0x4000
lri $IX1,    #0x0399
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 922 (0x039a)

lri $AR1,    #0x4000
lri $IX1,    #0x039a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 923 (0x039b)

lri $AR1,    #0x4000
lri $IX1,    #0x039b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 924 (0x039c)

lri $AR1,    #0x4000
lri $IX1,    #0x039c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 925 (0x039d)

lri $AR1,    #0x4000
lri $IX1,    #0x039d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 926 (0x039e)

lri $AR1,    #0x4000
lri $IX1,    #0x039e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 927 (0x039f)

lri $AR1,    #0x4000
lri $IX1,    #0x039f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 928 (0x03a0)

lri $AR1,    #0x4000
lri $IX1,    #0x03a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 929 (0x03a1)

lri $AR1,    #0x4000
lri $IX1,    #0x03a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 930 (0x03a2)

lri $AR1,    #0x4000
lri $IX1,    #0x03a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 931 (0x03a3)

lri $AR1,    #0x4000
lri $IX1,    #0x03a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 932 (0x03a4)

lri $AR1,    #0x4000
lri $IX1,    #0x03a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 933 (0x03a5)

lri $AR1,    #0x4000
lri $IX1,    #0x03a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 934 (0x03a6)

lri $AR1,    #0x4000
lri $IX1,    #0x03a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 935 (0x03a7)

lri $AR1,    #0x4000
lri $IX1,    #0x03a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 936 (0x03a8)

lri $AR1,    #0x4000
lri $IX1,    #0x03a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 937 (0x03a9)

lri $AR1,    #0x4000
lri $IX1,    #0x03a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 938 (0x03aa)

lri $AR1,    #0x4000
lri $IX1,    #0x03aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 939 (0x03ab)

lri $AR1,    #0x4000
lri $IX1,    #0x03ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 940 (0x03ac)

lri $AR1,    #0x4000
lri $IX1,    #0x03ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 941 (0x03ad)

lri $AR1,    #0x4000
lri $IX1,    #0x03ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 942 (0x03ae)

lri $AR1,    #0x4000
lri $IX1,    #0x03ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 943 (0x03af)

lri $AR1,    #0x4000
lri $IX1,    #0x03af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 944 (0x03b0)

lri $AR1,    #0x4000
lri $IX1,    #0x03b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 945 (0x03b1)

lri $AR1,    #0x4000
lri $IX1,    #0x03b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 946 (0x03b2)

lri $AR1,    #0x4000
lri $IX1,    #0x03b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 947 (0x03b3)

lri $AR1,    #0x4000
lri $IX1,    #0x03b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 948 (0x03b4)

lri $AR1,    #0x4000
lri $IX1,    #0x03b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 949 (0x03b5)

lri $AR1,    #0x4000
lri $IX1,    #0x03b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 950 (0x03b6)

lri $AR1,    #0x4000
lri $IX1,    #0x03b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 951 (0x03b7)

lri $AR1,    #0x4000
lri $IX1,    #0x03b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 952 (0x03b8)

lri $AR1,    #0x4000
lri $IX1,    #0x03b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 953 (0x03b9)

lri $AR1,    #0x4000
lri $IX1,    #0x03b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 954 (0x03ba)

lri $AR1,    #0x4000
lri $IX1,    #0x03ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 955 (0x03bb)

lri $AR1,    #0x4000
lri $IX1,    #0x03bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 956 (0x03bc)

lri $AR1,    #0x4000
lri $IX1,    #0x03bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 957 (0x03bd)

lri $AR1,    #0x4000
lri $IX1,    #0x03bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 958 (0x03be)

lri $AR1,    #0x4000
lri $IX1,    #0x03be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 959 (0x03bf)

lri $AR1,    #0x4000
lri $IX1,    #0x03bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 960 (0x03c0)

lri $AR1,    #0x4000
lri $IX1,    #0x03c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 961 (0x03c1)

lri $AR1,    #0x4000
lri $IX1,    #0x03c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 962 (0x03c2)

lri $AR1,    #0x4000
lri $IX1,    #0x03c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 963 (0x03c3)

lri $AR1,    #0x4000
lri $IX1,    #0x03c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 964 (0x03c4)

lri $AR1,    #0x4000
lri $IX1,    #0x03c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 965 (0x03c5)

lri $AR1,    #0x4000
lri $IX1,    #0x03c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 966 (0x03c6)

lri $AR1,    #0x4000
lri $IX1,    #0x03c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 967 (0x03c7)

lri $AR1,    #0x4000
lri $IX1,    #0x03c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 968 (0x03c8)

lri $AR1,    #0x4000
lri $IX1,    #0x03c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 969 (0x03c9)

lri $AR1,    #0x4000
lri $IX1,    #0x03c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 970 (0x03ca)

lri $AR1,    #0x4000
lri $IX1,    #0x03ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 971 (0x03cb)

lri $AR1,    #0x4000
lri $IX1,    #0x03cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 972 (0x03cc)

lri $AR1,    #0x4000
lri $IX1,    #0x03cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 973 (0x03cd)

lri $AR1,    #0x4000
lri $IX1,    #0x03cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 974 (0x03ce)

lri $AR1,    #0x4000
lri $IX1,    #0x03ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 975 (0x03cf)

lri $AR1,    #0x4000
lri $IX1,    #0x03cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 976 (0x03d0)

lri $AR1,    #0x4000
lri $IX1,    #0x03d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 977 (0x03d1)

lri $AR1,    #0x4000
lri $IX1,    #0x03d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 978 (0x03d2)

lri $AR1,    #0x4000
lri $IX1,    #0x03d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 979 (0x03d3)

lri $AR1,    #0x4000
lri $IX1,    #0x03d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 980 (0x03d4)

lri $AR1,    #0x4000
lri $IX1,    #0x03d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 981 (0x03d5)

lri $AR1,    #0x4000
lri $IX1,    #0x03d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 982 (0x03d6)

lri $AR1,    #0x4000
lri $IX1,    #0x03d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 983 (0x03d7)

lri $AR1,    #0x4000
lri $IX1,    #0x03d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 984 (0x03d8)

lri $AR1,    #0x4000
lri $IX1,    #0x03d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 985 (0x03d9)

lri $AR1,    #0x4000
lri $IX1,    #0x03d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 986 (0x03da)

lri $AR1,    #0x4000
lri $IX1,    #0x03da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 987 (0x03db)

lri $AR1,    #0x4000
lri $IX1,    #0x03db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 988 (0x03dc)

lri $AR1,    #0x4000
lri $IX1,    #0x03dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 989 (0x03dd)

lri $AR1,    #0x4000
lri $IX1,    #0x03dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 990 (0x03de)

lri $AR1,    #0x4000
lri $IX1,    #0x03de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 991 (0x03df)

lri $AR1,    #0x4000
lri $IX1,    #0x03df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 992 (0x03e0)

lri $AR1,    #0x4000
lri $IX1,    #0x03e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 993 (0x03e1)

lri $AR1,    #0x4000
lri $IX1,    #0x03e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 994 (0x03e2)

lri $AR1,    #0x4000
lri $IX1,    #0x03e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 995 (0x03e3)

lri $AR1,    #0x4000
lri $IX1,    #0x03e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 996 (0x03e4)

lri $AR1,    #0x4000
lri $IX1,    #0x03e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 997 (0x03e5)

lri $AR1,    #0x4000
lri $IX1,    #0x03e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 998 (0x03e6)

lri $AR1,    #0x4000
lri $IX1,    #0x03e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 999 (0x03e7)

lri $AR1,    #0x4000
lri $IX1,    #0x03e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1000 (0x03e8)

lri $AR1,    #0x4000
lri $IX1,    #0x03e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1001 (0x03e9)

lri $AR1,    #0x4000
lri $IX1,    #0x03e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1002 (0x03ea)

lri $AR1,    #0x4000
lri $IX1,    #0x03ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1003 (0x03eb)

lri $AR1,    #0x4000
lri $IX1,    #0x03eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1004 (0x03ec)

lri $AR1,    #0x4000
lri $IX1,    #0x03ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1005 (0x03ed)

lri $AR1,    #0x4000
lri $IX1,    #0x03ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1006 (0x03ee)

lri $AR1,    #0x4000
lri $IX1,    #0x03ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1007 (0x03ef)

lri $AR1,    #0x4000
lri $IX1,    #0x03ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1008 (0x03f0)

lri $AR1,    #0x4000
lri $IX1,    #0x03f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1009 (0x03f1)

lri $AR1,    #0x4000
lri $IX1,    #0x03f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1010 (0x03f2)

lri $AR1,    #0x4000
lri $IX1,    #0x03f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1011 (0x03f3)

lri $AR1,    #0x4000
lri $IX1,    #0x03f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1012 (0x03f4)

lri $AR1,    #0x4000
lri $IX1,    #0x03f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1013 (0x03f5)

lri $AR1,    #0x4000
lri $IX1,    #0x03f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1014 (0x03f6)

lri $AR1,    #0x4000
lri $IX1,    #0x03f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1015 (0x03f7)

lri $AR1,    #0x4000
lri $IX1,    #0x03f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1016 (0x03f8)

lri $AR1,    #0x4000
lri $IX1,    #0x03f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1017 (0x03f9)

lri $AR1,    #0x4000
lri $IX1,    #0x03f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1018 (0x03fa)

lri $AR1,    #0x4000
lri $IX1,    #0x03fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1019 (0x03fb)

lri $AR1,    #0x4000
lri $IX1,    #0x03fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1020 (0x03fc)

lri $AR1,    #0x4000
lri $IX1,    #0x03fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1021 (0x03fd)

lri $AR1,    #0x4000
lri $IX1,    #0x03fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1022 (0x03fe)

lri $AR1,    #0x4000
lri $IX1,    #0x03fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1023 (0x03ff)

lri $AR1,    #0x4000
lri $IX1,    #0x03ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1024 (0x0400)

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

