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
|
2019-09-05 15:49:05 +00:00
|
|
|
|
J.CSH.BOPS.ADDt .DA CSH.TMISSMATCH
|
|
|
|
|
.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
|
|
|
|
|
J.CSH.BOPS.SUBt .DA CSH.TMISSMATCH
|
|
|
|
|
.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
|
|
|
|
|
.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
|
|
|
|
|
*--------------------------------------
|
2019-08-26 06:29:18 +00:00
|
|
|
|
J.CSH.EXEC .DA EXEC.printf
|
|
|
|
|
.DA EXEC.puts
|
|
|
|
|
.DA EXEC.cos
|
|
|
|
|
.DA EXEC.getchar
|
|
|
|
|
*--------------------------------------
|
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
|