Equ - Using as
Description: Using as

Next: Equiv, Previous: Endif, Up: Pseudo Ops

### 7.43 `.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 eror if symbol is already defined, but the symbol is not protected from later redefinition. Compare Equiv.