|
| SET Assembler Statement| Arguments |
symbol SET expression
| | Description | The SET statement creates a new symbol named symbol with the value of the expression. Symbols created with SET may be redefined. The expression may be a register name (A, R0-R7) or a simple relocatable expression with no forward references. Symbols defined with SET may be used anywhere in operands, addresses, or expressions. Symbols defined as registers may be used anywhere a register is allowed. Symbols defined with SET may not be made PUBLIC. | | See Also | EQU, LIT | | Example |
VAL SET 45 ; Simple definition
REG1 SET R1 ; Public definition
VAL SET VAL+1 ; Redefinition
VAR SET PUTCHAR ; Relocatable symbol definition
VAL SET VAL+1 ; Redefinition
|
|
|