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

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
BYTEMOVE
Copy bytes from one region to another in main memory.
((PUB ┆ PRI))
Explanation
BYTEMOVE
of main memory from one area to another.
starting from SrcAddress to main memory starting at DestAddress.
Using BYTEMOVE
BYTEMOVE
VAR
PUB Main
The first line of the
array.
Page 170 · Propeller Manual v1.0
BYTEMOVE
byte
byte
bytemove(@Buff2, @Buff1, 100)
BYTEMOVE
DestAddress
byte of source to.
SrcAddress
source to copy.
Count
destination.
is a great way to copy large blocks of byte-sized memory. For example:
is one of three commands (
Buff1[100]
Buff2[100]
(DestAddress, SrcAddress, Count )
is an expression indicating the number of bytes of the source to copy to the
is faster at this task than a dedicated
– Spin Language Reference
is an expression specifying the main memory location of the first byte of
is an expression specifying the main memory location to copy the first
Main
method, above, copies the entire 100-byte
BYTEMOVE
BYTEMOVE
,
'Copy Buff1 to Buff2
WORDMOVE
REPEAT
copies Count bytes of main memory
, and
loop.
LONGMOVE
Buff1
) used to copy blocks
array to the
Buff2

Related parts for 122-32000