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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf80
cw 0x9
call send_back  ; 44929 (0xaf81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf81
cw 0x9
call send_back  ; 44930 (0xaf82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf82
cw 0x9
call send_back  ; 44931 (0xaf83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf83
cw 0x9
call send_back  ; 44932 (0xaf84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf84
cw 0x9
call send_back  ; 44933 (0xaf85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf85
cw 0x9
call send_back  ; 44934 (0xaf86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf86
cw 0x9
call send_back  ; 44935 (0xaf87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf87
cw 0x9
call send_back  ; 44936 (0xaf88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf88
cw 0x9
call send_back  ; 44937 (0xaf89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf89
cw 0x9
call send_back  ; 44938 (0xaf8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf8a
cw 0x9
call send_back  ; 44939 (0xaf8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf8b
cw 0x9
call send_back  ; 44940 (0xaf8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf8c
cw 0x9
call send_back  ; 44941 (0xaf8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf8d
cw 0x9
call send_back  ; 44942 (0xaf8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf8e
cw 0x9
call send_back  ; 44943 (0xaf8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf8f
cw 0x9
call send_back  ; 44944 (0xaf90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf90
cw 0x9
call send_back  ; 44945 (0xaf91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf91
cw 0x9
call send_back  ; 44946 (0xaf92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf92
cw 0x9
call send_back  ; 44947 (0xaf93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf93
cw 0x9
call send_back  ; 44948 (0xaf94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf94
cw 0x9
call send_back  ; 44949 (0xaf95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf95
cw 0x9
call send_back  ; 44950 (0xaf96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf96
cw 0x9
call send_back  ; 44951 (0xaf97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf97
cw 0x9
call send_back  ; 44952 (0xaf98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf98
cw 0x9
call send_back  ; 44953 (0xaf99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf99
cw 0x9
call send_back  ; 44954 (0xaf9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf9a
cw 0x9
call send_back  ; 44955 (0xaf9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf9b
cw 0x9
call send_back  ; 44956 (0xaf9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf9c
cw 0x9
call send_back  ; 44957 (0xaf9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf9d
cw 0x9
call send_back  ; 44958 (0xaf9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf9e
cw 0x9
call send_back  ; 44959 (0xaf9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf9f
cw 0x9
call send_back  ; 44960 (0xafa0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa0
cw 0x9
call send_back  ; 44961 (0xafa1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa1
cw 0x9
call send_back  ; 44962 (0xafa2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa2
cw 0x9
call send_back  ; 44963 (0xafa3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa3
cw 0x9
call send_back  ; 44964 (0xafa4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa4
cw 0x9
call send_back  ; 44965 (0xafa5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa5
cw 0x9
call send_back  ; 44966 (0xafa6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa6
cw 0x9
call send_back  ; 44967 (0xafa7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa7
cw 0x9
call send_back  ; 44968 (0xafa8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa8
cw 0x9
call send_back  ; 44969 (0xafa9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafa9
cw 0x9
call send_back  ; 44970 (0xafaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafaa
cw 0x9
call send_back  ; 44971 (0xafab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafab
cw 0x9
call send_back  ; 44972 (0xafac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafac
cw 0x9
call send_back  ; 44973 (0xafad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafad
cw 0x9
call send_back  ; 44974 (0xafae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafae
cw 0x9
call send_back  ; 44975 (0xafaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafaf
cw 0x9
call send_back  ; 44976 (0xafb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb0
cw 0x9
call send_back  ; 44977 (0xafb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb1
cw 0x9
call send_back  ; 44978 (0xafb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb2
cw 0x9
call send_back  ; 44979 (0xafb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb3
cw 0x9
call send_back  ; 44980 (0xafb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb4
cw 0x9
call send_back  ; 44981 (0xafb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb5
cw 0x9
call send_back  ; 44982 (0xafb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb6
cw 0x9
call send_back  ; 44983 (0xafb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb7
cw 0x9
call send_back  ; 44984 (0xafb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb8
cw 0x9
call send_back  ; 44985 (0xafb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafb9
cw 0x9
call send_back  ; 44986 (0xafba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafba
cw 0x9
call send_back  ; 44987 (0xafbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafbb
cw 0x9
call send_back  ; 44988 (0xafbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafbc
cw 0x9
call send_back  ; 44989 (0xafbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafbd
cw 0x9
call send_back  ; 44990 (0xafbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafbe
cw 0x9
call send_back  ; 44991 (0xafbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafbf
cw 0x9
call send_back  ; 44992 (0xafc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc0
cw 0x9
call send_back  ; 44993 (0xafc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc1
cw 0x9
call send_back  ; 44994 (0xafc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc2
cw 0x9
call send_back  ; 44995 (0xafc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc3
cw 0x9
call send_back  ; 44996 (0xafc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc4
cw 0x9
call send_back  ; 44997 (0xafc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc5
cw 0x9
call send_back  ; 44998 (0xafc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc6
cw 0x9
call send_back  ; 44999 (0xafc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc7
cw 0x9
call send_back  ; 45000 (0xafc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc8
cw 0x9
call send_back  ; 45001 (0xafc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafc9
cw 0x9
call send_back  ; 45002 (0xafca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafca
cw 0x9
call send_back  ; 45003 (0xafcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafcb
cw 0x9
call send_back  ; 45004 (0xafcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafcc
cw 0x9
call send_back  ; 45005 (0xafcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafcd
cw 0x9
call send_back  ; 45006 (0xafce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafce
cw 0x9
call send_back  ; 45007 (0xafcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafcf
cw 0x9
call send_back  ; 45008 (0xafd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd0
cw 0x9
call send_back  ; 45009 (0xafd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd1
cw 0x9
call send_back  ; 45010 (0xafd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd2
cw 0x9
call send_back  ; 45011 (0xafd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd3
cw 0x9
call send_back  ; 45012 (0xafd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd4
cw 0x9
call send_back  ; 45013 (0xafd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd5
cw 0x9
call send_back  ; 45014 (0xafd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd6
cw 0x9
call send_back  ; 45015 (0xafd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd7
cw 0x9
call send_back  ; 45016 (0xafd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd8
cw 0x9
call send_back  ; 45017 (0xafd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafd9
cw 0x9
call send_back  ; 45018 (0xafda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafda
cw 0x9
call send_back  ; 45019 (0xafdb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafdb
cw 0x9
call send_back  ; 45020 (0xafdc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafdc
cw 0x9
call send_back  ; 45021 (0xafdd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafdd
cw 0x9
call send_back  ; 45022 (0xafde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafde
cw 0x9
call send_back  ; 45023 (0xafdf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafdf
cw 0x9
call send_back  ; 45024 (0xafe0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe0
cw 0x9
call send_back  ; 45025 (0xafe1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe1
cw 0x9
call send_back  ; 45026 (0xafe2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe2
cw 0x9
call send_back  ; 45027 (0xafe3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe3
cw 0x9
call send_back  ; 45028 (0xafe4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe4
cw 0x9
call send_back  ; 45029 (0xafe5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe5
cw 0x9
call send_back  ; 45030 (0xafe6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe6
cw 0x9
call send_back  ; 45031 (0xafe7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe7
cw 0x9
call send_back  ; 45032 (0xafe8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe8
cw 0x9
call send_back  ; 45033 (0xafe9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafe9
cw 0x9
call send_back  ; 45034 (0xafea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafea
cw 0x9
call send_back  ; 45035 (0xafeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafeb
cw 0x9
call send_back  ; 45036 (0xafec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafec
cw 0x9
call send_back  ; 45037 (0xafed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafed
cw 0x9
call send_back  ; 45038 (0xafee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafee
cw 0x9
call send_back  ; 45039 (0xafef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafef
cw 0x9
call send_back  ; 45040 (0xaff0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff0
cw 0x9
call send_back  ; 45041 (0xaff1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff1
cw 0x9
call send_back  ; 45042 (0xaff2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff2
cw 0x9
call send_back  ; 45043 (0xaff3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff3
cw 0x9
call send_back  ; 45044 (0xaff4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff4
cw 0x9
call send_back  ; 45045 (0xaff5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff5
cw 0x9
call send_back  ; 45046 (0xaff6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff6
cw 0x9
call send_back  ; 45047 (0xaff7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff7
cw 0x9
call send_back  ; 45048 (0xaff8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff8
cw 0x9
call send_back  ; 45049 (0xaff9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaff9
cw 0x9
call send_back  ; 45050 (0xaffa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaffa
cw 0x9
call send_back  ; 45051 (0xaffb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaffb
cw 0x9
call send_back  ; 45052 (0xaffc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaffc
cw 0x9
call send_back  ; 45053 (0xaffd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaffd
cw 0x9
call send_back  ; 45054 (0xaffe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaffe
cw 0x9
call send_back  ; 45055 (0xafff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xafff
cw 0x9
call send_back  ; 45056 (0xb000)

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

