[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Details of the GASP syntax
==========================
Since GASP is meant to work with assembly code, its statement syntax
has no surprises for the assembly programmer.
*Whitespace* (blanks or tabs; *not* newline) is partially
significant, in that it delimits up to three fields in a line. The
amount of whitespace does not matter; you may line up fields in separate
lines if you wish, but GASP does not require that.
The *first field*, an optional "label", must be flush left in a line
(with no leading whitespace) if it appears at all. You may use a colon
after the label if you wish; GASP neither requires the colon nor
objects to it (but will not include it as part of the label name).
The *second field*, which must appear after some whitespace,
contains a GASP or assembly "directive".
Any *further fields* on a line are "arguments" to the directive; you
can separate them from one another using either commas or whitespace.
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson