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

lri $AR1,    #0x0040
lri $IX1,    #0xa3d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41944 (0xa3d8)

lri $AR1,    #0x0040
lri $IX1,    #0xa3d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41945 (0xa3d9)

lri $AR1,    #0x0040
lri $IX1,    #0xa3d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41946 (0xa3da)

lri $AR1,    #0x0040
lri $IX1,    #0xa3da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41947 (0xa3db)

lri $AR1,    #0x0040
lri $IX1,    #0xa3db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41948 (0xa3dc)

lri $AR1,    #0x0040
lri $IX1,    #0xa3dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41949 (0xa3dd)

lri $AR1,    #0x0040
lri $IX1,    #0xa3dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41950 (0xa3de)

lri $AR1,    #0x0040
lri $IX1,    #0xa3de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41951 (0xa3df)

lri $AR1,    #0x0040
lri $IX1,    #0xa3df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41952 (0xa3e0)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41953 (0xa3e1)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41954 (0xa3e2)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41955 (0xa3e3)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41956 (0xa3e4)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41957 (0xa3e5)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41958 (0xa3e6)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41959 (0xa3e7)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41960 (0xa3e8)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41961 (0xa3e9)

lri $AR1,    #0x0040
lri $IX1,    #0xa3e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41962 (0xa3ea)

lri $AR1,    #0x0040
lri $IX1,    #0xa3ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41963 (0xa3eb)

lri $AR1,    #0x0040
lri $IX1,    #0xa3eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41964 (0xa3ec)

lri $AR1,    #0x0040
lri $IX1,    #0xa3ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41965 (0xa3ed)

lri $AR1,    #0x0040
lri $IX1,    #0xa3ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41966 (0xa3ee)

lri $AR1,    #0x0040
lri $IX1,    #0xa3ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41967 (0xa3ef)

lri $AR1,    #0x0040
lri $IX1,    #0xa3ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41968 (0xa3f0)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41969 (0xa3f1)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41970 (0xa3f2)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41971 (0xa3f3)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41972 (0xa3f4)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41973 (0xa3f5)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41974 (0xa3f6)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41975 (0xa3f7)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41976 (0xa3f8)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41977 (0xa3f9)

lri $AR1,    #0x0040
lri $IX1,    #0xa3f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41978 (0xa3fa)

lri $AR1,    #0x0040
lri $IX1,    #0xa3fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41979 (0xa3fb)

lri $AR1,    #0x0040
lri $IX1,    #0xa3fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41980 (0xa3fc)

lri $AR1,    #0x0040
lri $IX1,    #0xa3fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41981 (0xa3fd)

lri $AR1,    #0x0040
lri $IX1,    #0xa3fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41982 (0xa3fe)

lri $AR1,    #0x0040
lri $IX1,    #0xa3fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41983 (0xa3ff)

lri $AR1,    #0x0040
lri $IX1,    #0xa3ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41984 (0xa400)

lri $AR1,    #0x0040
lri $IX1,    #0xa400
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41985 (0xa401)

lri $AR1,    #0x0040
lri $IX1,    #0xa401
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41986 (0xa402)

lri $AR1,    #0x0040
lri $IX1,    #0xa402
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41987 (0xa403)

lri $AR1,    #0x0040
lri $IX1,    #0xa403
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41988 (0xa404)

lri $AR1,    #0x0040
lri $IX1,    #0xa404
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41989 (0xa405)

lri $AR1,    #0x0040
lri $IX1,    #0xa405
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41990 (0xa406)

lri $AR1,    #0x0040
lri $IX1,    #0xa406
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41991 (0xa407)

lri $AR1,    #0x0040
lri $IX1,    #0xa407
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41992 (0xa408)

lri $AR1,    #0x0040
lri $IX1,    #0xa408
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41993 (0xa409)

lri $AR1,    #0x0040
lri $IX1,    #0xa409
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41994 (0xa40a)

lri $AR1,    #0x0040
lri $IX1,    #0xa40a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41995 (0xa40b)

lri $AR1,    #0x0040
lri $IX1,    #0xa40b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41996 (0xa40c)

lri $AR1,    #0x0040
lri $IX1,    #0xa40c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41997 (0xa40d)

lri $AR1,    #0x0040
lri $IX1,    #0xa40d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41998 (0xa40e)

lri $AR1,    #0x0040
lri $IX1,    #0xa40e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41999 (0xa40f)

lri $AR1,    #0x0040
lri $IX1,    #0xa40f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42000 (0xa410)

lri $AR1,    #0x0040
lri $IX1,    #0xa410
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42001 (0xa411)

lri $AR1,    #0x0040
lri $IX1,    #0xa411
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42002 (0xa412)

lri $AR1,    #0x0040
lri $IX1,    #0xa412
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42003 (0xa413)

lri $AR1,    #0x0040
lri $IX1,    #0xa413
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42004 (0xa414)

lri $AR1,    #0x0040
lri $IX1,    #0xa414
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42005 (0xa415)

lri $AR1,    #0x0040
lri $IX1,    #0xa415
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42006 (0xa416)

lri $AR1,    #0x0040
lri $IX1,    #0xa416
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42007 (0xa417)

lri $AR1,    #0x0040
lri $IX1,    #0xa417
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42008 (0xa418)

lri $AR1,    #0x0040
lri $IX1,    #0xa418
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42009 (0xa419)

lri $AR1,    #0x0040
lri $IX1,    #0xa419
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42010 (0xa41a)

lri $AR1,    #0x0040
lri $IX1,    #0xa41a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42011 (0xa41b)

lri $AR1,    #0x0040
lri $IX1,    #0xa41b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42012 (0xa41c)

lri $AR1,    #0x0040
lri $IX1,    #0xa41c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42013 (0xa41d)

lri $AR1,    #0x0040
lri $IX1,    #0xa41d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42014 (0xa41e)

lri $AR1,    #0x0040
lri $IX1,    #0xa41e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42015 (0xa41f)

lri $AR1,    #0x0040
lri $IX1,    #0xa41f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42016 (0xa420)

lri $AR1,    #0x0040
lri $IX1,    #0xa420
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42017 (0xa421)

lri $AR1,    #0x0040
lri $IX1,    #0xa421
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42018 (0xa422)

lri $AR1,    #0x0040
lri $IX1,    #0xa422
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42019 (0xa423)

lri $AR1,    #0x0040
lri $IX1,    #0xa423
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42020 (0xa424)

lri $AR1,    #0x0040
lri $IX1,    #0xa424
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42021 (0xa425)

lri $AR1,    #0x0040
lri $IX1,    #0xa425
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42022 (0xa426)

lri $AR1,    #0x0040
lri $IX1,    #0xa426
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42023 (0xa427)

lri $AR1,    #0x0040
lri $IX1,    #0xa427
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42024 (0xa428)

lri $AR1,    #0x0040
lri $IX1,    #0xa428
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42025 (0xa429)

lri $AR1,    #0x0040
lri $IX1,    #0xa429
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42026 (0xa42a)

lri $AR1,    #0x0040
lri $IX1,    #0xa42a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42027 (0xa42b)

lri $AR1,    #0x0040
lri $IX1,    #0xa42b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42028 (0xa42c)

lri $AR1,    #0x0040
lri $IX1,    #0xa42c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42029 (0xa42d)

lri $AR1,    #0x0040
lri $IX1,    #0xa42d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42030 (0xa42e)

lri $AR1,    #0x0040
lri $IX1,    #0xa42e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42031 (0xa42f)

lri $AR1,    #0x0040
lri $IX1,    #0xa42f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42032 (0xa430)

lri $AR1,    #0x0040
lri $IX1,    #0xa430
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42033 (0xa431)

lri $AR1,    #0x0040
lri $IX1,    #0xa431
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42034 (0xa432)

lri $AR1,    #0x0040
lri $IX1,    #0xa432
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42035 (0xa433)

lri $AR1,    #0x0040
lri $IX1,    #0xa433
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42036 (0xa434)

lri $AR1,    #0x0040
lri $IX1,    #0xa434
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42037 (0xa435)

lri $AR1,    #0x0040
lri $IX1,    #0xa435
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42038 (0xa436)

lri $AR1,    #0x0040
lri $IX1,    #0xa436
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42039 (0xa437)

lri $AR1,    #0x0040
lri $IX1,    #0xa437
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42040 (0xa438)

lri $AR1,    #0x0040
lri $IX1,    #0xa438
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42041 (0xa439)

lri $AR1,    #0x0040
lri $IX1,    #0xa439
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42042 (0xa43a)

lri $AR1,    #0x0040
lri $IX1,    #0xa43a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42043 (0xa43b)

lri $AR1,    #0x0040
lri $IX1,    #0xa43b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42044 (0xa43c)

lri $AR1,    #0x0040
lri $IX1,    #0xa43c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42045 (0xa43d)

lri $AR1,    #0x0040
lri $IX1,    #0xa43d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42046 (0xa43e)

lri $AR1,    #0x0040
lri $IX1,    #0xa43e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42047 (0xa43f)

lri $AR1,    #0x0040
lri $IX1,    #0xa43f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42048 (0xa440)

lri $AR1,    #0x0040
lri $IX1,    #0xa440
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42049 (0xa441)

lri $AR1,    #0x0040
lri $IX1,    #0xa441
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42050 (0xa442)

lri $AR1,    #0x0040
lri $IX1,    #0xa442
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42051 (0xa443)

lri $AR1,    #0x0040
lri $IX1,    #0xa443
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 42052 (0xa444)

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