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

lri $AR1,    #0x4080
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16513 (0x4081)

lri $AR1,    #0x4081
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16514 (0x4082)

lri $AR1,    #0x4082
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16515 (0x4083)

lri $AR1,    #0x4083
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16516 (0x4084)

lri $AR1,    #0x4084
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16517 (0x4085)

lri $AR1,    #0x4085
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16518 (0x4086)

lri $AR1,    #0x4086
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16519 (0x4087)

lri $AR1,    #0x4087
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16520 (0x4088)

lri $AR1,    #0x4088
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16521 (0x4089)

lri $AR1,    #0x4089
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16522 (0x408a)

lri $AR1,    #0x408a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16523 (0x408b)

lri $AR1,    #0x408b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16524 (0x408c)

lri $AR1,    #0x408c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16525 (0x408d)

lri $AR1,    #0x408d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16526 (0x408e)

lri $AR1,    #0x408e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16527 (0x408f)

lri $AR1,    #0x408f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16528 (0x4090)

lri $AR1,    #0x4090
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16529 (0x4091)

lri $AR1,    #0x4091
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16530 (0x4092)

lri $AR1,    #0x4092
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16531 (0x4093)

lri $AR1,    #0x4093
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16532 (0x4094)

lri $AR1,    #0x4094
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16533 (0x4095)

lri $AR1,    #0x4095
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16534 (0x4096)

lri $AR1,    #0x4096
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16535 (0x4097)

lri $AR1,    #0x4097
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16536 (0x4098)

lri $AR1,    #0x4098
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16537 (0x4099)

lri $AR1,    #0x4099
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16538 (0x409a)

lri $AR1,    #0x409a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16539 (0x409b)

lri $AR1,    #0x409b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16540 (0x409c)

lri $AR1,    #0x409c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16541 (0x409d)

lri $AR1,    #0x409d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16542 (0x409e)

lri $AR1,    #0x409e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16543 (0x409f)

lri $AR1,    #0x409f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16544 (0x40a0)

lri $AR1,    #0x40a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16545 (0x40a1)

lri $AR1,    #0x40a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16546 (0x40a2)

lri $AR1,    #0x40a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16547 (0x40a3)

lri $AR1,    #0x40a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16548 (0x40a4)

lri $AR1,    #0x40a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16549 (0x40a5)

lri $AR1,    #0x40a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16550 (0x40a6)

lri $AR1,    #0x40a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16551 (0x40a7)

lri $AR1,    #0x40a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16552 (0x40a8)

lri $AR1,    #0x40a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16553 (0x40a9)

lri $AR1,    #0x40a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16554 (0x40aa)

lri $AR1,    #0x40aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16555 (0x40ab)

lri $AR1,    #0x40ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16556 (0x40ac)

lri $AR1,    #0x40ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16557 (0x40ad)

lri $AR1,    #0x40ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16558 (0x40ae)

lri $AR1,    #0x40ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16559 (0x40af)

lri $AR1,    #0x40af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16560 (0x40b0)

lri $AR1,    #0x40b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16561 (0x40b1)

lri $AR1,    #0x40b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16562 (0x40b2)

lri $AR1,    #0x40b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16563 (0x40b3)

lri $AR1,    #0x40b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16564 (0x40b4)

lri $AR1,    #0x40b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16565 (0x40b5)

lri $AR1,    #0x40b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16566 (0x40b6)

lri $AR1,    #0x40b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16567 (0x40b7)

lri $AR1,    #0x40b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16568 (0x40b8)

lri $AR1,    #0x40b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16569 (0x40b9)

lri $AR1,    #0x40b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16570 (0x40ba)

lri $AR1,    #0x40ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16571 (0x40bb)

lri $AR1,    #0x40bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16572 (0x40bc)

lri $AR1,    #0x40bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16573 (0x40bd)

lri $AR1,    #0x40bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16574 (0x40be)

lri $AR1,    #0x40be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16575 (0x40bf)

lri $AR1,    #0x40bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16576 (0x40c0)

lri $AR1,    #0x40c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16577 (0x40c1)

lri $AR1,    #0x40c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16578 (0x40c2)

lri $AR1,    #0x40c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16579 (0x40c3)

lri $AR1,    #0x40c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16580 (0x40c4)

lri $AR1,    #0x40c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16581 (0x40c5)

lri $AR1,    #0x40c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16582 (0x40c6)

lri $AR1,    #0x40c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16583 (0x40c7)

lri $AR1,    #0x40c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16584 (0x40c8)

lri $AR1,    #0x40c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16585 (0x40c9)

lri $AR1,    #0x40c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16586 (0x40ca)

lri $AR1,    #0x40ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16587 (0x40cb)

lri $AR1,    #0x40cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16588 (0x40cc)

lri $AR1,    #0x40cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16589 (0x40cd)

lri $AR1,    #0x40cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16590 (0x40ce)

lri $AR1,    #0x40ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16591 (0x40cf)

lri $AR1,    #0x40cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16592 (0x40d0)

lri $AR1,    #0x40d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16593 (0x40d1)

lri $AR1,    #0x40d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16594 (0x40d2)

lri $AR1,    #0x40d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16595 (0x40d3)

lri $AR1,    #0x40d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16596 (0x40d4)

lri $AR1,    #0x40d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16597 (0x40d5)

lri $AR1,    #0x40d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16598 (0x40d6)

lri $AR1,    #0x40d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16599 (0x40d7)

lri $AR1,    #0x40d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16600 (0x40d8)

lri $AR1,    #0x40d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16601 (0x40d9)

lri $AR1,    #0x40d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16602 (0x40da)

lri $AR1,    #0x40da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16603 (0x40db)

lri $AR1,    #0x40db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16604 (0x40dc)

lri $AR1,    #0x40dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16605 (0x40dd)

lri $AR1,    #0x40dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16606 (0x40de)

lri $AR1,    #0x40de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16607 (0x40df)

lri $AR1,    #0x40df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16608 (0x40e0)

lri $AR1,    #0x40e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16609 (0x40e1)

lri $AR1,    #0x40e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16610 (0x40e2)

lri $AR1,    #0x40e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16611 (0x40e3)

lri $AR1,    #0x40e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16612 (0x40e4)

lri $AR1,    #0x40e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16613 (0x40e5)

lri $AR1,    #0x40e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16614 (0x40e6)

lri $AR1,    #0x40e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16615 (0x40e7)

lri $AR1,    #0x40e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16616 (0x40e8)

lri $AR1,    #0x40e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16617 (0x40e9)

lri $AR1,    #0x40e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16618 (0x40ea)

lri $AR1,    #0x40ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16619 (0x40eb)

lri $AR1,    #0x40eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16620 (0x40ec)

lri $AR1,    #0x40ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16621 (0x40ed)

lri $AR1,    #0x40ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16622 (0x40ee)

lri $AR1,    #0x40ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16623 (0x40ef)

lri $AR1,    #0x40ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16624 (0x40f0)

lri $AR1,    #0x40f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16625 (0x40f1)

lri $AR1,    #0x40f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16626 (0x40f2)

lri $AR1,    #0x40f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16627 (0x40f3)

lri $AR1,    #0x40f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16628 (0x40f4)

lri $AR1,    #0x40f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16629 (0x40f5)

lri $AR1,    #0x40f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16630 (0x40f6)

lri $AR1,    #0x40f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16631 (0x40f7)

lri $AR1,    #0x40f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16632 (0x40f8)

lri $AR1,    #0x40f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16633 (0x40f9)

lri $AR1,    #0x40f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16634 (0x40fa)

lri $AR1,    #0x40fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16635 (0x40fb)

lri $AR1,    #0x40fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16636 (0x40fc)

lri $AR1,    #0x40fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16637 (0x40fd)

lri $AR1,    #0x40fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16638 (0x40fe)

lri $AR1,    #0x40fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16639 (0x40ff)

lri $AR1,    #0x40ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 16640 (0x4100)

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

