xAsm Syntax


The syntax line-based, just as in any other assembler. Meaning that you do one instruction or pseudo-op per line:

[label] [instruction] [;comment]

Example:

John:          ld   a,87 ;Weee

A comment can also be an asterisk (*) followed by the comment if the asterisk is the first character on the line:

********************************

* These are full line comments *


********************************

All pseudo-ops, mnemonics and registers (reserved keywords) are case-insensitive and all labels are case-sensitive.


Last updated 21 June 1997 by Carsten Sorensen