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

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
accessed from any
they are global to the object. An example of this is below.
PUB SomeMethod
For more information about using
Declarations (Syntax 1) on page 315, and keep in mind that
that description.
Long Data Declaration (Syntax 2)
In
compiled as constant values in main memory.
optional symbol preceding it which can be used for later reference (see
example:
DAT
The above example declares two data symbols,
of long-aligned and long-sized data in main memory.
640,000 and $0000BB50, respectively.
creates a byte-aligned but long-sized set of data in main memory.
memory, are $FF995544 and 1,000, respectively. When accessed a byte at a time,
contains $44, $55, $99, $FF, 232 and 3, 0 and 0 since the data is stored in little-endian
format.
Note:
reference were replaced with “
This data is compiled into the object and resulting application as part of the executable code
section and may be accessed using the read/write form, syntax 3, of
more information about using
(Syntax 1) on page 208, and keep in mind that
description.
Temp := 25_000_000
List[0] := 500_000
List[1] := 9_000
List[24] := 60
MyData long 640_000, $BB50
MyList byte long $FF995544, long 1_000 'Byte-aligned/long-sized
DAT
blocks, syntax 2 of
MyList
could have been defined as word-aligned, long-sized data if the “
PUB
or
PRI
LONG
method within the same object that this
word
LONG
is used to declare long-aligned, and/or long-sized data that is
”.
LONG
in this way, refer to the
'Set Temp to 25,000,000
'Set first element of List to 500,000
'Set second element of List to 9,000
'Set last element of List to 60
MyList
in this way, refer to the
4: Spin Language Reference –
MyData
DAT
uses a special
blocks allow this declaration to have an
LONG
MyData
and
is used for the Size field in that
'Long-aligned/sized data
MyList
LONG
’s values, in main memory, are
Propeller Manual v1.0 · Page 237
DAT
DAT
is used for the Size field in
.
block syntax of
section’s Declaring Data
MyData
MyList
VAR
VAR
LONG
DAT
block was declared;
section’s Variable
’s values, in main
(see below). For
points to the start
, page 208). For
LONG
MyList
byte
that

Related parts for 122-32000