Propeller Manual

Table Of Contents
2: Spin Language Reference
Directives
STRING Declare in-line string expression; resolved at compile time; p 205.
CONSTANT Declare in-line constant expression; resolved at compile time; p 91.
FLOAT Declare floating-point expression; resolved at compile time; p 108.
ROUND Round compile-time floating-point expression to integer; p 198.
TRUNC Truncate compile-time floating-point expression at decimal; p 209.
FILE Import data from an external file; p 107.
Registers
DIRA
a
Direction Register for 32-bit port A; p 104.
DIRB
a
Direction Register for 32-bit port B (future use); p 104.
INA
a
Input Register for 32-bit port A (read only); p 117.
INB
a
Input Register for 32-bit port B (read only) (future use); p 118.
OUTA
a
Output Register for 32-bit port A; p 175.
OUTB
a
Output Register for 32-bit port B (future use); p 177.
CNT
a
32-bit System Counter Register (read only); p 73.
CTRA
a
Counter A Control Register; p 95.
CTRB
a
Counter B Control Register; p 95.
FRQA
a
Counter A Frequency Register; p 111.
FRQB
a
Counter B Frequency Register; p 111.
PHSA
a
Counter A Phase-Locked Loop (PLL) Register; p 180.
PHSB
a
Counter B Phase-Locked Loop (PLL) Register; p 180.
VCFG
a
Video Configuration Register; p 213.
VSCL
a
Video Scale Register; p 216.
PAR
a
Cog Boot Parameter Register (read only); p 178.
SPR Special-Purpose Register array; indirect cog register access; p 200.
Propeller Manual v1.1 · Page 41