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

lri $AR1,    #0x4000
lri $IX1,    #0x9e00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40449 (0x9e01)

lri $AR1,    #0x4000
lri $IX1,    #0x9e01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40450 (0x9e02)

lri $AR1,    #0x4000
lri $IX1,    #0x9e02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40451 (0x9e03)

lri $AR1,    #0x4000
lri $IX1,    #0x9e03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40452 (0x9e04)

lri $AR1,    #0x4000
lri $IX1,    #0x9e04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40453 (0x9e05)

lri $AR1,    #0x4000
lri $IX1,    #0x9e05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40454 (0x9e06)

lri $AR1,    #0x4000
lri $IX1,    #0x9e06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40455 (0x9e07)

lri $AR1,    #0x4000
lri $IX1,    #0x9e07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40456 (0x9e08)

lri $AR1,    #0x4000
lri $IX1,    #0x9e08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40457 (0x9e09)

lri $AR1,    #0x4000
lri $IX1,    #0x9e09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40458 (0x9e0a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40459 (0x9e0b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40460 (0x9e0c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40461 (0x9e0d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40462 (0x9e0e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40463 (0x9e0f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40464 (0x9e10)

lri $AR1,    #0x4000
lri $IX1,    #0x9e10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40465 (0x9e11)

lri $AR1,    #0x4000
lri $IX1,    #0x9e11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40466 (0x9e12)

lri $AR1,    #0x4000
lri $IX1,    #0x9e12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40467 (0x9e13)

lri $AR1,    #0x4000
lri $IX1,    #0x9e13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40468 (0x9e14)

lri $AR1,    #0x4000
lri $IX1,    #0x9e14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40469 (0x9e15)

lri $AR1,    #0x4000
lri $IX1,    #0x9e15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40470 (0x9e16)

lri $AR1,    #0x4000
lri $IX1,    #0x9e16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40471 (0x9e17)

lri $AR1,    #0x4000
lri $IX1,    #0x9e17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40472 (0x9e18)

lri $AR1,    #0x4000
lri $IX1,    #0x9e18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40473 (0x9e19)

lri $AR1,    #0x4000
lri $IX1,    #0x9e19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40474 (0x9e1a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40475 (0x9e1b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40476 (0x9e1c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40477 (0x9e1d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40478 (0x9e1e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40479 (0x9e1f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40480 (0x9e20)

lri $AR1,    #0x4000
lri $IX1,    #0x9e20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40481 (0x9e21)

lri $AR1,    #0x4000
lri $IX1,    #0x9e21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40482 (0x9e22)

lri $AR1,    #0x4000
lri $IX1,    #0x9e22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40483 (0x9e23)

lri $AR1,    #0x4000
lri $IX1,    #0x9e23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40484 (0x9e24)

lri $AR1,    #0x4000
lri $IX1,    #0x9e24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40485 (0x9e25)

lri $AR1,    #0x4000
lri $IX1,    #0x9e25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40486 (0x9e26)

lri $AR1,    #0x4000
lri $IX1,    #0x9e26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40487 (0x9e27)

lri $AR1,    #0x4000
lri $IX1,    #0x9e27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40488 (0x9e28)

lri $AR1,    #0x4000
lri $IX1,    #0x9e28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40489 (0x9e29)

lri $AR1,    #0x4000
lri $IX1,    #0x9e29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40490 (0x9e2a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40491 (0x9e2b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40492 (0x9e2c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40493 (0x9e2d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40494 (0x9e2e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40495 (0x9e2f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40496 (0x9e30)

lri $AR1,    #0x4000
lri $IX1,    #0x9e30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40497 (0x9e31)

lri $AR1,    #0x4000
lri $IX1,    #0x9e31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40498 (0x9e32)

lri $AR1,    #0x4000
lri $IX1,    #0x9e32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40499 (0x9e33)

lri $AR1,    #0x4000
lri $IX1,    #0x9e33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40500 (0x9e34)

lri $AR1,    #0x4000
lri $IX1,    #0x9e34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40501 (0x9e35)

lri $AR1,    #0x4000
lri $IX1,    #0x9e35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40502 (0x9e36)

lri $AR1,    #0x4000
lri $IX1,    #0x9e36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40503 (0x9e37)

lri $AR1,    #0x4000
lri $IX1,    #0x9e37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40504 (0x9e38)

lri $AR1,    #0x4000
lri $IX1,    #0x9e38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40505 (0x9e39)

lri $AR1,    #0x4000
lri $IX1,    #0x9e39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40506 (0x9e3a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40507 (0x9e3b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40508 (0x9e3c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40509 (0x9e3d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40510 (0x9e3e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40511 (0x9e3f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40512 (0x9e40)

lri $AR1,    #0x4000
lri $IX1,    #0x9e40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40513 (0x9e41)

lri $AR1,    #0x4000
lri $IX1,    #0x9e41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40514 (0x9e42)

lri $AR1,    #0x4000
lri $IX1,    #0x9e42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40515 (0x9e43)

lri $AR1,    #0x4000
lri $IX1,    #0x9e43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40516 (0x9e44)

lri $AR1,    #0x4000
lri $IX1,    #0x9e44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40517 (0x9e45)

lri $AR1,    #0x4000
lri $IX1,    #0x9e45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40518 (0x9e46)

lri $AR1,    #0x4000
lri $IX1,    #0x9e46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40519 (0x9e47)

lri $AR1,    #0x4000
lri $IX1,    #0x9e47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40520 (0x9e48)

lri $AR1,    #0x4000
lri $IX1,    #0x9e48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40521 (0x9e49)

lri $AR1,    #0x4000
lri $IX1,    #0x9e49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40522 (0x9e4a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40523 (0x9e4b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40524 (0x9e4c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40525 (0x9e4d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40526 (0x9e4e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40527 (0x9e4f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40528 (0x9e50)

lri $AR1,    #0x4000
lri $IX1,    #0x9e50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40529 (0x9e51)

lri $AR1,    #0x4000
lri $IX1,    #0x9e51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40530 (0x9e52)

lri $AR1,    #0x4000
lri $IX1,    #0x9e52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40531 (0x9e53)

lri $AR1,    #0x4000
lri $IX1,    #0x9e53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40532 (0x9e54)

lri $AR1,    #0x4000
lri $IX1,    #0x9e54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40533 (0x9e55)

lri $AR1,    #0x4000
lri $IX1,    #0x9e55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40534 (0x9e56)

lri $AR1,    #0x4000
lri $IX1,    #0x9e56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40535 (0x9e57)

lri $AR1,    #0x4000
lri $IX1,    #0x9e57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40536 (0x9e58)

lri $AR1,    #0x4000
lri $IX1,    #0x9e58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40537 (0x9e59)

lri $AR1,    #0x4000
lri $IX1,    #0x9e59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40538 (0x9e5a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40539 (0x9e5b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40540 (0x9e5c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40541 (0x9e5d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40542 (0x9e5e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40543 (0x9e5f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40544 (0x9e60)

lri $AR1,    #0x4000
lri $IX1,    #0x9e60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40545 (0x9e61)

lri $AR1,    #0x4000
lri $IX1,    #0x9e61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40546 (0x9e62)

lri $AR1,    #0x4000
lri $IX1,    #0x9e62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40547 (0x9e63)

lri $AR1,    #0x4000
lri $IX1,    #0x9e63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40548 (0x9e64)

lri $AR1,    #0x4000
lri $IX1,    #0x9e64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40549 (0x9e65)

lri $AR1,    #0x4000
lri $IX1,    #0x9e65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40550 (0x9e66)

lri $AR1,    #0x4000
lri $IX1,    #0x9e66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40551 (0x9e67)

lri $AR1,    #0x4000
lri $IX1,    #0x9e67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40552 (0x9e68)

lri $AR1,    #0x4000
lri $IX1,    #0x9e68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40553 (0x9e69)

lri $AR1,    #0x4000
lri $IX1,    #0x9e69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40554 (0x9e6a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40555 (0x9e6b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40556 (0x9e6c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40557 (0x9e6d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40558 (0x9e6e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40559 (0x9e6f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40560 (0x9e70)

lri $AR1,    #0x4000
lri $IX1,    #0x9e70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40561 (0x9e71)

lri $AR1,    #0x4000
lri $IX1,    #0x9e71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40562 (0x9e72)

lri $AR1,    #0x4000
lri $IX1,    #0x9e72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40563 (0x9e73)

lri $AR1,    #0x4000
lri $IX1,    #0x9e73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40564 (0x9e74)

lri $AR1,    #0x4000
lri $IX1,    #0x9e74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40565 (0x9e75)

lri $AR1,    #0x4000
lri $IX1,    #0x9e75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40566 (0x9e76)

lri $AR1,    #0x4000
lri $IX1,    #0x9e76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40567 (0x9e77)

lri $AR1,    #0x4000
lri $IX1,    #0x9e77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40568 (0x9e78)

lri $AR1,    #0x4000
lri $IX1,    #0x9e78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40569 (0x9e79)

lri $AR1,    #0x4000
lri $IX1,    #0x9e79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40570 (0x9e7a)

lri $AR1,    #0x4000
lri $IX1,    #0x9e7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40571 (0x9e7b)

lri $AR1,    #0x4000
lri $IX1,    #0x9e7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40572 (0x9e7c)

lri $AR1,    #0x4000
lri $IX1,    #0x9e7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40573 (0x9e7d)

lri $AR1,    #0x4000
lri $IX1,    #0x9e7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40574 (0x9e7e)

lri $AR1,    #0x4000
lri $IX1,    #0x9e7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40575 (0x9e7f)

lri $AR1,    #0x4000
lri $IX1,    #0x9e7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40576 (0x9e80)

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

