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

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
When the
TJZ
it must jump it takes 4 clock cycles, if no jump occurs it takes 8 clock cycles.
WAITCNT
Instruction: Pause a cog’s execution temporarily.
WAITCNT
Result: Target + Delta is stored in Target.
Explanation
WAITCNT
WAITPNE
instruction pauses the cog until the global System Counter equals the value in the Target
register, then it adds Delta to Target and execution continues at the next instruction. The
WAITCNT
see
If the
the
32-bit carry (overflow). The result will be written to Target unless the
–INSTR– ZCRI –CON–
111110 001i 1111 ddddddddd sssssssss
WAITCNT
WC
requires a different amount of clock cycles depending on whether or not it has to jump. If
WZ
effect is specified, the C flag will set (1) if the sum of Target and Delta resulted in a
, “Wait for System Counter,” is one of four wait instructions (
, and
Target
Counter (
to Target.
Delta
preparation for the next
window.
effect is specified, the Z flag will be set (1) if the sum of Target and Delta is zero. If
instruction behaves similar to Spin’s
WZ
Target,
on page 322.
effect is specified, the Z flag is set (1) if the Value register contains zero.
(s-field) is the register or a 9-bit literal whose value is added to Target’s value in
WAITVID
(d-field) is the register with the target value to compare against the System
CNT
#
). When the System Counter has reached Target’s value, Delta is added
Delta
) used to pause execution of a cog until a condition is met. The
–DEST–
5: Assembly Language Reference –
WAITCNT
–SRC–
instruction. This creates a synchronized delay
Result = 0
WAITCNT
Z Result
command for Synchronized Delays;
Unsigned Carry
Propeller Manual v1.0 · Page 411
C Result
NR
effect is specified.
WAITCNT
Result
Written
,
WAITPEQ
WAITCNT
Clocks
5+
,

Related parts for 122-32000