Next: , Previous: Section, Up: Pseudo Ops

7.97 .set symbol, expression

Set the value of symbol to expression. This changes symbol's value and type to conform to expression. If symbol was flagged as external, it remains flagged (see Symbol Attributes).

You may .set a symbol many times in the same assembly.

If you .set a global symbol, the value stored in the object file is the last value stored into it.

On Z80 set is a real instruction, use `symbol defl expression' instead.