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

lri $AR1,    #0x4000
lri $IX1,    #0x2f80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12161 (0x2f81)

lri $AR1,    #0x4000
lri $IX1,    #0x2f81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12162 (0x2f82)

lri $AR1,    #0x4000
lri $IX1,    #0x2f82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12163 (0x2f83)

lri $AR1,    #0x4000
lri $IX1,    #0x2f83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12164 (0x2f84)

lri $AR1,    #0x4000
lri $IX1,    #0x2f84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12165 (0x2f85)

lri $AR1,    #0x4000
lri $IX1,    #0x2f85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12166 (0x2f86)

lri $AR1,    #0x4000
lri $IX1,    #0x2f86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12167 (0x2f87)

lri $AR1,    #0x4000
lri $IX1,    #0x2f87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12168 (0x2f88)

lri $AR1,    #0x4000
lri $IX1,    #0x2f88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12169 (0x2f89)

lri $AR1,    #0x4000
lri $IX1,    #0x2f89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12170 (0x2f8a)

lri $AR1,    #0x4000
lri $IX1,    #0x2f8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12171 (0x2f8b)

lri $AR1,    #0x4000
lri $IX1,    #0x2f8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12172 (0x2f8c)

lri $AR1,    #0x4000
lri $IX1,    #0x2f8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12173 (0x2f8d)

lri $AR1,    #0x4000
lri $IX1,    #0x2f8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12174 (0x2f8e)

lri $AR1,    #0x4000
lri $IX1,    #0x2f8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12175 (0x2f8f)

lri $AR1,    #0x4000
lri $IX1,    #0x2f8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12176 (0x2f90)

lri $AR1,    #0x4000
lri $IX1,    #0x2f90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12177 (0x2f91)

lri $AR1,    #0x4000
lri $IX1,    #0x2f91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12178 (0x2f92)

lri $AR1,    #0x4000
lri $IX1,    #0x2f92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12179 (0x2f93)

lri $AR1,    #0x4000
lri $IX1,    #0x2f93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12180 (0x2f94)

lri $AR1,    #0x4000
lri $IX1,    #0x2f94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12181 (0x2f95)

lri $AR1,    #0x4000
lri $IX1,    #0x2f95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12182 (0x2f96)

lri $AR1,    #0x4000
lri $IX1,    #0x2f96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12183 (0x2f97)

lri $AR1,    #0x4000
lri $IX1,    #0x2f97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12184 (0x2f98)

lri $AR1,    #0x4000
lri $IX1,    #0x2f98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12185 (0x2f99)

lri $AR1,    #0x4000
lri $IX1,    #0x2f99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12186 (0x2f9a)

lri $AR1,    #0x4000
lri $IX1,    #0x2f9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12187 (0x2f9b)

lri $AR1,    #0x4000
lri $IX1,    #0x2f9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12188 (0x2f9c)

lri $AR1,    #0x4000
lri $IX1,    #0x2f9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12189 (0x2f9d)

lri $AR1,    #0x4000
lri $IX1,    #0x2f9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12190 (0x2f9e)

lri $AR1,    #0x4000
lri $IX1,    #0x2f9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12191 (0x2f9f)

lri $AR1,    #0x4000
lri $IX1,    #0x2f9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12192 (0x2fa0)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12193 (0x2fa1)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12194 (0x2fa2)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12195 (0x2fa3)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12196 (0x2fa4)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12197 (0x2fa5)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12198 (0x2fa6)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12199 (0x2fa7)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12200 (0x2fa8)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12201 (0x2fa9)

lri $AR1,    #0x4000
lri $IX1,    #0x2fa9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12202 (0x2faa)

lri $AR1,    #0x4000
lri $IX1,    #0x2faa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12203 (0x2fab)

lri $AR1,    #0x4000
lri $IX1,    #0x2fab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12204 (0x2fac)

lri $AR1,    #0x4000
lri $IX1,    #0x2fac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12205 (0x2fad)

lri $AR1,    #0x4000
lri $IX1,    #0x2fad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12206 (0x2fae)

lri $AR1,    #0x4000
lri $IX1,    #0x2fae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12207 (0x2faf)

lri $AR1,    #0x4000
lri $IX1,    #0x2faf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12208 (0x2fb0)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12209 (0x2fb1)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12210 (0x2fb2)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12211 (0x2fb3)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12212 (0x2fb4)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12213 (0x2fb5)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12214 (0x2fb6)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12215 (0x2fb7)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12216 (0x2fb8)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12217 (0x2fb9)

lri $AR1,    #0x4000
lri $IX1,    #0x2fb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12218 (0x2fba)

lri $AR1,    #0x4000
lri $IX1,    #0x2fba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12219 (0x2fbb)

lri $AR1,    #0x4000
lri $IX1,    #0x2fbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12220 (0x2fbc)

lri $AR1,    #0x4000
lri $IX1,    #0x2fbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12221 (0x2fbd)

lri $AR1,    #0x4000
lri $IX1,    #0x2fbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12222 (0x2fbe)

lri $AR1,    #0x4000
lri $IX1,    #0x2fbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12223 (0x2fbf)

lri $AR1,    #0x4000
lri $IX1,    #0x2fbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12224 (0x2fc0)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12225 (0x2fc1)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12226 (0x2fc2)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12227 (0x2fc3)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12228 (0x2fc4)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12229 (0x2fc5)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12230 (0x2fc6)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12231 (0x2fc7)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12232 (0x2fc8)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12233 (0x2fc9)

lri $AR1,    #0x4000
lri $IX1,    #0x2fc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12234 (0x2fca)

lri $AR1,    #0x4000
lri $IX1,    #0x2fca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12235 (0x2fcb)

lri $AR1,    #0x4000
lri $IX1,    #0x2fcb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12236 (0x2fcc)

lri $AR1,    #0x4000
lri $IX1,    #0x2fcc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12237 (0x2fcd)

lri $AR1,    #0x4000
lri $IX1,    #0x2fcd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12238 (0x2fce)

lri $AR1,    #0x4000
lri $IX1,    #0x2fce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12239 (0x2fcf)

lri $AR1,    #0x4000
lri $IX1,    #0x2fcf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12240 (0x2fd0)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12241 (0x2fd1)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12242 (0x2fd2)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12243 (0x2fd3)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12244 (0x2fd4)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12245 (0x2fd5)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12246 (0x2fd6)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12247 (0x2fd7)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12248 (0x2fd8)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12249 (0x2fd9)

lri $AR1,    #0x4000
lri $IX1,    #0x2fd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12250 (0x2fda)

lri $AR1,    #0x4000
lri $IX1,    #0x2fda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12251 (0x2fdb)

lri $AR1,    #0x4000
lri $IX1,    #0x2fdb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12252 (0x2fdc)

lri $AR1,    #0x4000
lri $IX1,    #0x2fdc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12253 (0x2fdd)

lri $AR1,    #0x4000
lri $IX1,    #0x2fdd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12254 (0x2fde)

lri $AR1,    #0x4000
lri $IX1,    #0x2fde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12255 (0x2fdf)

lri $AR1,    #0x4000
lri $IX1,    #0x2fdf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12256 (0x2fe0)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12257 (0x2fe1)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12258 (0x2fe2)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12259 (0x2fe3)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12260 (0x2fe4)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12261 (0x2fe5)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12262 (0x2fe6)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12263 (0x2fe7)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12264 (0x2fe8)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12265 (0x2fe9)

lri $AR1,    #0x4000
lri $IX1,    #0x2fe9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12266 (0x2fea)

lri $AR1,    #0x4000
lri $IX1,    #0x2fea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12267 (0x2feb)

lri $AR1,    #0x4000
lri $IX1,    #0x2feb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12268 (0x2fec)

lri $AR1,    #0x4000
lri $IX1,    #0x2fec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12269 (0x2fed)

lri $AR1,    #0x4000
lri $IX1,    #0x2fed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12270 (0x2fee)

lri $AR1,    #0x4000
lri $IX1,    #0x2fee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12271 (0x2fef)

lri $AR1,    #0x4000
lri $IX1,    #0x2fef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12272 (0x2ff0)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12273 (0x2ff1)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12274 (0x2ff2)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12275 (0x2ff3)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12276 (0x2ff4)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12277 (0x2ff5)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12278 (0x2ff6)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12279 (0x2ff7)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12280 (0x2ff8)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12281 (0x2ff9)

lri $AR1,    #0x4000
lri $IX1,    #0x2ff9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12282 (0x2ffa)

lri $AR1,    #0x4000
lri $IX1,    #0x2ffa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12283 (0x2ffb)

lri $AR1,    #0x4000
lri $IX1,    #0x2ffb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12284 (0x2ffc)

lri $AR1,    #0x4000
lri $IX1,    #0x2ffc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12285 (0x2ffd)

lri $AR1,    #0x4000
lri $IX1,    #0x2ffd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12286 (0x2ffe)

lri $AR1,    #0x4000
lri $IX1,    #0x2ffe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12287 (0x2fff)

lri $AR1,    #0x4000
lri $IX1,    #0x2fff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 12288 (0x3000)

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

