.equ
,
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.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.