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

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
WAITPNE
Instruction: Pause a cog’s execution until I/O pin(s) do not match designated state(s).
WAITPNE
Explanation
WAITPNE
WAITPNE
instruction pauses the cog until the result of
in the State register.
execution;
INA
page 328.
If the
zero.
–INSTR– ZCRI –CON–
111101 000i 1111 ddddddddd sssssssss
). The
WZ
, “Wait for Pin(s) to Not Equal,” is one of four wait instructions (
, and
State
with Mask.
Mask
before the comparison with State.
effect is specified, the Z flag will be set (1) if the result of
State,
INA
WAITPNE
(s-field) is the register or a 9-bit literal whose value is bitwise ANDed with
WAITVID
(d-field) is the register with the target state(s) to compare against
if C = 0,
#
Mask
instruction behaves similar to Spin’s
) used to pause execution of a cog until a condition is met. The
IN
–DEST–
INB
x is either
if C = 1 (the P8X32A is an exception to this rule; it always tests
5: Assembly Language Reference –
–SRC–
INA
or
INB
IN
x ANDed with Mask does not match the value
Result = 0
Z Result
depending on the value of the C flag upon
WAITPNE
Propeller Manual v1.0 · Page 413
C Result
---
command; see
IN
x ANDed with Mask is
WAITCNT
Not Written
Result
IN
WAITPNE
,
x ANDed
WAITPEQ
WAITPNE
Clocks
5+
IN
on
x
,

Related parts for 122-32000