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

lri $AR1,    #0x4000
lri $IX1,    #0x1100
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4353 (0x1101)

lri $AR1,    #0x4000
lri $IX1,    #0x1101
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4354 (0x1102)

lri $AR1,    #0x4000
lri $IX1,    #0x1102
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4355 (0x1103)

lri $AR1,    #0x4000
lri $IX1,    #0x1103
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4356 (0x1104)

lri $AR1,    #0x4000
lri $IX1,    #0x1104
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4357 (0x1105)

lri $AR1,    #0x4000
lri $IX1,    #0x1105
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4358 (0x1106)

lri $AR1,    #0x4000
lri $IX1,    #0x1106
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4359 (0x1107)

lri $AR1,    #0x4000
lri $IX1,    #0x1107
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4360 (0x1108)

lri $AR1,    #0x4000
lri $IX1,    #0x1108
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4361 (0x1109)

lri $AR1,    #0x4000
lri $IX1,    #0x1109
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4362 (0x110a)

lri $AR1,    #0x4000
lri $IX1,    #0x110a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4363 (0x110b)

lri $AR1,    #0x4000
lri $IX1,    #0x110b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4364 (0x110c)

lri $AR1,    #0x4000
lri $IX1,    #0x110c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4365 (0x110d)

lri $AR1,    #0x4000
lri $IX1,    #0x110d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4366 (0x110e)

lri $AR1,    #0x4000
lri $IX1,    #0x110e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4367 (0x110f)

lri $AR1,    #0x4000
lri $IX1,    #0x110f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4368 (0x1110)

lri $AR1,    #0x4000
lri $IX1,    #0x1110
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4369 (0x1111)

lri $AR1,    #0x4000
lri $IX1,    #0x1111
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4370 (0x1112)

lri $AR1,    #0x4000
lri $IX1,    #0x1112
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4371 (0x1113)

lri $AR1,    #0x4000
lri $IX1,    #0x1113
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4372 (0x1114)

lri $AR1,    #0x4000
lri $IX1,    #0x1114
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4373 (0x1115)

lri $AR1,    #0x4000
lri $IX1,    #0x1115
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4374 (0x1116)

lri $AR1,    #0x4000
lri $IX1,    #0x1116
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4375 (0x1117)

lri $AR1,    #0x4000
lri $IX1,    #0x1117
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4376 (0x1118)

lri $AR1,    #0x4000
lri $IX1,    #0x1118
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4377 (0x1119)

lri $AR1,    #0x4000
lri $IX1,    #0x1119
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4378 (0x111a)

lri $AR1,    #0x4000
lri $IX1,    #0x111a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4379 (0x111b)

lri $AR1,    #0x4000
lri $IX1,    #0x111b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4380 (0x111c)

lri $AR1,    #0x4000
lri $IX1,    #0x111c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4381 (0x111d)

lri $AR1,    #0x4000
lri $IX1,    #0x111d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4382 (0x111e)

lri $AR1,    #0x4000
lri $IX1,    #0x111e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4383 (0x111f)

lri $AR1,    #0x4000
lri $IX1,    #0x111f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4384 (0x1120)

lri $AR1,    #0x4000
lri $IX1,    #0x1120
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4385 (0x1121)

lri $AR1,    #0x4000
lri $IX1,    #0x1121
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4386 (0x1122)

lri $AR1,    #0x4000
lri $IX1,    #0x1122
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4387 (0x1123)

lri $AR1,    #0x4000
lri $IX1,    #0x1123
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4388 (0x1124)

lri $AR1,    #0x4000
lri $IX1,    #0x1124
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4389 (0x1125)

lri $AR1,    #0x4000
lri $IX1,    #0x1125
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4390 (0x1126)

lri $AR1,    #0x4000
lri $IX1,    #0x1126
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4391 (0x1127)

lri $AR1,    #0x4000
lri $IX1,    #0x1127
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4392 (0x1128)

lri $AR1,    #0x4000
lri $IX1,    #0x1128
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4393 (0x1129)

lri $AR1,    #0x4000
lri $IX1,    #0x1129
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4394 (0x112a)

lri $AR1,    #0x4000
lri $IX1,    #0x112a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4395 (0x112b)

lri $AR1,    #0x4000
lri $IX1,    #0x112b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4396 (0x112c)

lri $AR1,    #0x4000
lri $IX1,    #0x112c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4397 (0x112d)

lri $AR1,    #0x4000
lri $IX1,    #0x112d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4398 (0x112e)

lri $AR1,    #0x4000
lri $IX1,    #0x112e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4399 (0x112f)

lri $AR1,    #0x4000
lri $IX1,    #0x112f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4400 (0x1130)

lri $AR1,    #0x4000
lri $IX1,    #0x1130
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4401 (0x1131)

lri $AR1,    #0x4000
lri $IX1,    #0x1131
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4402 (0x1132)

lri $AR1,    #0x4000
lri $IX1,    #0x1132
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4403 (0x1133)

lri $AR1,    #0x4000
lri $IX1,    #0x1133
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4404 (0x1134)

lri $AR1,    #0x4000
lri $IX1,    #0x1134
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4405 (0x1135)

lri $AR1,    #0x4000
lri $IX1,    #0x1135
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4406 (0x1136)

lri $AR1,    #0x4000
lri $IX1,    #0x1136
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4407 (0x1137)

lri $AR1,    #0x4000
lri $IX1,    #0x1137
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4408 (0x1138)

lri $AR1,    #0x4000
lri $IX1,    #0x1138
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4409 (0x1139)

lri $AR1,    #0x4000
lri $IX1,    #0x1139
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4410 (0x113a)

lri $AR1,    #0x4000
lri $IX1,    #0x113a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4411 (0x113b)

lri $AR1,    #0x4000
lri $IX1,    #0x113b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4412 (0x113c)

lri $AR1,    #0x4000
lri $IX1,    #0x113c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4413 (0x113d)

lri $AR1,    #0x4000
lri $IX1,    #0x113d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4414 (0x113e)

lri $AR1,    #0x4000
lri $IX1,    #0x113e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4415 (0x113f)

lri $AR1,    #0x4000
lri $IX1,    #0x113f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4416 (0x1140)

lri $AR1,    #0x4000
lri $IX1,    #0x1140
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4417 (0x1141)

lri $AR1,    #0x4000
lri $IX1,    #0x1141
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4418 (0x1142)

lri $AR1,    #0x4000
lri $IX1,    #0x1142
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4419 (0x1143)

lri $AR1,    #0x4000
lri $IX1,    #0x1143
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4420 (0x1144)

lri $AR1,    #0x4000
lri $IX1,    #0x1144
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4421 (0x1145)

lri $AR1,    #0x4000
lri $IX1,    #0x1145
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4422 (0x1146)

lri $AR1,    #0x4000
lri $IX1,    #0x1146
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4423 (0x1147)

lri $AR1,    #0x4000
lri $IX1,    #0x1147
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4424 (0x1148)

lri $AR1,    #0x4000
lri $IX1,    #0x1148
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4425 (0x1149)

lri $AR1,    #0x4000
lri $IX1,    #0x1149
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4426 (0x114a)

lri $AR1,    #0x4000
lri $IX1,    #0x114a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4427 (0x114b)

lri $AR1,    #0x4000
lri $IX1,    #0x114b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4428 (0x114c)

lri $AR1,    #0x4000
lri $IX1,    #0x114c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4429 (0x114d)

lri $AR1,    #0x4000
lri $IX1,    #0x114d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4430 (0x114e)

lri $AR1,    #0x4000
lri $IX1,    #0x114e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4431 (0x114f)

lri $AR1,    #0x4000
lri $IX1,    #0x114f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4432 (0x1150)

lri $AR1,    #0x4000
lri $IX1,    #0x1150
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4433 (0x1151)

lri $AR1,    #0x4000
lri $IX1,    #0x1151
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4434 (0x1152)

lri $AR1,    #0x4000
lri $IX1,    #0x1152
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4435 (0x1153)

lri $AR1,    #0x4000
lri $IX1,    #0x1153
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4436 (0x1154)

lri $AR1,    #0x4000
lri $IX1,    #0x1154
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4437 (0x1155)

lri $AR1,    #0x4000
lri $IX1,    #0x1155
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4438 (0x1156)

lri $AR1,    #0x4000
lri $IX1,    #0x1156
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4439 (0x1157)

lri $AR1,    #0x4000
lri $IX1,    #0x1157
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4440 (0x1158)

lri $AR1,    #0x4000
lri $IX1,    #0x1158
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4441 (0x1159)

lri $AR1,    #0x4000
lri $IX1,    #0x1159
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4442 (0x115a)

lri $AR1,    #0x4000
lri $IX1,    #0x115a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4443 (0x115b)

lri $AR1,    #0x4000
lri $IX1,    #0x115b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4444 (0x115c)

lri $AR1,    #0x4000
lri $IX1,    #0x115c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4445 (0x115d)

lri $AR1,    #0x4000
lri $IX1,    #0x115d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4446 (0x115e)

lri $AR1,    #0x4000
lri $IX1,    #0x115e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4447 (0x115f)

lri $AR1,    #0x4000
lri $IX1,    #0x115f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4448 (0x1160)

lri $AR1,    #0x4000
lri $IX1,    #0x1160
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4449 (0x1161)

lri $AR1,    #0x4000
lri $IX1,    #0x1161
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4450 (0x1162)

lri $AR1,    #0x4000
lri $IX1,    #0x1162
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4451 (0x1163)

lri $AR1,    #0x4000
lri $IX1,    #0x1163
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4452 (0x1164)

lri $AR1,    #0x4000
lri $IX1,    #0x1164
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4453 (0x1165)

lri $AR1,    #0x4000
lri $IX1,    #0x1165
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4454 (0x1166)

lri $AR1,    #0x4000
lri $IX1,    #0x1166
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4455 (0x1167)

lri $AR1,    #0x4000
lri $IX1,    #0x1167
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4456 (0x1168)

lri $AR1,    #0x4000
lri $IX1,    #0x1168
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4457 (0x1169)

lri $AR1,    #0x4000
lri $IX1,    #0x1169
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4458 (0x116a)

lri $AR1,    #0x4000
lri $IX1,    #0x116a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4459 (0x116b)

lri $AR1,    #0x4000
lri $IX1,    #0x116b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4460 (0x116c)

lri $AR1,    #0x4000
lri $IX1,    #0x116c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4461 (0x116d)

lri $AR1,    #0x4000
lri $IX1,    #0x116d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4462 (0x116e)

lri $AR1,    #0x4000
lri $IX1,    #0x116e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4463 (0x116f)

lri $AR1,    #0x4000
lri $IX1,    #0x116f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4464 (0x1170)

lri $AR1,    #0x4000
lri $IX1,    #0x1170
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4465 (0x1171)

lri $AR1,    #0x4000
lri $IX1,    #0x1171
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4466 (0x1172)

lri $AR1,    #0x4000
lri $IX1,    #0x1172
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4467 (0x1173)

lri $AR1,    #0x4000
lri $IX1,    #0x1173
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4468 (0x1174)

lri $AR1,    #0x4000
lri $IX1,    #0x1174
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4469 (0x1175)

lri $AR1,    #0x4000
lri $IX1,    #0x1175
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4470 (0x1176)

lri $AR1,    #0x4000
lri $IX1,    #0x1176
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4471 (0x1177)

lri $AR1,    #0x4000
lri $IX1,    #0x1177
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4472 (0x1178)

lri $AR1,    #0x4000
lri $IX1,    #0x1178
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4473 (0x1179)

lri $AR1,    #0x4000
lri $IX1,    #0x1179
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4474 (0x117a)

lri $AR1,    #0x4000
lri $IX1,    #0x117a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4475 (0x117b)

lri $AR1,    #0x4000
lri $IX1,    #0x117b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4476 (0x117c)

lri $AR1,    #0x4000
lri $IX1,    #0x117c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4477 (0x117d)

lri $AR1,    #0x4000
lri $IX1,    #0x117d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4478 (0x117e)

lri $AR1,    #0x4000
lri $IX1,    #0x117e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4479 (0x117f)

lri $AR1,    #0x4000
lri $IX1,    #0x117f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 4480 (0x1180)

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

