Z80 Syntax - Using as
Description: Using as

Next: Z80 Floating Point, Previous: Z80 Options, Up: Z80-Dependent

#### 9.41.2 Syntax

The assembler syntax closely follows the 'Z80 family CPU User Manual' by Zilog. In expressions a single ‘`=`’ may be used as “is equal to” comparison operator.

Suffices can be used to indicate the radix of integer constants; ‘`H`’ or ‘`h`’ for hexadecimal, ‘`D`’ or ‘`d`’ for decimal, ‘`Q`’, ‘`O`’, ‘`q`’ or ‘`o`’ for octal, and ‘`B`’ for binary.

The suffix ‘`b`’ denotes a backreference to local label.