Next: , Previous: , Up: Pseudo Ops   [Contents][Index]


7.27 .equ symbol, expression

This directive sets the value of symbol to expression. It is synonymous with ‘.set’; see .set.

The syntax for equ on the HPPA is ‘symbol .equ expression’.

The syntax for equ on the Z80 is ‘symbol equ expression’. On the Z80 it is an error if symbol is already defined, but the symbol is not protected from later redefinition. Compare Equiv.