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

lri $AR1,    #0x4000
lri $IX1,    #0x3a80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14977 (0x3a81)

lri $AR1,    #0x4000
lri $IX1,    #0x3a81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14978 (0x3a82)

lri $AR1,    #0x4000
lri $IX1,    #0x3a82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14979 (0x3a83)

lri $AR1,    #0x4000
lri $IX1,    #0x3a83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14980 (0x3a84)

lri $AR1,    #0x4000
lri $IX1,    #0x3a84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14981 (0x3a85)

lri $AR1,    #0x4000
lri $IX1,    #0x3a85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14982 (0x3a86)

lri $AR1,    #0x4000
lri $IX1,    #0x3a86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14983 (0x3a87)

lri $AR1,    #0x4000
lri $IX1,    #0x3a87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14984 (0x3a88)

lri $AR1,    #0x4000
lri $IX1,    #0x3a88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14985 (0x3a89)

lri $AR1,    #0x4000
lri $IX1,    #0x3a89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14986 (0x3a8a)

lri $AR1,    #0x4000
lri $IX1,    #0x3a8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14987 (0x3a8b)

lri $AR1,    #0x4000
lri $IX1,    #0x3a8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14988 (0x3a8c)

lri $AR1,    #0x4000
lri $IX1,    #0x3a8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14989 (0x3a8d)

lri $AR1,    #0x4000
lri $IX1,    #0x3a8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14990 (0x3a8e)

lri $AR1,    #0x4000
lri $IX1,    #0x3a8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14991 (0x3a8f)

lri $AR1,    #0x4000
lri $IX1,    #0x3a8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14992 (0x3a90)

lri $AR1,    #0x4000
lri $IX1,    #0x3a90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14993 (0x3a91)

lri $AR1,    #0x4000
lri $IX1,    #0x3a91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14994 (0x3a92)

lri $AR1,    #0x4000
lri $IX1,    #0x3a92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14995 (0x3a93)

lri $AR1,    #0x4000
lri $IX1,    #0x3a93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14996 (0x3a94)

lri $AR1,    #0x4000
lri $IX1,    #0x3a94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14997 (0x3a95)

lri $AR1,    #0x4000
lri $IX1,    #0x3a95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14998 (0x3a96)

lri $AR1,    #0x4000
lri $IX1,    #0x3a96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 14999 (0x3a97)

lri $AR1,    #0x4000
lri $IX1,    #0x3a97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15000 (0x3a98)

lri $AR1,    #0x4000
lri $IX1,    #0x3a98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15001 (0x3a99)

lri $AR1,    #0x4000
lri $IX1,    #0x3a99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15002 (0x3a9a)

lri $AR1,    #0x4000
lri $IX1,    #0x3a9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15003 (0x3a9b)

lri $AR1,    #0x4000
lri $IX1,    #0x3a9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15004 (0x3a9c)

lri $AR1,    #0x4000
lri $IX1,    #0x3a9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15005 (0x3a9d)

lri $AR1,    #0x4000
lri $IX1,    #0x3a9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15006 (0x3a9e)

lri $AR1,    #0x4000
lri $IX1,    #0x3a9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15007 (0x3a9f)

lri $AR1,    #0x4000
lri $IX1,    #0x3a9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15008 (0x3aa0)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15009 (0x3aa1)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15010 (0x3aa2)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15011 (0x3aa3)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15012 (0x3aa4)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15013 (0x3aa5)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15014 (0x3aa6)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15015 (0x3aa7)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15016 (0x3aa8)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15017 (0x3aa9)

lri $AR1,    #0x4000
lri $IX1,    #0x3aa9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15018 (0x3aaa)

lri $AR1,    #0x4000
lri $IX1,    #0x3aaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15019 (0x3aab)

lri $AR1,    #0x4000
lri $IX1,    #0x3aab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15020 (0x3aac)

lri $AR1,    #0x4000
lri $IX1,    #0x3aac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15021 (0x3aad)

lri $AR1,    #0x4000
lri $IX1,    #0x3aad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15022 (0x3aae)

lri $AR1,    #0x4000
lri $IX1,    #0x3aae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15023 (0x3aaf)

lri $AR1,    #0x4000
lri $IX1,    #0x3aaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15024 (0x3ab0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15025 (0x3ab1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15026 (0x3ab2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15027 (0x3ab3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15028 (0x3ab4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15029 (0x3ab5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15030 (0x3ab6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15031 (0x3ab7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15032 (0x3ab8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15033 (0x3ab9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ab9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15034 (0x3aba)

lri $AR1,    #0x4000
lri $IX1,    #0x3aba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15035 (0x3abb)

lri $AR1,    #0x4000
lri $IX1,    #0x3abb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15036 (0x3abc)

lri $AR1,    #0x4000
lri $IX1,    #0x3abc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15037 (0x3abd)

lri $AR1,    #0x4000
lri $IX1,    #0x3abd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15038 (0x3abe)

lri $AR1,    #0x4000
lri $IX1,    #0x3abe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15039 (0x3abf)

lri $AR1,    #0x4000
lri $IX1,    #0x3abf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15040 (0x3ac0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15041 (0x3ac1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15042 (0x3ac2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15043 (0x3ac3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15044 (0x3ac4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15045 (0x3ac5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15046 (0x3ac6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15047 (0x3ac7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15048 (0x3ac8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15049 (0x3ac9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ac9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15050 (0x3aca)

lri $AR1,    #0x4000
lri $IX1,    #0x3aca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15051 (0x3acb)

lri $AR1,    #0x4000
lri $IX1,    #0x3acb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15052 (0x3acc)

lri $AR1,    #0x4000
lri $IX1,    #0x3acc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15053 (0x3acd)

lri $AR1,    #0x4000
lri $IX1,    #0x3acd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15054 (0x3ace)

lri $AR1,    #0x4000
lri $IX1,    #0x3ace
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15055 (0x3acf)

lri $AR1,    #0x4000
lri $IX1,    #0x3acf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15056 (0x3ad0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15057 (0x3ad1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15058 (0x3ad2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15059 (0x3ad3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15060 (0x3ad4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15061 (0x3ad5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15062 (0x3ad6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15063 (0x3ad7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15064 (0x3ad8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15065 (0x3ad9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ad9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15066 (0x3ada)

lri $AR1,    #0x4000
lri $IX1,    #0x3ada
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15067 (0x3adb)

lri $AR1,    #0x4000
lri $IX1,    #0x3adb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15068 (0x3adc)

lri $AR1,    #0x4000
lri $IX1,    #0x3adc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15069 (0x3add)

lri $AR1,    #0x4000
lri $IX1,    #0x3add
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15070 (0x3ade)

lri $AR1,    #0x4000
lri $IX1,    #0x3ade
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15071 (0x3adf)

lri $AR1,    #0x4000
lri $IX1,    #0x3adf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15072 (0x3ae0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15073 (0x3ae1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15074 (0x3ae2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15075 (0x3ae3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15076 (0x3ae4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15077 (0x3ae5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15078 (0x3ae6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15079 (0x3ae7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15080 (0x3ae8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15081 (0x3ae9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ae9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15082 (0x3aea)

lri $AR1,    #0x4000
lri $IX1,    #0x3aea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15083 (0x3aeb)

lri $AR1,    #0x4000
lri $IX1,    #0x3aeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15084 (0x3aec)

lri $AR1,    #0x4000
lri $IX1,    #0x3aec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15085 (0x3aed)

lri $AR1,    #0x4000
lri $IX1,    #0x3aed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15086 (0x3aee)

lri $AR1,    #0x4000
lri $IX1,    #0x3aee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15087 (0x3aef)

lri $AR1,    #0x4000
lri $IX1,    #0x3aef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15088 (0x3af0)

lri $AR1,    #0x4000
lri $IX1,    #0x3af0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15089 (0x3af1)

lri $AR1,    #0x4000
lri $IX1,    #0x3af1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15090 (0x3af2)

lri $AR1,    #0x4000
lri $IX1,    #0x3af2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15091 (0x3af3)

lri $AR1,    #0x4000
lri $IX1,    #0x3af3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15092 (0x3af4)

lri $AR1,    #0x4000
lri $IX1,    #0x3af4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15093 (0x3af5)

lri $AR1,    #0x4000
lri $IX1,    #0x3af5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15094 (0x3af6)

lri $AR1,    #0x4000
lri $IX1,    #0x3af6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15095 (0x3af7)

lri $AR1,    #0x4000
lri $IX1,    #0x3af7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15096 (0x3af8)

lri $AR1,    #0x4000
lri $IX1,    #0x3af8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15097 (0x3af9)

lri $AR1,    #0x4000
lri $IX1,    #0x3af9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15098 (0x3afa)

lri $AR1,    #0x4000
lri $IX1,    #0x3afa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15099 (0x3afb)

lri $AR1,    #0x4000
lri $IX1,    #0x3afb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15100 (0x3afc)

lri $AR1,    #0x4000
lri $IX1,    #0x3afc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15101 (0x3afd)

lri $AR1,    #0x4000
lri $IX1,    #0x3afd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15102 (0x3afe)

lri $AR1,    #0x4000
lri $IX1,    #0x3afe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15103 (0x3aff)

lri $AR1,    #0x4000
lri $IX1,    #0x3aff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 15104 (0x3b00)

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

