Next: , Up: Z80 Syntax   [Contents][Index] Special Characters

The semicolon ; is the line comment character;

If a # appears as the first character of a line then the whole line is treated as a comment, but in this case the line could also be a logical line number directive (see Comments) or a preprocessor control command (see Preprocessing).

The Z80 assembler does not support a line separator character.

The dollar sign $ can be used as a prefix for hexadecimal numbers and as a symbol denoting the current location counter.

A backslash \ is an ordinary character for the Z80 assembler.

The single quote ' must be followed by a closing quote. If there is one character in between, it is a character constant, otherwise it is a string constant.