Propeller Manual

Table Of Contents
Spin Language Reference
Syntax Definitions
In addition to detailed descriptions, the following pages contain syntax definitions for many
elements that describe, in short terms, all the options of that element. The syntax definitions
use special symbols to indicate when and how certain element features are to be used.
BOLDCAPS Items in bold uppercase should be typed in as shown.
Bold Italics Items in bold italics should be replaced by user text;
symbols, operators, expressions, etc.
. .. : , # Periods, double-periods, colons, commas, pound signs,
pipes, back slashes, square brackets and parentheses
should be typed in where shown.
| \ [ ] ( )
Angle bracket symbols enclose optional items. Enter the
enclosed item if desired. Do not enter the angle brackets.
(( )) Double parentheses symbols enclose mutually exclusive
items, separated by a dash-bar. Enter one, and only one,
of the encoded items. Do not enter the double
parentheses or dash-bar.
Repetition symbol indicates that the previous item, or
group, can be repeated numerous times. Repeat the last
item(s) if desired. Do not enter the repetition symbol.
New Line/Indent symbol indicates following items should
appear on the next line, indented by at least one space.
Indent symbol indicates following items should be
intended by at least one space.
Single line Separates various syntax structure options.
Double line Separates instruction from the value it returns.
Since elements are limited to specific Spin blocks, all syntax definitions begin with an
indication of the type of block required. For example, the following syntax indicates that the
BYTEFILL command and its parameters must appear in either a PUB or PRI block, but it may be
one of many commands within that block.
((PUB PRI))
BYTEFILL (StartAddress, Value, Count )
Page 46 · Propeller Manual v1.1