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

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
The Propeller does not use a call stack, so the return address must be stored at the location of
the routine’s
instruction; in fact, it is the same opcode as
developer, rather than the assembler. See
The return address is written to the RetInstAddr register unless the
LOCKCLR
Instruction: Clear lock to false and get its previous state.
LOCKCLR
Result: Optionally, previous state of lock is written to C flag.
Explanation
LOCKCLR
manage resources that are user-defined and deemed mutually-exclusive.
lock described by the register ID to zero (0) and returns the previous state of that lock in the
C flag; if the
command; see
LOCKCLR
depending on the relation between the cog’s hub access window and the instruction’s moment
of execution. See Hub on page 24 for more information.
–INSTR– ZCRI –CON–
000011 0001 1111 ddddddddd ------111
ID
is one of four lock instructions (
is a Hub instruction. Hub instructions require 7 to 22 clock cycles to execute
ID
(d-field) is the register containing the ID (0 – 7) of the lock to clear.
WC
RET
LOCKCLR
effect is specified. The
, or returning
–DEST–
on page 228.
5: Assembly Language Reference –
JMP
–SRC–
, command itself.
LOCKCLR
CALL
LOCKNEW
CALL
on page 360 for more information.
Z Result
instruction behaves similar to Spin’s
but the i-field and d-field configured by the
---
,
LOCKRET
JMPRET
,
Prior Lock State
LOCKSET
Propeller Manual v1.0 · Page 375
C Result
is a superset of the
NR
effect is specified.
, and
LOCKCLR
Not Written
LOCKCLR
Result
clears the
) used to
LOCKCLR
Clocks
7..22
CALL

Related parts for 122-32000