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

lri $AR1,    #0x0040
lri $IX1,    #0x8aab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35500 (0x8aac)

lri $AR1,    #0x0040
lri $IX1,    #0x8aac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35501 (0x8aad)

lri $AR1,    #0x0040
lri $IX1,    #0x8aad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35502 (0x8aae)

lri $AR1,    #0x0040
lri $IX1,    #0x8aae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35503 (0x8aaf)

lri $AR1,    #0x0040
lri $IX1,    #0x8aaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35504 (0x8ab0)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35505 (0x8ab1)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35506 (0x8ab2)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35507 (0x8ab3)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35508 (0x8ab4)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35509 (0x8ab5)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35510 (0x8ab6)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35511 (0x8ab7)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35512 (0x8ab8)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35513 (0x8ab9)

lri $AR1,    #0x0040
lri $IX1,    #0x8ab9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35514 (0x8aba)

lri $AR1,    #0x0040
lri $IX1,    #0x8aba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35515 (0x8abb)

lri $AR1,    #0x0040
lri $IX1,    #0x8abb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35516 (0x8abc)

lri $AR1,    #0x0040
lri $IX1,    #0x8abc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35517 (0x8abd)

lri $AR1,    #0x0040
lri $IX1,    #0x8abd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35518 (0x8abe)

lri $AR1,    #0x0040
lri $IX1,    #0x8abe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35519 (0x8abf)

lri $AR1,    #0x0040
lri $IX1,    #0x8abf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35520 (0x8ac0)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35521 (0x8ac1)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35522 (0x8ac2)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35523 (0x8ac3)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35524 (0x8ac4)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35525 (0x8ac5)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35526 (0x8ac6)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35527 (0x8ac7)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35528 (0x8ac8)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35529 (0x8ac9)

lri $AR1,    #0x0040
lri $IX1,    #0x8ac9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35530 (0x8aca)

lri $AR1,    #0x0040
lri $IX1,    #0x8aca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35531 (0x8acb)

lri $AR1,    #0x0040
lri $IX1,    #0x8acb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35532 (0x8acc)

lri $AR1,    #0x0040
lri $IX1,    #0x8acc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35533 (0x8acd)

lri $AR1,    #0x0040
lri $IX1,    #0x8acd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35534 (0x8ace)

lri $AR1,    #0x0040
lri $IX1,    #0x8ace
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35535 (0x8acf)

lri $AR1,    #0x0040
lri $IX1,    #0x8acf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35536 (0x8ad0)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35537 (0x8ad1)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35538 (0x8ad2)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35539 (0x8ad3)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35540 (0x8ad4)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35541 (0x8ad5)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35542 (0x8ad6)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35543 (0x8ad7)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35544 (0x8ad8)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35545 (0x8ad9)

lri $AR1,    #0x0040
lri $IX1,    #0x8ad9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35546 (0x8ada)

lri $AR1,    #0x0040
lri $IX1,    #0x8ada
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35547 (0x8adb)

lri $AR1,    #0x0040
lri $IX1,    #0x8adb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35548 (0x8adc)

lri $AR1,    #0x0040
lri $IX1,    #0x8adc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35549 (0x8add)

lri $AR1,    #0x0040
lri $IX1,    #0x8add
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35550 (0x8ade)

lri $AR1,    #0x0040
lri $IX1,    #0x8ade
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35551 (0x8adf)

lri $AR1,    #0x0040
lri $IX1,    #0x8adf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35552 (0x8ae0)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35553 (0x8ae1)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35554 (0x8ae2)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35555 (0x8ae3)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35556 (0x8ae4)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35557 (0x8ae5)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35558 (0x8ae6)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35559 (0x8ae7)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35560 (0x8ae8)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35561 (0x8ae9)

lri $AR1,    #0x0040
lri $IX1,    #0x8ae9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35562 (0x8aea)

lri $AR1,    #0x0040
lri $IX1,    #0x8aea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35563 (0x8aeb)

lri $AR1,    #0x0040
lri $IX1,    #0x8aeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35564 (0x8aec)

lri $AR1,    #0x0040
lri $IX1,    #0x8aec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35565 (0x8aed)

lri $AR1,    #0x0040
lri $IX1,    #0x8aed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35566 (0x8aee)

lri $AR1,    #0x0040
lri $IX1,    #0x8aee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35567 (0x8aef)

lri $AR1,    #0x0040
lri $IX1,    #0x8aef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35568 (0x8af0)

lri $AR1,    #0x0040
lri $IX1,    #0x8af0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35569 (0x8af1)

lri $AR1,    #0x0040
lri $IX1,    #0x8af1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35570 (0x8af2)

lri $AR1,    #0x0040
lri $IX1,    #0x8af2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35571 (0x8af3)

lri $AR1,    #0x0040
lri $IX1,    #0x8af3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35572 (0x8af4)

lri $AR1,    #0x0040
lri $IX1,    #0x8af4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35573 (0x8af5)

lri $AR1,    #0x0040
lri $IX1,    #0x8af5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35574 (0x8af6)

lri $AR1,    #0x0040
lri $IX1,    #0x8af6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35575 (0x8af7)

lri $AR1,    #0x0040
lri $IX1,    #0x8af7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35576 (0x8af8)

lri $AR1,    #0x0040
lri $IX1,    #0x8af8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35577 (0x8af9)

lri $AR1,    #0x0040
lri $IX1,    #0x8af9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35578 (0x8afa)

lri $AR1,    #0x0040
lri $IX1,    #0x8afa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35579 (0x8afb)

lri $AR1,    #0x0040
lri $IX1,    #0x8afb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35580 (0x8afc)

lri $AR1,    #0x0040
lri $IX1,    #0x8afc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35581 (0x8afd)

lri $AR1,    #0x0040
lri $IX1,    #0x8afd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35582 (0x8afe)

lri $AR1,    #0x0040
lri $IX1,    #0x8afe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35583 (0x8aff)

lri $AR1,    #0x0040
lri $IX1,    #0x8aff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35584 (0x8b00)

lri $AR1,    #0x0040
lri $IX1,    #0x8b00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35585 (0x8b01)

lri $AR1,    #0x0040
lri $IX1,    #0x8b01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35586 (0x8b02)

lri $AR1,    #0x0040
lri $IX1,    #0x8b02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35587 (0x8b03)

lri $AR1,    #0x0040
lri $IX1,    #0x8b03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35588 (0x8b04)

lri $AR1,    #0x0040
lri $IX1,    #0x8b04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35589 (0x8b05)

lri $AR1,    #0x0040
lri $IX1,    #0x8b05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35590 (0x8b06)

lri $AR1,    #0x0040
lri $IX1,    #0x8b06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35591 (0x8b07)

lri $AR1,    #0x0040
lri $IX1,    #0x8b07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35592 (0x8b08)

lri $AR1,    #0x0040
lri $IX1,    #0x8b08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35593 (0x8b09)

lri $AR1,    #0x0040
lri $IX1,    #0x8b09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35594 (0x8b0a)

lri $AR1,    #0x0040
lri $IX1,    #0x8b0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35595 (0x8b0b)

lri $AR1,    #0x0040
lri $IX1,    #0x8b0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35596 (0x8b0c)

lri $AR1,    #0x0040
lri $IX1,    #0x8b0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35597 (0x8b0d)

lri $AR1,    #0x0040
lri $IX1,    #0x8b0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35598 (0x8b0e)

lri $AR1,    #0x0040
lri $IX1,    #0x8b0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35599 (0x8b0f)

lri $AR1,    #0x0040
lri $IX1,    #0x8b0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35600 (0x8b10)

lri $AR1,    #0x0040
lri $IX1,    #0x8b10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35601 (0x8b11)

lri $AR1,    #0x0040
lri $IX1,    #0x8b11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35602 (0x8b12)

lri $AR1,    #0x0040
lri $IX1,    #0x8b12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35603 (0x8b13)

lri $AR1,    #0x0040
lri $IX1,    #0x8b13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35604 (0x8b14)

lri $AR1,    #0x0040
lri $IX1,    #0x8b14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35605 (0x8b15)

lri $AR1,    #0x0040
lri $IX1,    #0x8b15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35606 (0x8b16)

lri $AR1,    #0x0040
lri $IX1,    #0x8b16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35607 (0x8b17)

lri $AR1,    #0x0040
lri $IX1,    #0x8b17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 35608 (0x8b18)

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