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

lri $AR1,    #0x4000
lri $IX1,    #0x9980
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39297 (0x9981)

lri $AR1,    #0x4000
lri $IX1,    #0x9981
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39298 (0x9982)

lri $AR1,    #0x4000
lri $IX1,    #0x9982
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39299 (0x9983)

lri $AR1,    #0x4000
lri $IX1,    #0x9983
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39300 (0x9984)

lri $AR1,    #0x4000
lri $IX1,    #0x9984
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39301 (0x9985)

lri $AR1,    #0x4000
lri $IX1,    #0x9985
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39302 (0x9986)

lri $AR1,    #0x4000
lri $IX1,    #0x9986
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39303 (0x9987)

lri $AR1,    #0x4000
lri $IX1,    #0x9987
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39304 (0x9988)

lri $AR1,    #0x4000
lri $IX1,    #0x9988
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39305 (0x9989)

lri $AR1,    #0x4000
lri $IX1,    #0x9989
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39306 (0x998a)

lri $AR1,    #0x4000
lri $IX1,    #0x998a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39307 (0x998b)

lri $AR1,    #0x4000
lri $IX1,    #0x998b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39308 (0x998c)

lri $AR1,    #0x4000
lri $IX1,    #0x998c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39309 (0x998d)

lri $AR1,    #0x4000
lri $IX1,    #0x998d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39310 (0x998e)

lri $AR1,    #0x4000
lri $IX1,    #0x998e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39311 (0x998f)

lri $AR1,    #0x4000
lri $IX1,    #0x998f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39312 (0x9990)

lri $AR1,    #0x4000
lri $IX1,    #0x9990
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39313 (0x9991)

lri $AR1,    #0x4000
lri $IX1,    #0x9991
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39314 (0x9992)

lri $AR1,    #0x4000
lri $IX1,    #0x9992
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39315 (0x9993)

lri $AR1,    #0x4000
lri $IX1,    #0x9993
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39316 (0x9994)

lri $AR1,    #0x4000
lri $IX1,    #0x9994
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39317 (0x9995)

lri $AR1,    #0x4000
lri $IX1,    #0x9995
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39318 (0x9996)

lri $AR1,    #0x4000
lri $IX1,    #0x9996
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39319 (0x9997)

lri $AR1,    #0x4000
lri $IX1,    #0x9997
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39320 (0x9998)

lri $AR1,    #0x4000
lri $IX1,    #0x9998
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39321 (0x9999)

lri $AR1,    #0x4000
lri $IX1,    #0x9999
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39322 (0x999a)

lri $AR1,    #0x4000
lri $IX1,    #0x999a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39323 (0x999b)

lri $AR1,    #0x4000
lri $IX1,    #0x999b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39324 (0x999c)

lri $AR1,    #0x4000
lri $IX1,    #0x999c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39325 (0x999d)

lri $AR1,    #0x4000
lri $IX1,    #0x999d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39326 (0x999e)

lri $AR1,    #0x4000
lri $IX1,    #0x999e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39327 (0x999f)

lri $AR1,    #0x4000
lri $IX1,    #0x999f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39328 (0x99a0)

lri $AR1,    #0x4000
lri $IX1,    #0x99a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39329 (0x99a1)

lri $AR1,    #0x4000
lri $IX1,    #0x99a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39330 (0x99a2)

lri $AR1,    #0x4000
lri $IX1,    #0x99a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39331 (0x99a3)

lri $AR1,    #0x4000
lri $IX1,    #0x99a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39332 (0x99a4)

lri $AR1,    #0x4000
lri $IX1,    #0x99a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39333 (0x99a5)

lri $AR1,    #0x4000
lri $IX1,    #0x99a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39334 (0x99a6)

lri $AR1,    #0x4000
lri $IX1,    #0x99a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39335 (0x99a7)

lri $AR1,    #0x4000
lri $IX1,    #0x99a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39336 (0x99a8)

lri $AR1,    #0x4000
lri $IX1,    #0x99a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39337 (0x99a9)

lri $AR1,    #0x4000
lri $IX1,    #0x99a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39338 (0x99aa)

lri $AR1,    #0x4000
lri $IX1,    #0x99aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39339 (0x99ab)

lri $AR1,    #0x4000
lri $IX1,    #0x99ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39340 (0x99ac)

lri $AR1,    #0x4000
lri $IX1,    #0x99ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39341 (0x99ad)

lri $AR1,    #0x4000
lri $IX1,    #0x99ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39342 (0x99ae)

lri $AR1,    #0x4000
lri $IX1,    #0x99ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39343 (0x99af)

lri $AR1,    #0x4000
lri $IX1,    #0x99af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39344 (0x99b0)

lri $AR1,    #0x4000
lri $IX1,    #0x99b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39345 (0x99b1)

lri $AR1,    #0x4000
lri $IX1,    #0x99b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39346 (0x99b2)

lri $AR1,    #0x4000
lri $IX1,    #0x99b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39347 (0x99b3)

lri $AR1,    #0x4000
lri $IX1,    #0x99b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39348 (0x99b4)

lri $AR1,    #0x4000
lri $IX1,    #0x99b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39349 (0x99b5)

lri $AR1,    #0x4000
lri $IX1,    #0x99b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39350 (0x99b6)

lri $AR1,    #0x4000
lri $IX1,    #0x99b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39351 (0x99b7)

lri $AR1,    #0x4000
lri $IX1,    #0x99b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39352 (0x99b8)

lri $AR1,    #0x4000
lri $IX1,    #0x99b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39353 (0x99b9)

lri $AR1,    #0x4000
lri $IX1,    #0x99b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39354 (0x99ba)

lri $AR1,    #0x4000
lri $IX1,    #0x99ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39355 (0x99bb)

lri $AR1,    #0x4000
lri $IX1,    #0x99bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39356 (0x99bc)

lri $AR1,    #0x4000
lri $IX1,    #0x99bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39357 (0x99bd)

lri $AR1,    #0x4000
lri $IX1,    #0x99bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39358 (0x99be)

lri $AR1,    #0x4000
lri $IX1,    #0x99be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39359 (0x99bf)

lri $AR1,    #0x4000
lri $IX1,    #0x99bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39360 (0x99c0)

lri $AR1,    #0x4000
lri $IX1,    #0x99c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39361 (0x99c1)

lri $AR1,    #0x4000
lri $IX1,    #0x99c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39362 (0x99c2)

lri $AR1,    #0x4000
lri $IX1,    #0x99c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39363 (0x99c3)

lri $AR1,    #0x4000
lri $IX1,    #0x99c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39364 (0x99c4)

lri $AR1,    #0x4000
lri $IX1,    #0x99c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39365 (0x99c5)

lri $AR1,    #0x4000
lri $IX1,    #0x99c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39366 (0x99c6)

lri $AR1,    #0x4000
lri $IX1,    #0x99c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39367 (0x99c7)

lri $AR1,    #0x4000
lri $IX1,    #0x99c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39368 (0x99c8)

lri $AR1,    #0x4000
lri $IX1,    #0x99c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39369 (0x99c9)

lri $AR1,    #0x4000
lri $IX1,    #0x99c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39370 (0x99ca)

lri $AR1,    #0x4000
lri $IX1,    #0x99ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39371 (0x99cb)

lri $AR1,    #0x4000
lri $IX1,    #0x99cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39372 (0x99cc)

lri $AR1,    #0x4000
lri $IX1,    #0x99cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39373 (0x99cd)

lri $AR1,    #0x4000
lri $IX1,    #0x99cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39374 (0x99ce)

lri $AR1,    #0x4000
lri $IX1,    #0x99ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39375 (0x99cf)

lri $AR1,    #0x4000
lri $IX1,    #0x99cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39376 (0x99d0)

lri $AR1,    #0x4000
lri $IX1,    #0x99d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39377 (0x99d1)

lri $AR1,    #0x4000
lri $IX1,    #0x99d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39378 (0x99d2)

lri $AR1,    #0x4000
lri $IX1,    #0x99d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39379 (0x99d3)

lri $AR1,    #0x4000
lri $IX1,    #0x99d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39380 (0x99d4)

lri $AR1,    #0x4000
lri $IX1,    #0x99d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39381 (0x99d5)

lri $AR1,    #0x4000
lri $IX1,    #0x99d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39382 (0x99d6)

lri $AR1,    #0x4000
lri $IX1,    #0x99d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39383 (0x99d7)

lri $AR1,    #0x4000
lri $IX1,    #0x99d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39384 (0x99d8)

lri $AR1,    #0x4000
lri $IX1,    #0x99d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39385 (0x99d9)

lri $AR1,    #0x4000
lri $IX1,    #0x99d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39386 (0x99da)

lri $AR1,    #0x4000
lri $IX1,    #0x99da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39387 (0x99db)

lri $AR1,    #0x4000
lri $IX1,    #0x99db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39388 (0x99dc)

lri $AR1,    #0x4000
lri $IX1,    #0x99dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39389 (0x99dd)

lri $AR1,    #0x4000
lri $IX1,    #0x99dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39390 (0x99de)

lri $AR1,    #0x4000
lri $IX1,    #0x99de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39391 (0x99df)

lri $AR1,    #0x4000
lri $IX1,    #0x99df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39392 (0x99e0)

lri $AR1,    #0x4000
lri $IX1,    #0x99e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39393 (0x99e1)

lri $AR1,    #0x4000
lri $IX1,    #0x99e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39394 (0x99e2)

lri $AR1,    #0x4000
lri $IX1,    #0x99e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39395 (0x99e3)

lri $AR1,    #0x4000
lri $IX1,    #0x99e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39396 (0x99e4)

lri $AR1,    #0x4000
lri $IX1,    #0x99e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39397 (0x99e5)

lri $AR1,    #0x4000
lri $IX1,    #0x99e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39398 (0x99e6)

lri $AR1,    #0x4000
lri $IX1,    #0x99e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39399 (0x99e7)

lri $AR1,    #0x4000
lri $IX1,    #0x99e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39400 (0x99e8)

lri $AR1,    #0x4000
lri $IX1,    #0x99e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39401 (0x99e9)

lri $AR1,    #0x4000
lri $IX1,    #0x99e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39402 (0x99ea)

lri $AR1,    #0x4000
lri $IX1,    #0x99ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39403 (0x99eb)

lri $AR1,    #0x4000
lri $IX1,    #0x99eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39404 (0x99ec)

lri $AR1,    #0x4000
lri $IX1,    #0x99ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39405 (0x99ed)

lri $AR1,    #0x4000
lri $IX1,    #0x99ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39406 (0x99ee)

lri $AR1,    #0x4000
lri $IX1,    #0x99ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39407 (0x99ef)

lri $AR1,    #0x4000
lri $IX1,    #0x99ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39408 (0x99f0)

lri $AR1,    #0x4000
lri $IX1,    #0x99f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39409 (0x99f1)

lri $AR1,    #0x4000
lri $IX1,    #0x99f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39410 (0x99f2)

lri $AR1,    #0x4000
lri $IX1,    #0x99f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39411 (0x99f3)

lri $AR1,    #0x4000
lri $IX1,    #0x99f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39412 (0x99f4)

lri $AR1,    #0x4000
lri $IX1,    #0x99f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39413 (0x99f5)

lri $AR1,    #0x4000
lri $IX1,    #0x99f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39414 (0x99f6)

lri $AR1,    #0x4000
lri $IX1,    #0x99f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39415 (0x99f7)

lri $AR1,    #0x4000
lri $IX1,    #0x99f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39416 (0x99f8)

lri $AR1,    #0x4000
lri $IX1,    #0x99f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39417 (0x99f9)

lri $AR1,    #0x4000
lri $IX1,    #0x99f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39418 (0x99fa)

lri $AR1,    #0x4000
lri $IX1,    #0x99fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39419 (0x99fb)

lri $AR1,    #0x4000
lri $IX1,    #0x99fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39420 (0x99fc)

lri $AR1,    #0x4000
lri $IX1,    #0x99fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39421 (0x99fd)

lri $AR1,    #0x4000
lri $IX1,    #0x99fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39422 (0x99fe)

lri $AR1,    #0x4000
lri $IX1,    #0x99fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39423 (0x99ff)

lri $AR1,    #0x4000
lri $IX1,    #0x99ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39424 (0x9a00)

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

