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.
Directive | Details | Book Section |
|---|---|---|
| Specifies the name (in label) and starting address for the program. | 2.1 |
| Indicates the end of the source program and (optionally) the first executable instruction. | 2.1 |
| Begins a new control section. Label specifies the name. | 2.3.5 |
| Operand is a comma-separated list of symbols declared in the current control section that other control sections can refer to. | 2.3.5 |
| Operand is a comma-seperated list of external symbols that the current control section uses. | 2.3.5 |
| Generates a constant value, occupying as many bytes as needed. | 2.1 |
| Generates a one-word constant. | 2.1 |
| Reserves the indicated number of bytes. | 2.1 |
| Reserves the indicated number of bytes. | 2.1 |
| ||
| ||
| Stores a value in the symbol table. | |
| Overrides the location counter when the assembler encounters this. | |
| Literal pool. All literal values placed before this directive are placed where it is located. | |
| Defines the start of a macro, used by macro processor. | |
| Defines the end of a macro started by | |
| Used by macro processor. | |
| Used by macro processor. | |
| Used by macro processor. | |
| Used by macro processor. | |
| Used by macro processor. | |
| ||
| Used for program blocks. The operand indicates the name of the program block. | 2.3.4 |