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

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
PUB GetData | Temp
This example is similar to the previous one except that it uses the
value stored at the address of
page 236, for more information on reading and writing main memory.
Writing Propeller Assembly Code (Syntax 2)
In addition to numerical and string data, the Data Block is used for Propeller Assembly code.
For example,
DAT
Loop
:arg
This example contains optional symbols, “
the required instruction field,
Note that any dual commands (those available in both Spin and Propeller Assembly) that are
used in a
are used outside of a
WZ
MyData
Temp := BYTE[@MyData][0]
.”
if_z jmp
DAT
block are treated as assembly instructions. Conversely, any dual commands that
byte $FF, 25, %1010
org
rdlong
movd
mov
DAT
block are treated as Spin commands.
t1, par
#Loop
:arg, #arg0
t2, t1
ORG
MyData
,
RDLONG
. Refer to
, etc, followed by operands and an effect statement,
Loop
'Get first byte of data table
WZ
4: Spin Language Reference –
” and “:
BYTE
'reset address pointer
'wait for command
'jump of zero
'get 8 arguments
, page 165;
arg
”, an optional conditional, “
Propeller Manual v1.0 · Page 211
BYTE
WORD
, page 331; and
declaration to read the
IF_Z
LONG
”,
,

Related parts for 122-32000