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
|
2020-01-26 19:36:49 +00:00
|
|
|
|
J.CSH.BOPS.SHLt .DA CSH.TMISMATCH
|
|
|
|
|
.DA CSH.BOPS.SHL8
|
|
|
|
|
.DA CSH.BOPS.SHL16
|
|
|
|
|
.DA CSH.BOPS.SHL32
|
|
|
|
|
.DA CSH.BOPS.SHL8
|
|
|
|
|
.DA CSH.BOPS.SHL16
|
|
|
|
|
.DA CSH.BOPS.SHL32
|
|
|
|
|
.DA CSH.TMISMATCH
|
2018-11-10 14:30:09 +00:00
|
|
|
|
L.CSH.FN .DA CSH.FN
|
2020-01-25 18:56:36 +00:00
|
|
|
|
L.CSH.DIRS .DA CSH.DIRS
|
2018-11-10 14:30:09 +00:00
|
|
|
|
L.CSH.KW .DA CSH.KW
|
|
|
|
|
L.CSH.STYPES .DA CSH.STYPES
|
2020-01-25 18:56:36 +00:00
|
|
|
|
J.CSH.DIRS .DA CSH.DIR.DEFINE
|
2020-07-31 14:46:11 +00:00
|
|
|
|
.DA CSH.DIR.INCLUDE
|
2018-11-10 14:30:09 +00:00
|
|
|
|
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-02-21 16:31:46 +00:00
|
|
|
|
.DA CSH.TYPEDEF
|
|
|
|
|
.DA CSH.STRUCT
|
|
|
|
|
.DA CSH.SIZEOF
|
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
|
2020-01-24 14:21:08 +00:00
|
|
|
|
.DA EXEC.execl
|
2020-01-22 21:52:00 +00:00
|
|
|
|
.DA EXEC.printf
|
|
|
|
|
.DA EXEC.putenv
|
|
|
|
|
.DA EXEC.setenv
|
|
|
|
|
.DA EXEC.getenv
|
|
|
|
|
.DA EXEC.unsetenv
|
2020-01-24 14:21:08 +00:00
|
|
|
|
.DA EXEC.MD5
|
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
|
2020-07-31 14:46:11 +00:00
|
|
|
|
SAVE usr/src/bin/csh.r
|
|
|
|
|
LOAD usr/src/bin/csh.s
|
2018-11-10 14:30:09 +00:00
|
|
|
|
ASM
|