SET - Set a symbol to a value:

label	SET	expression

The SET directive assigns the value of the expression in the operand field to the label. The label cannot be redefined anywhere else in the program. The expression cannot contain any forward references or undefined symbols. SET declarations with forward references are flagged with Phasing Errors.


Example:
mode1	set	$10	* Assign a constant value
mode2	set	mode1	* Assign the value of a label
mode3	set	mode4	* Invalid! Cannot use forward references
mode4	set	100	* Assign a constant value


See also:
=, EQU, SET

Compatibility:
CASM X
CCASM X
OS-9 RMA X
Edt/Asm III  
Edtasm6309  
Disk Edtasm+  
Edtasm+  
Macro-80C