The .set directive is used to assign values to symbols. In contrast to an assignment statement, a symbol assigned a value with the .set directive can be assigned a new value at any place within an assembly language program.
The optional type may be specified as byte (:BYTE or :B) or word (:WORD or :W) and assigns this type to the symbol. Use of type overrides the type of the expression.
Note: A .set symbol may be set to a forward-referenced operand only the first time the .set symbol is defined. Following definitions with forward-referenced operands generate errors.