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

lri $AR1,    #0x4000
lri $IX1,    #0x3e80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16001 (0x3e81)

lri $AR1,    #0x4000
lri $IX1,    #0x3e81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16002 (0x3e82)

lri $AR1,    #0x4000
lri $IX1,    #0x3e82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16003 (0x3e83)

lri $AR1,    #0x4000
lri $IX1,    #0x3e83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16004 (0x3e84)

lri $AR1,    #0x4000
lri $IX1,    #0x3e84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16005 (0x3e85)

lri $AR1,    #0x4000
lri $IX1,    #0x3e85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16006 (0x3e86)

lri $AR1,    #0x4000
lri $IX1,    #0x3e86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16007 (0x3e87)

lri $AR1,    #0x4000
lri $IX1,    #0x3e87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16008 (0x3e88)

lri $AR1,    #0x4000
lri $IX1,    #0x3e88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16009 (0x3e89)

lri $AR1,    #0x4000
lri $IX1,    #0x3e89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16010 (0x3e8a)

lri $AR1,    #0x4000
lri $IX1,    #0x3e8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16011 (0x3e8b)

lri $AR1,    #0x4000
lri $IX1,    #0x3e8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16012 (0x3e8c)

lri $AR1,    #0x4000
lri $IX1,    #0x3e8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16013 (0x3e8d)

lri $AR1,    #0x4000
lri $IX1,    #0x3e8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16014 (0x3e8e)

lri $AR1,    #0x4000
lri $IX1,    #0x3e8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16015 (0x3e8f)

lri $AR1,    #0x4000
lri $IX1,    #0x3e8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16016 (0x3e90)

lri $AR1,    #0x4000
lri $IX1,    #0x3e90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16017 (0x3e91)

lri $AR1,    #0x4000
lri $IX1,    #0x3e91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16018 (0x3e92)

lri $AR1,    #0x4000
lri $IX1,    #0x3e92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16019 (0x3e93)

lri $AR1,    #0x4000
lri $IX1,    #0x3e93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16020 (0x3e94)

lri $AR1,    #0x4000
lri $IX1,    #0x3e94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16021 (0x3e95)

lri $AR1,    #0x4000
lri $IX1,    #0x3e95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16022 (0x3e96)

lri $AR1,    #0x4000
lri $IX1,    #0x3e96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16023 (0x3e97)

lri $AR1,    #0x4000
lri $IX1,    #0x3e97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16024 (0x3e98)

lri $AR1,    #0x4000
lri $IX1,    #0x3e98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16025 (0x3e99)

lri $AR1,    #0x4000
lri $IX1,    #0x3e99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16026 (0x3e9a)

lri $AR1,    #0x4000
lri $IX1,    #0x3e9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16027 (0x3e9b)

lri $AR1,    #0x4000
lri $IX1,    #0x3e9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16028 (0x3e9c)

lri $AR1,    #0x4000
lri $IX1,    #0x3e9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16029 (0x3e9d)

lri $AR1,    #0x4000
lri $IX1,    #0x3e9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16030 (0x3e9e)

lri $AR1,    #0x4000
lri $IX1,    #0x3e9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16031 (0x3e9f)

lri $AR1,    #0x4000
lri $IX1,    #0x3e9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16032 (0x3ea0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16033 (0x3ea1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16034 (0x3ea2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16035 (0x3ea3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16036 (0x3ea4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16037 (0x3ea5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16038 (0x3ea6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16039 (0x3ea7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16040 (0x3ea8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16041 (0x3ea9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ea9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16042 (0x3eaa)

lri $AR1,    #0x4000
lri $IX1,    #0x3eaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16043 (0x3eab)

lri $AR1,    #0x4000
lri $IX1,    #0x3eab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16044 (0x3eac)

lri $AR1,    #0x4000
lri $IX1,    #0x3eac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16045 (0x3ead)

lri $AR1,    #0x4000
lri $IX1,    #0x3ead
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16046 (0x3eae)

lri $AR1,    #0x4000
lri $IX1,    #0x3eae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16047 (0x3eaf)

lri $AR1,    #0x4000
lri $IX1,    #0x3eaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16048 (0x3eb0)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16049 (0x3eb1)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16050 (0x3eb2)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16051 (0x3eb3)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16052 (0x3eb4)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16053 (0x3eb5)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16054 (0x3eb6)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16055 (0x3eb7)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16056 (0x3eb8)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16057 (0x3eb9)

lri $AR1,    #0x4000
lri $IX1,    #0x3eb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16058 (0x3eba)

lri $AR1,    #0x4000
lri $IX1,    #0x3eba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16059 (0x3ebb)

lri $AR1,    #0x4000
lri $IX1,    #0x3ebb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16060 (0x3ebc)

lri $AR1,    #0x4000
lri $IX1,    #0x3ebc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16061 (0x3ebd)

lri $AR1,    #0x4000
lri $IX1,    #0x3ebd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16062 (0x3ebe)

lri $AR1,    #0x4000
lri $IX1,    #0x3ebe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16063 (0x3ebf)

lri $AR1,    #0x4000
lri $IX1,    #0x3ebf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16064 (0x3ec0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16065 (0x3ec1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16066 (0x3ec2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16067 (0x3ec3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16068 (0x3ec4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16069 (0x3ec5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16070 (0x3ec6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16071 (0x3ec7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16072 (0x3ec8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16073 (0x3ec9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ec9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16074 (0x3eca)

lri $AR1,    #0x4000
lri $IX1,    #0x3eca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16075 (0x3ecb)

lri $AR1,    #0x4000
lri $IX1,    #0x3ecb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16076 (0x3ecc)

lri $AR1,    #0x4000
lri $IX1,    #0x3ecc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16077 (0x3ecd)

lri $AR1,    #0x4000
lri $IX1,    #0x3ecd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16078 (0x3ece)

lri $AR1,    #0x4000
lri $IX1,    #0x3ece
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16079 (0x3ecf)

lri $AR1,    #0x4000
lri $IX1,    #0x3ecf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16080 (0x3ed0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16081 (0x3ed1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16082 (0x3ed2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16083 (0x3ed3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16084 (0x3ed4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16085 (0x3ed5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16086 (0x3ed6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16087 (0x3ed7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16088 (0x3ed8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16089 (0x3ed9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ed9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16090 (0x3eda)

lri $AR1,    #0x4000
lri $IX1,    #0x3eda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16091 (0x3edb)

lri $AR1,    #0x4000
lri $IX1,    #0x3edb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16092 (0x3edc)

lri $AR1,    #0x4000
lri $IX1,    #0x3edc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16093 (0x3edd)

lri $AR1,    #0x4000
lri $IX1,    #0x3edd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16094 (0x3ede)

lri $AR1,    #0x4000
lri $IX1,    #0x3ede
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16095 (0x3edf)

lri $AR1,    #0x4000
lri $IX1,    #0x3edf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16096 (0x3ee0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16097 (0x3ee1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16098 (0x3ee2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16099 (0x3ee3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16100 (0x3ee4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16101 (0x3ee5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16102 (0x3ee6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16103 (0x3ee7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16104 (0x3ee8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16105 (0x3ee9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ee9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16106 (0x3eea)

lri $AR1,    #0x4000
lri $IX1,    #0x3eea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16107 (0x3eeb)

lri $AR1,    #0x4000
lri $IX1,    #0x3eeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16108 (0x3eec)

lri $AR1,    #0x4000
lri $IX1,    #0x3eec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16109 (0x3eed)

lri $AR1,    #0x4000
lri $IX1,    #0x3eed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16110 (0x3eee)

lri $AR1,    #0x4000
lri $IX1,    #0x3eee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16111 (0x3eef)

lri $AR1,    #0x4000
lri $IX1,    #0x3eef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16112 (0x3ef0)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16113 (0x3ef1)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16114 (0x3ef2)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16115 (0x3ef3)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16116 (0x3ef4)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16117 (0x3ef5)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16118 (0x3ef6)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16119 (0x3ef7)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16120 (0x3ef8)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16121 (0x3ef9)

lri $AR1,    #0x4000
lri $IX1,    #0x3ef9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16122 (0x3efa)

lri $AR1,    #0x4000
lri $IX1,    #0x3efa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16123 (0x3efb)

lri $AR1,    #0x4000
lri $IX1,    #0x3efb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16124 (0x3efc)

lri $AR1,    #0x4000
lri $IX1,    #0x3efc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16125 (0x3efd)

lri $AR1,    #0x4000
lri $IX1,    #0x3efd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16126 (0x3efe)

lri $AR1,    #0x4000
lri $IX1,    #0x3efe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16127 (0x3eff)

lri $AR1,    #0x4000
lri $IX1,    #0x3eff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 16128 (0x3f00)

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

