SIC/XE Reference

Directives

Directives in SIC and SIC/XE are used to give information to the assembler and do not generate any instructions in the object code, but some may allocate memory. Book section indicates where in System Software: An Introduction to Systems Programming the directive is introduced.

DirectiveDetailsBook Section
STARTSpecifies the name (in label) and starting address for the program.2.1
ENDIndicates the end of the source program and (optionally) the first executable instruction.2.1
CSECTBegins a new control section. Label specifies the name.2.3.5
EXTDEFOperand is a comma-separated list of symbols declared in the current control section that other control sections can refer to.2.3.5
EXTREFOperand is a comma-seperated list of external symbols that the current control section uses.2.3.5
BYTEGenerates a constant value, occupying as many bytes as needed.2.1
WORDGenerates a one-word constant.2.1
RESBReserves the indicated number of bytes.2.1
RESWReserves the indicated number of bytes.2.1
BASE
NOBASE
EQUStores a value in the symbol table.
ORGOverrides the location counter when the assembler encounters this.
LTORGLiteral pool. All literal values placed before this directive are placed where it is located.
MACRODefines the start of a macro, used by macro processor.
MENDDefines the end of a macro started by MACRO. Used by macro processor.
IFUsed by macro processor.
ELSEUsed by macro processor.
ENDIFUsed by macro processor.
WHILEUsed by macro processor.
ENDWUsed by macro processor.
SET
USEUsed for program blocks. The operand indicates the name of the program block.2.3.4

Last updated on