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

lri $AR1,    #0x4000
lri $IX1,    #0x8480
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33921 (0x8481)

lri $AR1,    #0x4000
lri $IX1,    #0x8481
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33922 (0x8482)

lri $AR1,    #0x4000
lri $IX1,    #0x8482
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33923 (0x8483)

lri $AR1,    #0x4000
lri $IX1,    #0x8483
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33924 (0x8484)

lri $AR1,    #0x4000
lri $IX1,    #0x8484
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33925 (0x8485)

lri $AR1,    #0x4000
lri $IX1,    #0x8485
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33926 (0x8486)

lri $AR1,    #0x4000
lri $IX1,    #0x8486
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33927 (0x8487)

lri $AR1,    #0x4000
lri $IX1,    #0x8487
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33928 (0x8488)

lri $AR1,    #0x4000
lri $IX1,    #0x8488
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33929 (0x8489)

lri $AR1,    #0x4000
lri $IX1,    #0x8489
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33930 (0x848a)

lri $AR1,    #0x4000
lri $IX1,    #0x848a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33931 (0x848b)

lri $AR1,    #0x4000
lri $IX1,    #0x848b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33932 (0x848c)

lri $AR1,    #0x4000
lri $IX1,    #0x848c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33933 (0x848d)

lri $AR1,    #0x4000
lri $IX1,    #0x848d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33934 (0x848e)

lri $AR1,    #0x4000
lri $IX1,    #0x848e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33935 (0x848f)

lri $AR1,    #0x4000
lri $IX1,    #0x848f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33936 (0x8490)

lri $AR1,    #0x4000
lri $IX1,    #0x8490
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33937 (0x8491)

lri $AR1,    #0x4000
lri $IX1,    #0x8491
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33938 (0x8492)

lri $AR1,    #0x4000
lri $IX1,    #0x8492
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33939 (0x8493)

lri $AR1,    #0x4000
lri $IX1,    #0x8493
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33940 (0x8494)

lri $AR1,    #0x4000
lri $IX1,    #0x8494
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33941 (0x8495)

lri $AR1,    #0x4000
lri $IX1,    #0x8495
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33942 (0x8496)

lri $AR1,    #0x4000
lri $IX1,    #0x8496
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33943 (0x8497)

lri $AR1,    #0x4000
lri $IX1,    #0x8497
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33944 (0x8498)

lri $AR1,    #0x4000
lri $IX1,    #0x8498
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33945 (0x8499)

lri $AR1,    #0x4000
lri $IX1,    #0x8499
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33946 (0x849a)

lri $AR1,    #0x4000
lri $IX1,    #0x849a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33947 (0x849b)

lri $AR1,    #0x4000
lri $IX1,    #0x849b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33948 (0x849c)

lri $AR1,    #0x4000
lri $IX1,    #0x849c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33949 (0x849d)

lri $AR1,    #0x4000
lri $IX1,    #0x849d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33950 (0x849e)

lri $AR1,    #0x4000
lri $IX1,    #0x849e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33951 (0x849f)

lri $AR1,    #0x4000
lri $IX1,    #0x849f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33952 (0x84a0)

lri $AR1,    #0x4000
lri $IX1,    #0x84a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33953 (0x84a1)

lri $AR1,    #0x4000
lri $IX1,    #0x84a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33954 (0x84a2)

lri $AR1,    #0x4000
lri $IX1,    #0x84a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33955 (0x84a3)

lri $AR1,    #0x4000
lri $IX1,    #0x84a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33956 (0x84a4)

lri $AR1,    #0x4000
lri $IX1,    #0x84a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33957 (0x84a5)

lri $AR1,    #0x4000
lri $IX1,    #0x84a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33958 (0x84a6)

lri $AR1,    #0x4000
lri $IX1,    #0x84a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33959 (0x84a7)

lri $AR1,    #0x4000
lri $IX1,    #0x84a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33960 (0x84a8)

lri $AR1,    #0x4000
lri $IX1,    #0x84a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33961 (0x84a9)

lri $AR1,    #0x4000
lri $IX1,    #0x84a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33962 (0x84aa)

lri $AR1,    #0x4000
lri $IX1,    #0x84aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33963 (0x84ab)

lri $AR1,    #0x4000
lri $IX1,    #0x84ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33964 (0x84ac)

lri $AR1,    #0x4000
lri $IX1,    #0x84ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33965 (0x84ad)

lri $AR1,    #0x4000
lri $IX1,    #0x84ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33966 (0x84ae)

lri $AR1,    #0x4000
lri $IX1,    #0x84ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33967 (0x84af)

lri $AR1,    #0x4000
lri $IX1,    #0x84af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33968 (0x84b0)

lri $AR1,    #0x4000
lri $IX1,    #0x84b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33969 (0x84b1)

lri $AR1,    #0x4000
lri $IX1,    #0x84b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33970 (0x84b2)

lri $AR1,    #0x4000
lri $IX1,    #0x84b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33971 (0x84b3)

lri $AR1,    #0x4000
lri $IX1,    #0x84b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33972 (0x84b4)

lri $AR1,    #0x4000
lri $IX1,    #0x84b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33973 (0x84b5)

lri $AR1,    #0x4000
lri $IX1,    #0x84b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33974 (0x84b6)

lri $AR1,    #0x4000
lri $IX1,    #0x84b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33975 (0x84b7)

lri $AR1,    #0x4000
lri $IX1,    #0x84b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33976 (0x84b8)

lri $AR1,    #0x4000
lri $IX1,    #0x84b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33977 (0x84b9)

lri $AR1,    #0x4000
lri $IX1,    #0x84b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33978 (0x84ba)

lri $AR1,    #0x4000
lri $IX1,    #0x84ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33979 (0x84bb)

lri $AR1,    #0x4000
lri $IX1,    #0x84bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33980 (0x84bc)

lri $AR1,    #0x4000
lri $IX1,    #0x84bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33981 (0x84bd)

lri $AR1,    #0x4000
lri $IX1,    #0x84bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33982 (0x84be)

lri $AR1,    #0x4000
lri $IX1,    #0x84be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33983 (0x84bf)

lri $AR1,    #0x4000
lri $IX1,    #0x84bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33984 (0x84c0)

lri $AR1,    #0x4000
lri $IX1,    #0x84c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33985 (0x84c1)

lri $AR1,    #0x4000
lri $IX1,    #0x84c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33986 (0x84c2)

lri $AR1,    #0x4000
lri $IX1,    #0x84c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33987 (0x84c3)

lri $AR1,    #0x4000
lri $IX1,    #0x84c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33988 (0x84c4)

lri $AR1,    #0x4000
lri $IX1,    #0x84c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33989 (0x84c5)

lri $AR1,    #0x4000
lri $IX1,    #0x84c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33990 (0x84c6)

lri $AR1,    #0x4000
lri $IX1,    #0x84c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33991 (0x84c7)

lri $AR1,    #0x4000
lri $IX1,    #0x84c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33992 (0x84c8)

lri $AR1,    #0x4000
lri $IX1,    #0x84c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33993 (0x84c9)

lri $AR1,    #0x4000
lri $IX1,    #0x84c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33994 (0x84ca)

lri $AR1,    #0x4000
lri $IX1,    #0x84ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33995 (0x84cb)

lri $AR1,    #0x4000
lri $IX1,    #0x84cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33996 (0x84cc)

lri $AR1,    #0x4000
lri $IX1,    #0x84cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33997 (0x84cd)

lri $AR1,    #0x4000
lri $IX1,    #0x84cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33998 (0x84ce)

lri $AR1,    #0x4000
lri $IX1,    #0x84ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 33999 (0x84cf)

lri $AR1,    #0x4000
lri $IX1,    #0x84cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34000 (0x84d0)

lri $AR1,    #0x4000
lri $IX1,    #0x84d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34001 (0x84d1)

lri $AR1,    #0x4000
lri $IX1,    #0x84d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34002 (0x84d2)

lri $AR1,    #0x4000
lri $IX1,    #0x84d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34003 (0x84d3)

lri $AR1,    #0x4000
lri $IX1,    #0x84d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34004 (0x84d4)

lri $AR1,    #0x4000
lri $IX1,    #0x84d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34005 (0x84d5)

lri $AR1,    #0x4000
lri $IX1,    #0x84d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34006 (0x84d6)

lri $AR1,    #0x4000
lri $IX1,    #0x84d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34007 (0x84d7)

lri $AR1,    #0x4000
lri $IX1,    #0x84d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34008 (0x84d8)

lri $AR1,    #0x4000
lri $IX1,    #0x84d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34009 (0x84d9)

lri $AR1,    #0x4000
lri $IX1,    #0x84d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34010 (0x84da)

lri $AR1,    #0x4000
lri $IX1,    #0x84da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34011 (0x84db)

lri $AR1,    #0x4000
lri $IX1,    #0x84db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34012 (0x84dc)

lri $AR1,    #0x4000
lri $IX1,    #0x84dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34013 (0x84dd)

lri $AR1,    #0x4000
lri $IX1,    #0x84dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34014 (0x84de)

lri $AR1,    #0x4000
lri $IX1,    #0x84de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34015 (0x84df)

lri $AR1,    #0x4000
lri $IX1,    #0x84df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34016 (0x84e0)

lri $AR1,    #0x4000
lri $IX1,    #0x84e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34017 (0x84e1)

lri $AR1,    #0x4000
lri $IX1,    #0x84e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34018 (0x84e2)

lri $AR1,    #0x4000
lri $IX1,    #0x84e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34019 (0x84e3)

lri $AR1,    #0x4000
lri $IX1,    #0x84e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34020 (0x84e4)

lri $AR1,    #0x4000
lri $IX1,    #0x84e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34021 (0x84e5)

lri $AR1,    #0x4000
lri $IX1,    #0x84e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34022 (0x84e6)

lri $AR1,    #0x4000
lri $IX1,    #0x84e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34023 (0x84e7)

lri $AR1,    #0x4000
lri $IX1,    #0x84e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34024 (0x84e8)

lri $AR1,    #0x4000
lri $IX1,    #0x84e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34025 (0x84e9)

lri $AR1,    #0x4000
lri $IX1,    #0x84e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34026 (0x84ea)

lri $AR1,    #0x4000
lri $IX1,    #0x84ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34027 (0x84eb)

lri $AR1,    #0x4000
lri $IX1,    #0x84eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34028 (0x84ec)

lri $AR1,    #0x4000
lri $IX1,    #0x84ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34029 (0x84ed)

lri $AR1,    #0x4000
lri $IX1,    #0x84ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34030 (0x84ee)

lri $AR1,    #0x4000
lri $IX1,    #0x84ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34031 (0x84ef)

lri $AR1,    #0x4000
lri $IX1,    #0x84ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34032 (0x84f0)

lri $AR1,    #0x4000
lri $IX1,    #0x84f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34033 (0x84f1)

lri $AR1,    #0x4000
lri $IX1,    #0x84f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34034 (0x84f2)

lri $AR1,    #0x4000
lri $IX1,    #0x84f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34035 (0x84f3)

lri $AR1,    #0x4000
lri $IX1,    #0x84f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34036 (0x84f4)

lri $AR1,    #0x4000
lri $IX1,    #0x84f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34037 (0x84f5)

lri $AR1,    #0x4000
lri $IX1,    #0x84f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34038 (0x84f6)

lri $AR1,    #0x4000
lri $IX1,    #0x84f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34039 (0x84f7)

lri $AR1,    #0x4000
lri $IX1,    #0x84f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34040 (0x84f8)

lri $AR1,    #0x4000
lri $IX1,    #0x84f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34041 (0x84f9)

lri $AR1,    #0x4000
lri $IX1,    #0x84f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34042 (0x84fa)

lri $AR1,    #0x4000
lri $IX1,    #0x84fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34043 (0x84fb)

lri $AR1,    #0x4000
lri $IX1,    #0x84fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34044 (0x84fc)

lri $AR1,    #0x4000
lri $IX1,    #0x84fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34045 (0x84fd)

lri $AR1,    #0x4000
lri $IX1,    #0x84fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34046 (0x84fe)

lri $AR1,    #0x4000
lri $IX1,    #0x84fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34047 (0x84ff)

lri $AR1,    #0x4000
lri $IX1,    #0x84ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 34048 (0x8500)

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

