2018-11-10 14:30:09 +00:00
|
|
|
|
NEW
|
2019-06-28 15:15:58 +00:00
|
|
|
|
AUTO 3,1
|
2018-11-10 14:30:09 +00:00
|
|
|
|
.LIST OFF
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
L.CSH.BOPS .DA CSH.BOPS
|
|
|
|
|
J.CSH.BOPS .DA CSH.BOPS.ADD
|
|
|
|
|
.DA CSH.BOPS.SUB
|
|
|
|
|
.DA CSH.BOPS.MUL
|
|
|
|
|
.DA CSH.BOPS.DIV
|
|
|
|
|
.DA CSH.BOPS.MOD
|
|
|
|
|
.DA CSH.BOPS.SHL
|
|
|
|
|
.DA CSH.BOPS.SHR
|
|
|
|
|
.DA CSH.BOPS.L
|
|
|
|
|
.DA CSH.BOPS.G
|
|
|
|
|
.DA CSH.BOPS.LE
|
|
|
|
|
.DA CSH.BOPS.GE
|
|
|
|
|
.DA CSH.BOPS.EQ
|
|
|
|
|
.DA CSH.BOPS.NE
|
|
|
|
|
.DA CSH.BOPS.AND
|
|
|
|
|
.DA CSH.BOPS.OR
|
|
|
|
|
.DA CSH.BOPS.EOR
|
|
|
|
|
.DA CSH.BOPS.LAND
|
|
|
|
|
.DA CSH.BOPS.LOR
|
2020-01-23 14:48:22 +00:00
|
|
|
|
J.CSH.BOPS.ADDt .DA CSH.TMISMATCH
|
2019-09-05 15:49:05 +00:00
|
|
|
|
.DA CSH.BOPS.ADDi8
|
|
|
|
|
.DA CSH.BOPS.ADDi16
|
|
|
|
|
.DA CSH.BOPS.ADDi32
|
|
|
|
|
.DA CSH.BOPS.ADDu8
|
|
|
|
|
.DA CSH.BOPS.ADDu16
|
|
|
|
|
.DA CSH.BOPS.ADDu32
|
|
|
|
|
.DA CSH.BOPS.ADDf
|
2020-01-23 14:48:22 +00:00
|
|
|
|
J.CSH.BOPS.SUBt .DA CSH.TMISMATCH
|
2019-09-05 15:49:05 +00:00
|
|
|
|
.DA CSH.BOPS.SUBi8
|
|
|
|
|
.DA CSH.BOPS.SUBi16
|
|
|
|
|
.DA CSH.BOPS.SUBi32
|
|
|
|
|
.DA CSH.BOPS.SUBu8
|
|
|
|
|
.DA CSH.BOPS.SUBu16
|
|
|
|
|
.DA CSH.BOPS.SUBu32
|
|
|
|
|
.DA CSH.BOPS.SUBf
|
2018-11-10 14:30:09 +00:00
|
|
|
|
L.CSH.FN .DA CSH.FN
|
|
|
|
|
L.CSH.KW .DA CSH.KW
|
|
|
|
|
L.CSH.STYPES .DA CSH.STYPES
|
|
|
|
|
J.CSH.KW .DA CSH.IF
|
|
|
|
|
.DA CSH.WHILE
|
|
|
|
|
.DA CSH.ELSE
|
|
|
|
|
.DA CSH.DO
|
|
|
|
|
.DA CSH.FOR
|
|
|
|
|
.DA CSH.SWITCH
|
|
|
|
|
.DA CSH.CASE
|
|
|
|
|
.DA CSH.BREAK
|
|
|
|
|
.DA CSH.CONTINUE
|
2020-01-22 16:31:48 +00:00
|
|
|
|
.DA CSH.VOID
|
2018-11-10 14:30:09 +00:00
|
|
|
|
.DA CSH.FLOAT
|
|
|
|
|
.DA CSH.SIGNED
|
|
|
|
|
.DA CSH.UNSIGNED
|
|
|
|
|
J.CSH.STYPES .DA CSH.CHAR
|
|
|
|
|
.DA CSH.INT
|
|
|
|
|
.DA CSH.LONG
|
|
|
|
|
J.CSH.UTYPES .DA CSH.UCHAR
|
|
|
|
|
.DA CSH.UINT
|
|
|
|
|
.DA CSH.ULONG
|
2019-09-05 15:49:05 +00:00
|
|
|
|
*J.CSH.KW.START .DA CSH.IF.START
|
|
|
|
|
* .DA CSH.WHILE.START
|
2018-11-10 14:30:09 +00:00
|
|
|
|
J.CSH.KW.END .DA CSH.IF.END
|
|
|
|
|
.DA CSH.WHILE.END
|
|
|
|
|
*--------------------------------------
|
2020-01-22 21:52:00 +00:00
|
|
|
|
J.CSH.EXEC .DA EXEC.log
|
|
|
|
|
.DA EXEC.sqr
|
|
|
|
|
.DA EXEC.exp
|
2019-08-26 06:29:18 +00:00
|
|
|
|
.DA EXEC.cos
|
2020-01-22 21:52:00 +00:00
|
|
|
|
.DA EXEC.sin
|
|
|
|
|
.DA EXEC.tan
|
|
|
|
|
.DA EXEC.atan
|
2019-08-26 06:29:18 +00:00
|
|
|
|
.DA EXEC.getchar
|
2020-01-22 21:52:00 +00:00
|
|
|
|
.DA EXEC.puts
|
|
|
|
|
.DA EXEC.printf
|
|
|
|
|
.DA EXEC.putenv
|
|
|
|
|
.DA EXEC.setenv
|
|
|
|
|
.DA EXEC.getenv
|
|
|
|
|
.DA EXEC.unsetenv
|
2020-01-22 16:31:48 +00:00
|
|
|
|
.DA EXEC.malloc
|
2019-08-26 06:29:18 +00:00
|
|
|
|
*--------------------------------------
|
2018-11-10 14:30:09 +00:00
|
|
|
|
MAN
|
2019-01-26 16:33:03 +00:00
|
|
|
|
SAVE USR/SRC/BIN/CSH.R
|
|
|
|
|
LOAD USR/SRC/BIN/CSH.S
|
2018-11-10 14:30:09 +00:00
|
|
|
|
ASM
|