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

lri $AR1,    #0x0040
lri $IX1,    #0x4e82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20099 (0x4e83)

lri $AR1,    #0x0040
lri $IX1,    #0x4e83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20100 (0x4e84)

lri $AR1,    #0x0040
lri $IX1,    #0x4e84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20101 (0x4e85)

lri $AR1,    #0x0040
lri $IX1,    #0x4e85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20102 (0x4e86)

lri $AR1,    #0x0040
lri $IX1,    #0x4e86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20103 (0x4e87)

lri $AR1,    #0x0040
lri $IX1,    #0x4e87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20104 (0x4e88)

lri $AR1,    #0x0040
lri $IX1,    #0x4e88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20105 (0x4e89)

lri $AR1,    #0x0040
lri $IX1,    #0x4e89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20106 (0x4e8a)

lri $AR1,    #0x0040
lri $IX1,    #0x4e8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20107 (0x4e8b)

lri $AR1,    #0x0040
lri $IX1,    #0x4e8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20108 (0x4e8c)

lri $AR1,    #0x0040
lri $IX1,    #0x4e8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20109 (0x4e8d)

lri $AR1,    #0x0040
lri $IX1,    #0x4e8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20110 (0x4e8e)

lri $AR1,    #0x0040
lri $IX1,    #0x4e8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20111 (0x4e8f)

lri $AR1,    #0x0040
lri $IX1,    #0x4e8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20112 (0x4e90)

lri $AR1,    #0x0040
lri $IX1,    #0x4e90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20113 (0x4e91)

lri $AR1,    #0x0040
lri $IX1,    #0x4e91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20114 (0x4e92)

lri $AR1,    #0x0040
lri $IX1,    #0x4e92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20115 (0x4e93)

lri $AR1,    #0x0040
lri $IX1,    #0x4e93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20116 (0x4e94)

lri $AR1,    #0x0040
lri $IX1,    #0x4e94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20117 (0x4e95)

lri $AR1,    #0x0040
lri $IX1,    #0x4e95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20118 (0x4e96)

lri $AR1,    #0x0040
lri $IX1,    #0x4e96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20119 (0x4e97)

lri $AR1,    #0x0040
lri $IX1,    #0x4e97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20120 (0x4e98)

lri $AR1,    #0x0040
lri $IX1,    #0x4e98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20121 (0x4e99)

lri $AR1,    #0x0040
lri $IX1,    #0x4e99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20122 (0x4e9a)

lri $AR1,    #0x0040
lri $IX1,    #0x4e9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20123 (0x4e9b)

lri $AR1,    #0x0040
lri $IX1,    #0x4e9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20124 (0x4e9c)

lri $AR1,    #0x0040
lri $IX1,    #0x4e9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20125 (0x4e9d)

lri $AR1,    #0x0040
lri $IX1,    #0x4e9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20126 (0x4e9e)

lri $AR1,    #0x0040
lri $IX1,    #0x4e9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20127 (0x4e9f)

lri $AR1,    #0x0040
lri $IX1,    #0x4e9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20128 (0x4ea0)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20129 (0x4ea1)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20130 (0x4ea2)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20131 (0x4ea3)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20132 (0x4ea4)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20133 (0x4ea5)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20134 (0x4ea6)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20135 (0x4ea7)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20136 (0x4ea8)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20137 (0x4ea9)

lri $AR1,    #0x0040
lri $IX1,    #0x4ea9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20138 (0x4eaa)

lri $AR1,    #0x0040
lri $IX1,    #0x4eaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20139 (0x4eab)

lri $AR1,    #0x0040
lri $IX1,    #0x4eab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20140 (0x4eac)

lri $AR1,    #0x0040
lri $IX1,    #0x4eac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20141 (0x4ead)

lri $AR1,    #0x0040
lri $IX1,    #0x4ead
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20142 (0x4eae)

lri $AR1,    #0x0040
lri $IX1,    #0x4eae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20143 (0x4eaf)

lri $AR1,    #0x0040
lri $IX1,    #0x4eaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20144 (0x4eb0)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20145 (0x4eb1)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20146 (0x4eb2)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20147 (0x4eb3)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20148 (0x4eb4)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20149 (0x4eb5)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20150 (0x4eb6)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20151 (0x4eb7)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20152 (0x4eb8)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20153 (0x4eb9)

lri $AR1,    #0x0040
lri $IX1,    #0x4eb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20154 (0x4eba)

lri $AR1,    #0x0040
lri $IX1,    #0x4eba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20155 (0x4ebb)

lri $AR1,    #0x0040
lri $IX1,    #0x4ebb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20156 (0x4ebc)

lri $AR1,    #0x0040
lri $IX1,    #0x4ebc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20157 (0x4ebd)

lri $AR1,    #0x0040
lri $IX1,    #0x4ebd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20158 (0x4ebe)

lri $AR1,    #0x0040
lri $IX1,    #0x4ebe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20159 (0x4ebf)

lri $AR1,    #0x0040
lri $IX1,    #0x4ebf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20160 (0x4ec0)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20161 (0x4ec1)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20162 (0x4ec2)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20163 (0x4ec3)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20164 (0x4ec4)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20165 (0x4ec5)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20166 (0x4ec6)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20167 (0x4ec7)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20168 (0x4ec8)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20169 (0x4ec9)

lri $AR1,    #0x0040
lri $IX1,    #0x4ec9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20170 (0x4eca)

lri $AR1,    #0x0040
lri $IX1,    #0x4eca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20171 (0x4ecb)

lri $AR1,    #0x0040
lri $IX1,    #0x4ecb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20172 (0x4ecc)

lri $AR1,    #0x0040
lri $IX1,    #0x4ecc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20173 (0x4ecd)

lri $AR1,    #0x0040
lri $IX1,    #0x4ecd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20174 (0x4ece)

lri $AR1,    #0x0040
lri $IX1,    #0x4ece
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20175 (0x4ecf)

lri $AR1,    #0x0040
lri $IX1,    #0x4ecf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20176 (0x4ed0)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20177 (0x4ed1)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20178 (0x4ed2)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20179 (0x4ed3)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20180 (0x4ed4)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20181 (0x4ed5)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20182 (0x4ed6)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20183 (0x4ed7)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20184 (0x4ed8)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20185 (0x4ed9)

lri $AR1,    #0x0040
lri $IX1,    #0x4ed9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20186 (0x4eda)

lri $AR1,    #0x0040
lri $IX1,    #0x4eda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20187 (0x4edb)

lri $AR1,    #0x0040
lri $IX1,    #0x4edb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20188 (0x4edc)

lri $AR1,    #0x0040
lri $IX1,    #0x4edc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20189 (0x4edd)

lri $AR1,    #0x0040
lri $IX1,    #0x4edd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20190 (0x4ede)

lri $AR1,    #0x0040
lri $IX1,    #0x4ede
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20191 (0x4edf)

lri $AR1,    #0x0040
lri $IX1,    #0x4edf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20192 (0x4ee0)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20193 (0x4ee1)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20194 (0x4ee2)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20195 (0x4ee3)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20196 (0x4ee4)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20197 (0x4ee5)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20198 (0x4ee6)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20199 (0x4ee7)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20200 (0x4ee8)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20201 (0x4ee9)

lri $AR1,    #0x0040
lri $IX1,    #0x4ee9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20202 (0x4eea)

lri $AR1,    #0x0040
lri $IX1,    #0x4eea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20203 (0x4eeb)

lri $AR1,    #0x0040
lri $IX1,    #0x4eeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20204 (0x4eec)

lri $AR1,    #0x0040
lri $IX1,    #0x4eec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20205 (0x4eed)

lri $AR1,    #0x0040
lri $IX1,    #0x4eed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20206 (0x4eee)

lri $AR1,    #0x0040
lri $IX1,    #0x4eee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 20207 (0x4eef)

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