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

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
LONGFILL
Fill longs of main memory with a value.
((PUB ┆ PRI))
Explanation
LONGFILL
main memory with a specific value.
starting at location StartAddress.
Using LONGFILL
LONGFILL
VAR
PUB Main
The first line of the
all zeros.
Page 240 · Propeller Manual v1.0
LONGFILL
long
longfill(@Buff, 0, 100)
StartAddress
with Value.
Value
Count
StartAddress.
is one of three commands (
is a great way to clear large blocks of long-sized memory. For example:
LONGFILL
Buff[100]
(StartAddress, Value, Count )
is an expression indicating the value to fill longs with.
is an expression indicating the number of longs to fill, starting with
– Spin Language Reference
is faster at this task than a dedicated
is an expression indicating the location of the first long of memory to fill
Main
method, above, clears the entire 100-long (400-byte)
BYTEFILL
WORDFILL
'Clear Buff to 0
,
fills Count longs of main memory with Value,
WORDFILL
REPEAT
, and
LONGFILL
loop is.
) used to fill blocks of
Buff
array to

Related parts for 122-32000