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

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
JMP
Instruction: Jump to address unconditionally.
JMP 〈
Explanation
JMP
RAM.
JMPRET
Instruction: Jump to address with intention to “return” to another address.
JMPRET
Result: PC + 1 is written to the s-field of the register indicated by the d-field.
Explanation
JMPRET
instruction at RetInstAddr, then jumps to DestAddress. The routine at DestAddress should
eventually execute the
(the instruction following the
Page 374 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
010111 000i 1111 --------- sssssssss
010111 001i 1111 ddddddddd sssssssss
sets the Program Counter (PC) to Address causing execution to jump that location in Cog
#
– Assembly Language Reference
stores the address of the next instruction (PC + 1) into the source field of the
Address
RetInstAddr
should be the address of an appropriate
DestAddress
to.
Address
RetInstAddr,
(s-field) is the register or a 9-bit literal whose value is the address to jump to.
(d-field) is the register in which to store the return address (PC + 1); it
(s-field) is the register or 9-bit literal whose value is the address to jump
#
–DEST–
–DEST–
RET
DestAddress
or
JMP
JMPRET
instruction at the RetInstAddr to return to the stored address
–SRC–
–SRC–
).
RET
Result = 0
Result = 0
Z Result
Z Result
or
JMP
instruction for DestAddress.
C Result
C Result
---
---
Not Written
Written
Result
Result
Clocks
Clocks
4
4

Related parts for 122-32000