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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60417 (0xec01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60418 (0xec02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60419 (0xec03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60420 (0xec04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60421 (0xec05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60422 (0xec06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60423 (0xec07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60424 (0xec08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60425 (0xec09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60426 (0xec0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60427 (0xec0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60428 (0xec0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60429 (0xec0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60430 (0xec0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60431 (0xec0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60432 (0xec10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60433 (0xec11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60434 (0xec12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60435 (0xec13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60436 (0xec14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60437 (0xec15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60438 (0xec16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60439 (0xec17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60440 (0xec18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60441 (0xec19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60442 (0xec1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60443 (0xec1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60444 (0xec1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60445 (0xec1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60446 (0xec1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60447 (0xec1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60448 (0xec20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60449 (0xec21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60450 (0xec22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60451 (0xec23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60452 (0xec24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60453 (0xec25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60454 (0xec26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60455 (0xec27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60456 (0xec28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60457 (0xec29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60458 (0xec2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60459 (0xec2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60460 (0xec2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60461 (0xec2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60462 (0xec2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60463 (0xec2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60464 (0xec30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60465 (0xec31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60466 (0xec32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60467 (0xec33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60468 (0xec34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60469 (0xec35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60470 (0xec36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60471 (0xec37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60472 (0xec38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60473 (0xec39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60474 (0xec3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60475 (0xec3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60476 (0xec3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60477 (0xec3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60478 (0xec3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60479 (0xec3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60480 (0xec40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60481 (0xec41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60482 (0xec42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60483 (0xec43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60484 (0xec44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60485 (0xec45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60486 (0xec46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60487 (0xec47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60488 (0xec48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60489 (0xec49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60490 (0xec4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60491 (0xec4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60492 (0xec4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60493 (0xec4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60494 (0xec4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60495 (0xec4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60496 (0xec50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60497 (0xec51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60498 (0xec52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60499 (0xec53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60500 (0xec54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60501 (0xec55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60502 (0xec56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60503 (0xec57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60504 (0xec58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60505 (0xec59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60506 (0xec5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60507 (0xec5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60508 (0xec5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60509 (0xec5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60510 (0xec5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60511 (0xec5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60512 (0xec60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60513 (0xec61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60514 (0xec62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60515 (0xec63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60516 (0xec64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60517 (0xec65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60518 (0xec66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60519 (0xec67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60520 (0xec68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60521 (0xec69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60522 (0xec6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60523 (0xec6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60524 (0xec6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60525 (0xec6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60526 (0xec6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60527 (0xec6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60528 (0xec70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60529 (0xec71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60530 (0xec72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60531 (0xec73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60532 (0xec74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60533 (0xec75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60534 (0xec76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60535 (0xec77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60536 (0xec78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60537 (0xec79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60538 (0xec7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60539 (0xec7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60540 (0xec7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60541 (0xec7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60542 (0xec7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60543 (0xec7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ec
cw 0x5
call send_back  ; 60544 (0xec80)

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