122-32000 Parallax Inc, 122-32000 Datasheet - Page 4

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Page 316:
Additional section after the Scope of Variables section:
Page 331, 333:
WORD syntax should be the following:
New paragraphs at end of
© Parallax, Inc. • Supplement/Errata for Propeller Manual v1.0 (#122-32000) • v1.1 12/11/2006 • Page 4 of 7
The above example declares a long-aligned, long-sized data table, called
consisting of the following four values: 640000, $BB50, $BB50, $BB50. There were
three occurrences of $BB50 due to the
Organization of Variables
During compilation of an object, all declarations in its collective Variable Blocks are
group together by type. The variables in RAM are arranged with all the longs first,
followed by all words, and finally by all bytes. This is done so that RAM space is
allocated efficiently without unnecessary gaps. Keep this in mind when writing code that
accesses variables indirectly based on relative positions to each other.
VAR
DAT
((PUB ┆ PRI))
((PUB ┆ PRI))
Data items may be repeated by using the optional Count field. For example:
DAT
Symbol
WORD
WORD
MyData
Symbol
Symbol
is
Count
Symbol
store in a data table.
Data
BaseAddress
write. If Offset is omitted, BaseAddress is the actual address to operate on. If
Offset is specified, BaseAddress + Offset is the actual address to operate on.
Offset
on, or the offset from byte 0 of Symbol.
Symbol
[BaseAddress]
.WORD 〈
the existing name of the variable (Syntax 4).
WORD
is a constant expression or comma-separated list of constant expressions.
is an optional expression indicating the number of word-sized elements for
is an optional expression indicating the offset from BaseAddress to operate
is the desired name for the variable (Syntax 1)
(Syntax 1), or the number of word-sized entries of Data (Syntax 2) to
[Count]
[Offset]
Data
word 640, $AAAA[4], 5_500
Word Data Declaration (Syntax 2)
is an expression describing the address of main memory to read or
[Count]
[Offset]
[3]
in the declaration immediately after it.
section, page 333:
or data block (Syntax 2)
MyData
or
,

Related parts for 122-32000