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

lri $AR1,    #0x4000
lri $IX1,    #0xe000
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57345 (0xe001)

lri $AR1,    #0x4000
lri $IX1,    #0xe001
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57346 (0xe002)

lri $AR1,    #0x4000
lri $IX1,    #0xe002
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57347 (0xe003)

lri $AR1,    #0x4000
lri $IX1,    #0xe003
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57348 (0xe004)

lri $AR1,    #0x4000
lri $IX1,    #0xe004
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57349 (0xe005)

lri $AR1,    #0x4000
lri $IX1,    #0xe005
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57350 (0xe006)

lri $AR1,    #0x4000
lri $IX1,    #0xe006
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57351 (0xe007)

lri $AR1,    #0x4000
lri $IX1,    #0xe007
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57352 (0xe008)

lri $AR1,    #0x4000
lri $IX1,    #0xe008
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57353 (0xe009)

lri $AR1,    #0x4000
lri $IX1,    #0xe009
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57354 (0xe00a)

lri $AR1,    #0x4000
lri $IX1,    #0xe00a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57355 (0xe00b)

lri $AR1,    #0x4000
lri $IX1,    #0xe00b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57356 (0xe00c)

lri $AR1,    #0x4000
lri $IX1,    #0xe00c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57357 (0xe00d)

lri $AR1,    #0x4000
lri $IX1,    #0xe00d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57358 (0xe00e)

lri $AR1,    #0x4000
lri $IX1,    #0xe00e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57359 (0xe00f)

lri $AR1,    #0x4000
lri $IX1,    #0xe00f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57360 (0xe010)

lri $AR1,    #0x4000
lri $IX1,    #0xe010
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57361 (0xe011)

lri $AR1,    #0x4000
lri $IX1,    #0xe011
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57362 (0xe012)

lri $AR1,    #0x4000
lri $IX1,    #0xe012
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57363 (0xe013)

lri $AR1,    #0x4000
lri $IX1,    #0xe013
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57364 (0xe014)

lri $AR1,    #0x4000
lri $IX1,    #0xe014
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57365 (0xe015)

lri $AR1,    #0x4000
lri $IX1,    #0xe015
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57366 (0xe016)

lri $AR1,    #0x4000
lri $IX1,    #0xe016
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57367 (0xe017)

lri $AR1,    #0x4000
lri $IX1,    #0xe017
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57368 (0xe018)

lri $AR1,    #0x4000
lri $IX1,    #0xe018
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57369 (0xe019)

lri $AR1,    #0x4000
lri $IX1,    #0xe019
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57370 (0xe01a)

lri $AR1,    #0x4000
lri $IX1,    #0xe01a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57371 (0xe01b)

lri $AR1,    #0x4000
lri $IX1,    #0xe01b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57372 (0xe01c)

lri $AR1,    #0x4000
lri $IX1,    #0xe01c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57373 (0xe01d)

lri $AR1,    #0x4000
lri $IX1,    #0xe01d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57374 (0xe01e)

lri $AR1,    #0x4000
lri $IX1,    #0xe01e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57375 (0xe01f)

lri $AR1,    #0x4000
lri $IX1,    #0xe01f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57376 (0xe020)

lri $AR1,    #0x4000
lri $IX1,    #0xe020
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57377 (0xe021)

lri $AR1,    #0x4000
lri $IX1,    #0xe021
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57378 (0xe022)

lri $AR1,    #0x4000
lri $IX1,    #0xe022
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57379 (0xe023)

lri $AR1,    #0x4000
lri $IX1,    #0xe023
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57380 (0xe024)

lri $AR1,    #0x4000
lri $IX1,    #0xe024
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57381 (0xe025)

lri $AR1,    #0x4000
lri $IX1,    #0xe025
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57382 (0xe026)

lri $AR1,    #0x4000
lri $IX1,    #0xe026
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57383 (0xe027)

lri $AR1,    #0x4000
lri $IX1,    #0xe027
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57384 (0xe028)

lri $AR1,    #0x4000
lri $IX1,    #0xe028
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57385 (0xe029)

lri $AR1,    #0x4000
lri $IX1,    #0xe029
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57386 (0xe02a)

lri $AR1,    #0x4000
lri $IX1,    #0xe02a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57387 (0xe02b)

lri $AR1,    #0x4000
lri $IX1,    #0xe02b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57388 (0xe02c)

lri $AR1,    #0x4000
lri $IX1,    #0xe02c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57389 (0xe02d)

lri $AR1,    #0x4000
lri $IX1,    #0xe02d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57390 (0xe02e)

lri $AR1,    #0x4000
lri $IX1,    #0xe02e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57391 (0xe02f)

lri $AR1,    #0x4000
lri $IX1,    #0xe02f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57392 (0xe030)

lri $AR1,    #0x4000
lri $IX1,    #0xe030
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57393 (0xe031)

lri $AR1,    #0x4000
lri $IX1,    #0xe031
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57394 (0xe032)

lri $AR1,    #0x4000
lri $IX1,    #0xe032
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57395 (0xe033)

lri $AR1,    #0x4000
lri $IX1,    #0xe033
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57396 (0xe034)

lri $AR1,    #0x4000
lri $IX1,    #0xe034
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57397 (0xe035)

lri $AR1,    #0x4000
lri $IX1,    #0xe035
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57398 (0xe036)

lri $AR1,    #0x4000
lri $IX1,    #0xe036
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57399 (0xe037)

lri $AR1,    #0x4000
lri $IX1,    #0xe037
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57400 (0xe038)

lri $AR1,    #0x4000
lri $IX1,    #0xe038
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57401 (0xe039)

lri $AR1,    #0x4000
lri $IX1,    #0xe039
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57402 (0xe03a)

lri $AR1,    #0x4000
lri $IX1,    #0xe03a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57403 (0xe03b)

lri $AR1,    #0x4000
lri $IX1,    #0xe03b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57404 (0xe03c)

lri $AR1,    #0x4000
lri $IX1,    #0xe03c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57405 (0xe03d)

lri $AR1,    #0x4000
lri $IX1,    #0xe03d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57406 (0xe03e)

lri $AR1,    #0x4000
lri $IX1,    #0xe03e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57407 (0xe03f)

lri $AR1,    #0x4000
lri $IX1,    #0xe03f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57408 (0xe040)

lri $AR1,    #0x4000
lri $IX1,    #0xe040
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57409 (0xe041)

lri $AR1,    #0x4000
lri $IX1,    #0xe041
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57410 (0xe042)

lri $AR1,    #0x4000
lri $IX1,    #0xe042
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57411 (0xe043)

lri $AR1,    #0x4000
lri $IX1,    #0xe043
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57412 (0xe044)

lri $AR1,    #0x4000
lri $IX1,    #0xe044
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57413 (0xe045)

lri $AR1,    #0x4000
lri $IX1,    #0xe045
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57414 (0xe046)

lri $AR1,    #0x4000
lri $IX1,    #0xe046
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57415 (0xe047)

lri $AR1,    #0x4000
lri $IX1,    #0xe047
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57416 (0xe048)

lri $AR1,    #0x4000
lri $IX1,    #0xe048
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57417 (0xe049)

lri $AR1,    #0x4000
lri $IX1,    #0xe049
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57418 (0xe04a)

lri $AR1,    #0x4000
lri $IX1,    #0xe04a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57419 (0xe04b)

lri $AR1,    #0x4000
lri $IX1,    #0xe04b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57420 (0xe04c)

lri $AR1,    #0x4000
lri $IX1,    #0xe04c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57421 (0xe04d)

lri $AR1,    #0x4000
lri $IX1,    #0xe04d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57422 (0xe04e)

lri $AR1,    #0x4000
lri $IX1,    #0xe04e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57423 (0xe04f)

lri $AR1,    #0x4000
lri $IX1,    #0xe04f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57424 (0xe050)

lri $AR1,    #0x4000
lri $IX1,    #0xe050
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57425 (0xe051)

lri $AR1,    #0x4000
lri $IX1,    #0xe051
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57426 (0xe052)

lri $AR1,    #0x4000
lri $IX1,    #0xe052
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57427 (0xe053)

lri $AR1,    #0x4000
lri $IX1,    #0xe053
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57428 (0xe054)

lri $AR1,    #0x4000
lri $IX1,    #0xe054
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57429 (0xe055)

lri $AR1,    #0x4000
lri $IX1,    #0xe055
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57430 (0xe056)

lri $AR1,    #0x4000
lri $IX1,    #0xe056
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57431 (0xe057)

lri $AR1,    #0x4000
lri $IX1,    #0xe057
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57432 (0xe058)

lri $AR1,    #0x4000
lri $IX1,    #0xe058
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57433 (0xe059)

lri $AR1,    #0x4000
lri $IX1,    #0xe059
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57434 (0xe05a)

lri $AR1,    #0x4000
lri $IX1,    #0xe05a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57435 (0xe05b)

lri $AR1,    #0x4000
lri $IX1,    #0xe05b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57436 (0xe05c)

lri $AR1,    #0x4000
lri $IX1,    #0xe05c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57437 (0xe05d)

lri $AR1,    #0x4000
lri $IX1,    #0xe05d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57438 (0xe05e)

lri $AR1,    #0x4000
lri $IX1,    #0xe05e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57439 (0xe05f)

lri $AR1,    #0x4000
lri $IX1,    #0xe05f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57440 (0xe060)

lri $AR1,    #0x4000
lri $IX1,    #0xe060
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57441 (0xe061)

lri $AR1,    #0x4000
lri $IX1,    #0xe061
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57442 (0xe062)

lri $AR1,    #0x4000
lri $IX1,    #0xe062
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57443 (0xe063)

lri $AR1,    #0x4000
lri $IX1,    #0xe063
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57444 (0xe064)

lri $AR1,    #0x4000
lri $IX1,    #0xe064
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57445 (0xe065)

lri $AR1,    #0x4000
lri $IX1,    #0xe065
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57446 (0xe066)

lri $AR1,    #0x4000
lri $IX1,    #0xe066
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57447 (0xe067)

lri $AR1,    #0x4000
lri $IX1,    #0xe067
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57448 (0xe068)

lri $AR1,    #0x4000
lri $IX1,    #0xe068
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57449 (0xe069)

lri $AR1,    #0x4000
lri $IX1,    #0xe069
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57450 (0xe06a)

lri $AR1,    #0x4000
lri $IX1,    #0xe06a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57451 (0xe06b)

lri $AR1,    #0x4000
lri $IX1,    #0xe06b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57452 (0xe06c)

lri $AR1,    #0x4000
lri $IX1,    #0xe06c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57453 (0xe06d)

lri $AR1,    #0x4000
lri $IX1,    #0xe06d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57454 (0xe06e)

lri $AR1,    #0x4000
lri $IX1,    #0xe06e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57455 (0xe06f)

lri $AR1,    #0x4000
lri $IX1,    #0xe06f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57456 (0xe070)

lri $AR1,    #0x4000
lri $IX1,    #0xe070
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57457 (0xe071)

lri $AR1,    #0x4000
lri $IX1,    #0xe071
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57458 (0xe072)

lri $AR1,    #0x4000
lri $IX1,    #0xe072
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57459 (0xe073)

lri $AR1,    #0x4000
lri $IX1,    #0xe073
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57460 (0xe074)

lri $AR1,    #0x4000
lri $IX1,    #0xe074
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57461 (0xe075)

lri $AR1,    #0x4000
lri $IX1,    #0xe075
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57462 (0xe076)

lri $AR1,    #0x4000
lri $IX1,    #0xe076
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57463 (0xe077)

lri $AR1,    #0x4000
lri $IX1,    #0xe077
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57464 (0xe078)

lri $AR1,    #0x4000
lri $IX1,    #0xe078
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57465 (0xe079)

lri $AR1,    #0x4000
lri $IX1,    #0xe079
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57466 (0xe07a)

lri $AR1,    #0x4000
lri $IX1,    #0xe07a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57467 (0xe07b)

lri $AR1,    #0x4000
lri $IX1,    #0xe07b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57468 (0xe07c)

lri $AR1,    #0x4000
lri $IX1,    #0xe07c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57469 (0xe07d)

lri $AR1,    #0x4000
lri $IX1,    #0xe07d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57470 (0xe07e)

lri $AR1,    #0x4000
lri $IX1,    #0xe07e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57471 (0xe07f)

lri $AR1,    #0x4000
lri $IX1,    #0xe07f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57472 (0xe080)

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

