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

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
DAT
Declare a Data Block.
DAT
DAT
Explanation
A Data Block is a section of source code that contains pre-defined data, memory reserved for
run-time use and Propeller Assembly code. This is one of six special declarations (
OBJ
Data blocks are multi-purpose sections of source code that are used for data tables, run-time
workspace, and Propeller Assembly code. Assembly code and data can be intermixed, if
necessary, so that data is loaded into a cog along with the assembly code.
Declaring Data (Syntax 1)
Data is declared with a specific alignment and size (
should be stored in memory. The location where data is actually stored depends on the
structure of the object and the application it is compiled into since data is included as part of
the compiled code.
For example:
Page 208 · Propeller Manual v1.0
Symbol
Symbol
,
PUB
– Spin Language Reference
,
Symbol
Alignment is the desired alignment and default size (
elements that follow.
Size
immediately following it; alignment is unchanged.
Data
Quoted strings of characters are also allowed; they are treated as a comma-separated
list of characters.
Condition
Instruction
Effect(s)
instruction to be written or not,
PRI
〉 〈
Alignment
Condition
, and
is the desired size (
is a constant expression or comma-separated list of constant expressions.
is an optional name for the data, reserved space, or instruction that follows.
is/are one, two or three assembly language effects that cause the result of the
is an assembly language condition,
DAT
is an assembly language instruction,
) that provide inherent structure to the Spin language.
Size
Instruction
〉 〈
Data
〉 〈
,
Effect(s)
BYTE
Size
NR
,
,
Data
WORD
WR
,
WC
, or
, or
IF_C
WZ
LONG
BYTE
ADD
.
,
) of the following data element
,
IF_NC
,
SUB
WORD
BYTE
,
,
MOV
, or
IF_Z
,
, etc., and all its operands.
WORD
LONG
, etc.
, or
) to indicate how it
LONG
) of the data
CON
,
VAR
,

Related parts for 122-32000