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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7297 (0x1c81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7298 (0x1c82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7299 (0x1c83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7300 (0x1c84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7301 (0x1c85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7302 (0x1c86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7303 (0x1c87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7304 (0x1c88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7305 (0x1c89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7306 (0x1c8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7307 (0x1c8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7308 (0x1c8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7309 (0x1c8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7310 (0x1c8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7311 (0x1c8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7312 (0x1c90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7313 (0x1c91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7314 (0x1c92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7315 (0x1c93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7316 (0x1c94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7317 (0x1c95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7318 (0x1c96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7319 (0x1c97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7320 (0x1c98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7321 (0x1c99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7322 (0x1c9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7323 (0x1c9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7324 (0x1c9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7325 (0x1c9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7326 (0x1c9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7327 (0x1c9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7328 (0x1ca0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7329 (0x1ca1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7330 (0x1ca2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7331 (0x1ca3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7332 (0x1ca4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7333 (0x1ca5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7334 (0x1ca6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7335 (0x1ca7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7336 (0x1ca8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7337 (0x1ca9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7338 (0x1caa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7339 (0x1cab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7340 (0x1cac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7341 (0x1cad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7342 (0x1cae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7343 (0x1caf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7344 (0x1cb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7345 (0x1cb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7346 (0x1cb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7347 (0x1cb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7348 (0x1cb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7349 (0x1cb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7350 (0x1cb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7351 (0x1cb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7352 (0x1cb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7353 (0x1cb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7354 (0x1cba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7355 (0x1cbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7356 (0x1cbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7357 (0x1cbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7358 (0x1cbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7359 (0x1cbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7360 (0x1cc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7361 (0x1cc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7362 (0x1cc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7363 (0x1cc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7364 (0x1cc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7365 (0x1cc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7366 (0x1cc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7367 (0x1cc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7368 (0x1cc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7369 (0x1cc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7370 (0x1cca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7371 (0x1ccb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7372 (0x1ccc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7373 (0x1ccd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7374 (0x1cce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7375 (0x1ccf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7376 (0x1cd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7377 (0x1cd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7378 (0x1cd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7379 (0x1cd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7380 (0x1cd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7381 (0x1cd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7382 (0x1cd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7383 (0x1cd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7384 (0x1cd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7385 (0x1cd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7386 (0x1cda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7387 (0x1cdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7388 (0x1cdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7389 (0x1cdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7390 (0x1cde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7391 (0x1cdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7392 (0x1ce0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7393 (0x1ce1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7394 (0x1ce2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7395 (0x1ce3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7396 (0x1ce4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7397 (0x1ce5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7398 (0x1ce6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7399 (0x1ce7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7400 (0x1ce8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7401 (0x1ce9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7402 (0x1cea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7403 (0x1ceb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7404 (0x1cec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7405 (0x1ced)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7406 (0x1cee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7407 (0x1cef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7408 (0x1cf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7409 (0x1cf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7410 (0x1cf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7411 (0x1cf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7412 (0x1cf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7413 (0x1cf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7414 (0x1cf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7415 (0x1cf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7416 (0x1cf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7417 (0x1cf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7418 (0x1cfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7419 (0x1cfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7420 (0x1cfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7421 (0x1cfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7422 (0x1cfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7423 (0x1cff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x001c
cw 0x5
call send_back  ; 7424 (0x1d00)

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