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

lri $AR1,    #0x0480
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1153 (0x0481)

lri $AR1,    #0x0481
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1154 (0x0482)

lri $AR1,    #0x0482
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1155 (0x0483)

lri $AR1,    #0x0483
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1156 (0x0484)

lri $AR1,    #0x0484
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1157 (0x0485)

lri $AR1,    #0x0485
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1158 (0x0486)

lri $AR1,    #0x0486
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1159 (0x0487)

lri $AR1,    #0x0487
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1160 (0x0488)

lri $AR1,    #0x0488
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1161 (0x0489)

lri $AR1,    #0x0489
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1162 (0x048a)

lri $AR1,    #0x048a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1163 (0x048b)

lri $AR1,    #0x048b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1164 (0x048c)

lri $AR1,    #0x048c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1165 (0x048d)

lri $AR1,    #0x048d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1166 (0x048e)

lri $AR1,    #0x048e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1167 (0x048f)

lri $AR1,    #0x048f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1168 (0x0490)

lri $AR1,    #0x0490
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1169 (0x0491)

lri $AR1,    #0x0491
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1170 (0x0492)

lri $AR1,    #0x0492
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1171 (0x0493)

lri $AR1,    #0x0493
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1172 (0x0494)

lri $AR1,    #0x0494
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1173 (0x0495)

lri $AR1,    #0x0495
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1174 (0x0496)

lri $AR1,    #0x0496
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1175 (0x0497)

lri $AR1,    #0x0497
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1176 (0x0498)

lri $AR1,    #0x0498
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1177 (0x0499)

lri $AR1,    #0x0499
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1178 (0x049a)

lri $AR1,    #0x049a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1179 (0x049b)

lri $AR1,    #0x049b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1180 (0x049c)

lri $AR1,    #0x049c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1181 (0x049d)

lri $AR1,    #0x049d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1182 (0x049e)

lri $AR1,    #0x049e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1183 (0x049f)

lri $AR1,    #0x049f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1184 (0x04a0)

lri $AR1,    #0x04a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1185 (0x04a1)

lri $AR1,    #0x04a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1186 (0x04a2)

lri $AR1,    #0x04a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1187 (0x04a3)

lri $AR1,    #0x04a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1188 (0x04a4)

lri $AR1,    #0x04a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1189 (0x04a5)

lri $AR1,    #0x04a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1190 (0x04a6)

lri $AR1,    #0x04a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1191 (0x04a7)

lri $AR1,    #0x04a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1192 (0x04a8)

lri $AR1,    #0x04a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1193 (0x04a9)

lri $AR1,    #0x04a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1194 (0x04aa)

lri $AR1,    #0x04aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1195 (0x04ab)

lri $AR1,    #0x04ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1196 (0x04ac)

lri $AR1,    #0x04ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1197 (0x04ad)

lri $AR1,    #0x04ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1198 (0x04ae)

lri $AR1,    #0x04ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1199 (0x04af)

lri $AR1,    #0x04af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1200 (0x04b0)

lri $AR1,    #0x04b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1201 (0x04b1)

lri $AR1,    #0x04b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1202 (0x04b2)

lri $AR1,    #0x04b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1203 (0x04b3)

lri $AR1,    #0x04b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1204 (0x04b4)

lri $AR1,    #0x04b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1205 (0x04b5)

lri $AR1,    #0x04b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1206 (0x04b6)

lri $AR1,    #0x04b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1207 (0x04b7)

lri $AR1,    #0x04b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1208 (0x04b8)

lri $AR1,    #0x04b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1209 (0x04b9)

lri $AR1,    #0x04b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1210 (0x04ba)

lri $AR1,    #0x04ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1211 (0x04bb)

lri $AR1,    #0x04bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1212 (0x04bc)

lri $AR1,    #0x04bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1213 (0x04bd)

lri $AR1,    #0x04bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1214 (0x04be)

lri $AR1,    #0x04be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1215 (0x04bf)

lri $AR1,    #0x04bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1216 (0x04c0)

lri $AR1,    #0x04c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1217 (0x04c1)

lri $AR1,    #0x04c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1218 (0x04c2)

lri $AR1,    #0x04c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1219 (0x04c3)

lri $AR1,    #0x04c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1220 (0x04c4)

lri $AR1,    #0x04c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1221 (0x04c5)

lri $AR1,    #0x04c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1222 (0x04c6)

lri $AR1,    #0x04c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1223 (0x04c7)

lri $AR1,    #0x04c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1224 (0x04c8)

lri $AR1,    #0x04c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1225 (0x04c9)

lri $AR1,    #0x04c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1226 (0x04ca)

lri $AR1,    #0x04ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1227 (0x04cb)

lri $AR1,    #0x04cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1228 (0x04cc)

lri $AR1,    #0x04cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1229 (0x04cd)

lri $AR1,    #0x04cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1230 (0x04ce)

lri $AR1,    #0x04ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1231 (0x04cf)

lri $AR1,    #0x04cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1232 (0x04d0)

lri $AR1,    #0x04d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1233 (0x04d1)

lri $AR1,    #0x04d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1234 (0x04d2)

lri $AR1,    #0x04d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1235 (0x04d3)

lri $AR1,    #0x04d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1236 (0x04d4)

lri $AR1,    #0x04d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1237 (0x04d5)

lri $AR1,    #0x04d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1238 (0x04d6)

lri $AR1,    #0x04d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1239 (0x04d7)

lri $AR1,    #0x04d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1240 (0x04d8)

lri $AR1,    #0x04d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1241 (0x04d9)

lri $AR1,    #0x04d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1242 (0x04da)

lri $AR1,    #0x04da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1243 (0x04db)

lri $AR1,    #0x04db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1244 (0x04dc)

lri $AR1,    #0x04dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1245 (0x04dd)

lri $AR1,    #0x04dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1246 (0x04de)

lri $AR1,    #0x04de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1247 (0x04df)

lri $AR1,    #0x04df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1248 (0x04e0)

lri $AR1,    #0x04e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1249 (0x04e1)

lri $AR1,    #0x04e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1250 (0x04e2)

lri $AR1,    #0x04e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1251 (0x04e3)

lri $AR1,    #0x04e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1252 (0x04e4)

lri $AR1,    #0x04e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1253 (0x04e5)

lri $AR1,    #0x04e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1254 (0x04e6)

lri $AR1,    #0x04e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1255 (0x04e7)

lri $AR1,    #0x04e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1256 (0x04e8)

lri $AR1,    #0x04e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1257 (0x04e9)

lri $AR1,    #0x04e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1258 (0x04ea)

lri $AR1,    #0x04ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1259 (0x04eb)

lri $AR1,    #0x04eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1260 (0x04ec)

lri $AR1,    #0x04ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1261 (0x04ed)

lri $AR1,    #0x04ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1262 (0x04ee)

lri $AR1,    #0x04ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1263 (0x04ef)

lri $AR1,    #0x04ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1264 (0x04f0)

lri $AR1,    #0x04f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1265 (0x04f1)

lri $AR1,    #0x04f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1266 (0x04f2)

lri $AR1,    #0x04f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1267 (0x04f3)

lri $AR1,    #0x04f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1268 (0x04f4)

lri $AR1,    #0x04f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1269 (0x04f5)

lri $AR1,    #0x04f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1270 (0x04f6)

lri $AR1,    #0x04f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1271 (0x04f7)

lri $AR1,    #0x04f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1272 (0x04f8)

lri $AR1,    #0x04f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1273 (0x04f9)

lri $AR1,    #0x04f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1274 (0x04fa)

lri $AR1,    #0x04fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1275 (0x04fb)

lri $AR1,    #0x04fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1276 (0x04fc)

lri $AR1,    #0x04fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1277 (0x04fd)

lri $AR1,    #0x04fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1278 (0x04fe)

lri $AR1,    #0x04fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1279 (0x04ff)

lri $AR1,    #0x04ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 1280 (0x0500)

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

