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

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
RES
Directive: Reserve next long(s) for symbol.
Explanation
The
compile-time cog address pointer by Count. Normally this is used to reserve memory for an
assembly symbol. For example:
DAT
Delay
Time
The last line of the above example reserves one long of Cog RAM for the symbol
assembly code uses that symbol as a long variable; to create a delay of 6 million clock cycles,
in this case.
Page 398 · Propeller Manual v1.0
Symbol
RES
– Assembly Language Reference
〉 RES 〈
Symbol
Count
reserves one long.
(reserve) directive reserves one or more longs of Cog RAM by incrementing the
long
RES
is the optional number of longs to reserve for Symbol. If not specified,
Count
is an optional name for the reserved long in Cog RAM.
ORG
<some code here>
mov
add
waitcnt Time, Delay
<some code here>
6_000_000
1
0
Time, cnt
Time, Delay
Time
. The
RES

Related parts for 122-32000