Propeller Manual

Table Of Contents
2: Spin Language Reference
Chapter 2: Spin Language Reference
This chapter describes all elements of the Propeller chip’s Spin language and is best used as a
reference for individual elements of the Spin language. For a tutorial on the use of the
language refer to the Spin Language Tutorial in the Propeller Tool’s on-line help, then return
here for more details.
The Spin Language Reference is divided into three sections:
1) The Structure of the Propeller Objects. Propeller Objects consist of Spin code,
optional Assembly Code, and data. An object’s Spin code provides it with structure,
consisting of special-purpose blocks. This section lists these blocks and the elements
that may be used in each. Each listed element has a page reference for more
information.
2) The Categorical Listing of the Propeller Spin Language. All elements, including
operators and syntax symbols, are grouped by related function. This is a great way to
quickly realize the breadth of the language and what features are available for
specific uses. Each listed element has a page reference for more information. Some
elements are marked with a superscript “a” indicating that they are also available in
Propeller Assembly, though syntax may vary. Such marked elements are also
included in Chapter 3: Assembly Language Reference.
3) The Spin Language Elements. Most elements have their own dedicated sub-
section, alphabetically arranged to ease searching for them. Those individual
elements without a dedicated sub-section, such as Operators, Symbols and some
constants, are grouped within other related sub-sections but can be easily located by
following their page reference from the Categorical Listing.
Propeller Manual v1.1 · Page 35