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

lri $AR1,    #0x4000
lri $IX1,    #0xb000
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45057 (0xb001)

lri $AR1,    #0x4000
lri $IX1,    #0xb001
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45058 (0xb002)

lri $AR1,    #0x4000
lri $IX1,    #0xb002
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45059 (0xb003)

lri $AR1,    #0x4000
lri $IX1,    #0xb003
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45060 (0xb004)

lri $AR1,    #0x4000
lri $IX1,    #0xb004
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45061 (0xb005)

lri $AR1,    #0x4000
lri $IX1,    #0xb005
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45062 (0xb006)

lri $AR1,    #0x4000
lri $IX1,    #0xb006
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45063 (0xb007)

lri $AR1,    #0x4000
lri $IX1,    #0xb007
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45064 (0xb008)

lri $AR1,    #0x4000
lri $IX1,    #0xb008
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45065 (0xb009)

lri $AR1,    #0x4000
lri $IX1,    #0xb009
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45066 (0xb00a)

lri $AR1,    #0x4000
lri $IX1,    #0xb00a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45067 (0xb00b)

lri $AR1,    #0x4000
lri $IX1,    #0xb00b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45068 (0xb00c)

lri $AR1,    #0x4000
lri $IX1,    #0xb00c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45069 (0xb00d)

lri $AR1,    #0x4000
lri $IX1,    #0xb00d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45070 (0xb00e)

lri $AR1,    #0x4000
lri $IX1,    #0xb00e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45071 (0xb00f)

lri $AR1,    #0x4000
lri $IX1,    #0xb00f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45072 (0xb010)

lri $AR1,    #0x4000
lri $IX1,    #0xb010
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45073 (0xb011)

lri $AR1,    #0x4000
lri $IX1,    #0xb011
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45074 (0xb012)

lri $AR1,    #0x4000
lri $IX1,    #0xb012
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45075 (0xb013)

lri $AR1,    #0x4000
lri $IX1,    #0xb013
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45076 (0xb014)

lri $AR1,    #0x4000
lri $IX1,    #0xb014
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45077 (0xb015)

lri $AR1,    #0x4000
lri $IX1,    #0xb015
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45078 (0xb016)

lri $AR1,    #0x4000
lri $IX1,    #0xb016
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45079 (0xb017)

lri $AR1,    #0x4000
lri $IX1,    #0xb017
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45080 (0xb018)

lri $AR1,    #0x4000
lri $IX1,    #0xb018
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45081 (0xb019)

lri $AR1,    #0x4000
lri $IX1,    #0xb019
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45082 (0xb01a)

lri $AR1,    #0x4000
lri $IX1,    #0xb01a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45083 (0xb01b)

lri $AR1,    #0x4000
lri $IX1,    #0xb01b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45084 (0xb01c)

lri $AR1,    #0x4000
lri $IX1,    #0xb01c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45085 (0xb01d)

lri $AR1,    #0x4000
lri $IX1,    #0xb01d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45086 (0xb01e)

lri $AR1,    #0x4000
lri $IX1,    #0xb01e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45087 (0xb01f)

lri $AR1,    #0x4000
lri $IX1,    #0xb01f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45088 (0xb020)

lri $AR1,    #0x4000
lri $IX1,    #0xb020
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45089 (0xb021)

lri $AR1,    #0x4000
lri $IX1,    #0xb021
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45090 (0xb022)

lri $AR1,    #0x4000
lri $IX1,    #0xb022
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45091 (0xb023)

lri $AR1,    #0x4000
lri $IX1,    #0xb023
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45092 (0xb024)

lri $AR1,    #0x4000
lri $IX1,    #0xb024
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45093 (0xb025)

lri $AR1,    #0x4000
lri $IX1,    #0xb025
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45094 (0xb026)

lri $AR1,    #0x4000
lri $IX1,    #0xb026
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45095 (0xb027)

lri $AR1,    #0x4000
lri $IX1,    #0xb027
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45096 (0xb028)

lri $AR1,    #0x4000
lri $IX1,    #0xb028
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45097 (0xb029)

lri $AR1,    #0x4000
lri $IX1,    #0xb029
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45098 (0xb02a)

lri $AR1,    #0x4000
lri $IX1,    #0xb02a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45099 (0xb02b)

lri $AR1,    #0x4000
lri $IX1,    #0xb02b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45100 (0xb02c)

lri $AR1,    #0x4000
lri $IX1,    #0xb02c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45101 (0xb02d)

lri $AR1,    #0x4000
lri $IX1,    #0xb02d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45102 (0xb02e)

lri $AR1,    #0x4000
lri $IX1,    #0xb02e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45103 (0xb02f)

lri $AR1,    #0x4000
lri $IX1,    #0xb02f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45104 (0xb030)

lri $AR1,    #0x4000
lri $IX1,    #0xb030
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45105 (0xb031)

lri $AR1,    #0x4000
lri $IX1,    #0xb031
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45106 (0xb032)

lri $AR1,    #0x4000
lri $IX1,    #0xb032
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45107 (0xb033)

lri $AR1,    #0x4000
lri $IX1,    #0xb033
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45108 (0xb034)

lri $AR1,    #0x4000
lri $IX1,    #0xb034
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45109 (0xb035)

lri $AR1,    #0x4000
lri $IX1,    #0xb035
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45110 (0xb036)

lri $AR1,    #0x4000
lri $IX1,    #0xb036
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45111 (0xb037)

lri $AR1,    #0x4000
lri $IX1,    #0xb037
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45112 (0xb038)

lri $AR1,    #0x4000
lri $IX1,    #0xb038
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45113 (0xb039)

lri $AR1,    #0x4000
lri $IX1,    #0xb039
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45114 (0xb03a)

lri $AR1,    #0x4000
lri $IX1,    #0xb03a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45115 (0xb03b)

lri $AR1,    #0x4000
lri $IX1,    #0xb03b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45116 (0xb03c)

lri $AR1,    #0x4000
lri $IX1,    #0xb03c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45117 (0xb03d)

lri $AR1,    #0x4000
lri $IX1,    #0xb03d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45118 (0xb03e)

lri $AR1,    #0x4000
lri $IX1,    #0xb03e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45119 (0xb03f)

lri $AR1,    #0x4000
lri $IX1,    #0xb03f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45120 (0xb040)

lri $AR1,    #0x4000
lri $IX1,    #0xb040
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45121 (0xb041)

lri $AR1,    #0x4000
lri $IX1,    #0xb041
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45122 (0xb042)

lri $AR1,    #0x4000
lri $IX1,    #0xb042
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45123 (0xb043)

lri $AR1,    #0x4000
lri $IX1,    #0xb043
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45124 (0xb044)

lri $AR1,    #0x4000
lri $IX1,    #0xb044
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45125 (0xb045)

lri $AR1,    #0x4000
lri $IX1,    #0xb045
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45126 (0xb046)

lri $AR1,    #0x4000
lri $IX1,    #0xb046
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45127 (0xb047)

lri $AR1,    #0x4000
lri $IX1,    #0xb047
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45128 (0xb048)

lri $AR1,    #0x4000
lri $IX1,    #0xb048
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45129 (0xb049)

lri $AR1,    #0x4000
lri $IX1,    #0xb049
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45130 (0xb04a)

lri $AR1,    #0x4000
lri $IX1,    #0xb04a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45131 (0xb04b)

lri $AR1,    #0x4000
lri $IX1,    #0xb04b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45132 (0xb04c)

lri $AR1,    #0x4000
lri $IX1,    #0xb04c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45133 (0xb04d)

lri $AR1,    #0x4000
lri $IX1,    #0xb04d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45134 (0xb04e)

lri $AR1,    #0x4000
lri $IX1,    #0xb04e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45135 (0xb04f)

lri $AR1,    #0x4000
lri $IX1,    #0xb04f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45136 (0xb050)

lri $AR1,    #0x4000
lri $IX1,    #0xb050
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45137 (0xb051)

lri $AR1,    #0x4000
lri $IX1,    #0xb051
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45138 (0xb052)

lri $AR1,    #0x4000
lri $IX1,    #0xb052
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45139 (0xb053)

lri $AR1,    #0x4000
lri $IX1,    #0xb053
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45140 (0xb054)

lri $AR1,    #0x4000
lri $IX1,    #0xb054
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45141 (0xb055)

lri $AR1,    #0x4000
lri $IX1,    #0xb055
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45142 (0xb056)

lri $AR1,    #0x4000
lri $IX1,    #0xb056
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45143 (0xb057)

lri $AR1,    #0x4000
lri $IX1,    #0xb057
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45144 (0xb058)

lri $AR1,    #0x4000
lri $IX1,    #0xb058
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45145 (0xb059)

lri $AR1,    #0x4000
lri $IX1,    #0xb059
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45146 (0xb05a)

lri $AR1,    #0x4000
lri $IX1,    #0xb05a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45147 (0xb05b)

lri $AR1,    #0x4000
lri $IX1,    #0xb05b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45148 (0xb05c)

lri $AR1,    #0x4000
lri $IX1,    #0xb05c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45149 (0xb05d)

lri $AR1,    #0x4000
lri $IX1,    #0xb05d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45150 (0xb05e)

lri $AR1,    #0x4000
lri $IX1,    #0xb05e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45151 (0xb05f)

lri $AR1,    #0x4000
lri $IX1,    #0xb05f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45152 (0xb060)

lri $AR1,    #0x4000
lri $IX1,    #0xb060
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45153 (0xb061)

lri $AR1,    #0x4000
lri $IX1,    #0xb061
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45154 (0xb062)

lri $AR1,    #0x4000
lri $IX1,    #0xb062
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45155 (0xb063)

lri $AR1,    #0x4000
lri $IX1,    #0xb063
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45156 (0xb064)

lri $AR1,    #0x4000
lri $IX1,    #0xb064
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45157 (0xb065)

lri $AR1,    #0x4000
lri $IX1,    #0xb065
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45158 (0xb066)

lri $AR1,    #0x4000
lri $IX1,    #0xb066
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45159 (0xb067)

lri $AR1,    #0x4000
lri $IX1,    #0xb067
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45160 (0xb068)

lri $AR1,    #0x4000
lri $IX1,    #0xb068
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45161 (0xb069)

lri $AR1,    #0x4000
lri $IX1,    #0xb069
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45162 (0xb06a)

lri $AR1,    #0x4000
lri $IX1,    #0xb06a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45163 (0xb06b)

lri $AR1,    #0x4000
lri $IX1,    #0xb06b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45164 (0xb06c)

lri $AR1,    #0x4000
lri $IX1,    #0xb06c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45165 (0xb06d)

lri $AR1,    #0x4000
lri $IX1,    #0xb06d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45166 (0xb06e)

lri $AR1,    #0x4000
lri $IX1,    #0xb06e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45167 (0xb06f)

lri $AR1,    #0x4000
lri $IX1,    #0xb06f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45168 (0xb070)

lri $AR1,    #0x4000
lri $IX1,    #0xb070
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45169 (0xb071)

lri $AR1,    #0x4000
lri $IX1,    #0xb071
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45170 (0xb072)

lri $AR1,    #0x4000
lri $IX1,    #0xb072
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45171 (0xb073)

lri $AR1,    #0x4000
lri $IX1,    #0xb073
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45172 (0xb074)

lri $AR1,    #0x4000
lri $IX1,    #0xb074
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45173 (0xb075)

lri $AR1,    #0x4000
lri $IX1,    #0xb075
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45174 (0xb076)

lri $AR1,    #0x4000
lri $IX1,    #0xb076
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45175 (0xb077)

lri $AR1,    #0x4000
lri $IX1,    #0xb077
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45176 (0xb078)

lri $AR1,    #0x4000
lri $IX1,    #0xb078
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45177 (0xb079)

lri $AR1,    #0x4000
lri $IX1,    #0xb079
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45178 (0xb07a)

lri $AR1,    #0x4000
lri $IX1,    #0xb07a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45179 (0xb07b)

lri $AR1,    #0x4000
lri $IX1,    #0xb07b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45180 (0xb07c)

lri $AR1,    #0x4000
lri $IX1,    #0xb07c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45181 (0xb07d)

lri $AR1,    #0x4000
lri $IX1,    #0xb07d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45182 (0xb07e)

lri $AR1,    #0x4000
lri $IX1,    #0xb07e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45183 (0xb07f)

lri $AR1,    #0x4000
lri $IX1,    #0xb07f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 45184 (0xb080)

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

