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

lri $AR1,    #0xa780
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42881 (0xa781)

lri $AR1,    #0xa781
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42882 (0xa782)

lri $AR1,    #0xa782
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42883 (0xa783)

lri $AR1,    #0xa783
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42884 (0xa784)

lri $AR1,    #0xa784
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42885 (0xa785)

lri $AR1,    #0xa785
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42886 (0xa786)

lri $AR1,    #0xa786
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42887 (0xa787)

lri $AR1,    #0xa787
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42888 (0xa788)

lri $AR1,    #0xa788
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42889 (0xa789)

lri $AR1,    #0xa789
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42890 (0xa78a)

lri $AR1,    #0xa78a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42891 (0xa78b)

lri $AR1,    #0xa78b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42892 (0xa78c)

lri $AR1,    #0xa78c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42893 (0xa78d)

lri $AR1,    #0xa78d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42894 (0xa78e)

lri $AR1,    #0xa78e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42895 (0xa78f)

lri $AR1,    #0xa78f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42896 (0xa790)

lri $AR1,    #0xa790
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42897 (0xa791)

lri $AR1,    #0xa791
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42898 (0xa792)

lri $AR1,    #0xa792
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42899 (0xa793)

lri $AR1,    #0xa793
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42900 (0xa794)

lri $AR1,    #0xa794
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42901 (0xa795)

lri $AR1,    #0xa795
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42902 (0xa796)

lri $AR1,    #0xa796
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42903 (0xa797)

lri $AR1,    #0xa797
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42904 (0xa798)

lri $AR1,    #0xa798
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42905 (0xa799)

lri $AR1,    #0xa799
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42906 (0xa79a)

lri $AR1,    #0xa79a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42907 (0xa79b)

lri $AR1,    #0xa79b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42908 (0xa79c)

lri $AR1,    #0xa79c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42909 (0xa79d)

lri $AR1,    #0xa79d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42910 (0xa79e)

lri $AR1,    #0xa79e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42911 (0xa79f)

lri $AR1,    #0xa79f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42912 (0xa7a0)

lri $AR1,    #0xa7a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42913 (0xa7a1)

lri $AR1,    #0xa7a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42914 (0xa7a2)

lri $AR1,    #0xa7a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42915 (0xa7a3)

lri $AR1,    #0xa7a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42916 (0xa7a4)

lri $AR1,    #0xa7a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42917 (0xa7a5)

lri $AR1,    #0xa7a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42918 (0xa7a6)

lri $AR1,    #0xa7a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42919 (0xa7a7)

lri $AR1,    #0xa7a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42920 (0xa7a8)

lri $AR1,    #0xa7a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42921 (0xa7a9)

lri $AR1,    #0xa7a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42922 (0xa7aa)

lri $AR1,    #0xa7aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42923 (0xa7ab)

lri $AR1,    #0xa7ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42924 (0xa7ac)

lri $AR1,    #0xa7ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42925 (0xa7ad)

lri $AR1,    #0xa7ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42926 (0xa7ae)

lri $AR1,    #0xa7ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42927 (0xa7af)

lri $AR1,    #0xa7af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42928 (0xa7b0)

lri $AR1,    #0xa7b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42929 (0xa7b1)

lri $AR1,    #0xa7b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42930 (0xa7b2)

lri $AR1,    #0xa7b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42931 (0xa7b3)

lri $AR1,    #0xa7b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42932 (0xa7b4)

lri $AR1,    #0xa7b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42933 (0xa7b5)

lri $AR1,    #0xa7b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42934 (0xa7b6)

lri $AR1,    #0xa7b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42935 (0xa7b7)

lri $AR1,    #0xa7b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42936 (0xa7b8)

lri $AR1,    #0xa7b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42937 (0xa7b9)

lri $AR1,    #0xa7b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42938 (0xa7ba)

lri $AR1,    #0xa7ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42939 (0xa7bb)

lri $AR1,    #0xa7bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42940 (0xa7bc)

lri $AR1,    #0xa7bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42941 (0xa7bd)

lri $AR1,    #0xa7bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42942 (0xa7be)

lri $AR1,    #0xa7be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42943 (0xa7bf)

lri $AR1,    #0xa7bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42944 (0xa7c0)

lri $AR1,    #0xa7c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42945 (0xa7c1)

lri $AR1,    #0xa7c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42946 (0xa7c2)

lri $AR1,    #0xa7c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42947 (0xa7c3)

lri $AR1,    #0xa7c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42948 (0xa7c4)

lri $AR1,    #0xa7c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42949 (0xa7c5)

lri $AR1,    #0xa7c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42950 (0xa7c6)

lri $AR1,    #0xa7c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42951 (0xa7c7)

lri $AR1,    #0xa7c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42952 (0xa7c8)

lri $AR1,    #0xa7c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42953 (0xa7c9)

lri $AR1,    #0xa7c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42954 (0xa7ca)

lri $AR1,    #0xa7ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42955 (0xa7cb)

lri $AR1,    #0xa7cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42956 (0xa7cc)

lri $AR1,    #0xa7cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42957 (0xa7cd)

lri $AR1,    #0xa7cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42958 (0xa7ce)

lri $AR1,    #0xa7ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42959 (0xa7cf)

lri $AR1,    #0xa7cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42960 (0xa7d0)

lri $AR1,    #0xa7d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42961 (0xa7d1)

lri $AR1,    #0xa7d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42962 (0xa7d2)

lri $AR1,    #0xa7d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42963 (0xa7d3)

lri $AR1,    #0xa7d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42964 (0xa7d4)

lri $AR1,    #0xa7d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42965 (0xa7d5)

lri $AR1,    #0xa7d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42966 (0xa7d6)

lri $AR1,    #0xa7d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42967 (0xa7d7)

lri $AR1,    #0xa7d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42968 (0xa7d8)

lri $AR1,    #0xa7d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42969 (0xa7d9)

lri $AR1,    #0xa7d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42970 (0xa7da)

lri $AR1,    #0xa7da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42971 (0xa7db)

lri $AR1,    #0xa7db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42972 (0xa7dc)

lri $AR1,    #0xa7dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42973 (0xa7dd)

lri $AR1,    #0xa7dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42974 (0xa7de)

lri $AR1,    #0xa7de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42975 (0xa7df)

lri $AR1,    #0xa7df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42976 (0xa7e0)

lri $AR1,    #0xa7e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42977 (0xa7e1)

lri $AR1,    #0xa7e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42978 (0xa7e2)

lri $AR1,    #0xa7e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42979 (0xa7e3)

lri $AR1,    #0xa7e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42980 (0xa7e4)

lri $AR1,    #0xa7e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42981 (0xa7e5)

lri $AR1,    #0xa7e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42982 (0xa7e6)

lri $AR1,    #0xa7e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42983 (0xa7e7)

lri $AR1,    #0xa7e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42984 (0xa7e8)

lri $AR1,    #0xa7e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42985 (0xa7e9)

lri $AR1,    #0xa7e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42986 (0xa7ea)

lri $AR1,    #0xa7ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42987 (0xa7eb)

lri $AR1,    #0xa7eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42988 (0xa7ec)

lri $AR1,    #0xa7ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42989 (0xa7ed)

lri $AR1,    #0xa7ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42990 (0xa7ee)

lri $AR1,    #0xa7ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42991 (0xa7ef)

lri $AR1,    #0xa7ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42992 (0xa7f0)

lri $AR1,    #0xa7f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42993 (0xa7f1)

lri $AR1,    #0xa7f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42994 (0xa7f2)

lri $AR1,    #0xa7f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42995 (0xa7f3)

lri $AR1,    #0xa7f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42996 (0xa7f4)

lri $AR1,    #0xa7f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42997 (0xa7f5)

lri $AR1,    #0xa7f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42998 (0xa7f6)

lri $AR1,    #0xa7f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42999 (0xa7f7)

lri $AR1,    #0xa7f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43000 (0xa7f8)

lri $AR1,    #0xa7f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43001 (0xa7f9)

lri $AR1,    #0xa7f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43002 (0xa7fa)

lri $AR1,    #0xa7fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43003 (0xa7fb)

lri $AR1,    #0xa7fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43004 (0xa7fc)

lri $AR1,    #0xa7fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43005 (0xa7fd)

lri $AR1,    #0xa7fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43006 (0xa7fe)

lri $AR1,    #0xa7fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43007 (0xa7ff)

lri $AR1,    #0xa7ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 43008 (0xa800)

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

