
MAXQ612/MAXQ622 User’s Guide
16-8 Maxim Integrated
{L/S} JUMP C/{L/S} JUMP NC, src
{L/S} JUMP Z/{L/S} JUMP NZ, src
{L/S} JUMP E/{L/S} JUMP NE, src
{L/S} JUMP S, src
Conditional {Long/Short} Jump on Status Flag
Description:
Performs conditional branching based upon the state of a specific processor status flag. JUMP C
results in a branch if the Carry flag is set while JUMP NC branches if the Carry flag is clear. JUMP
Z results in a branch if the Zero flag is set while JUMP NZ branches if the Zero flag is clear. JUMP E
results in a branch if the Equal flag is set while JUMP NE branches if the Equal flag is clear. JUMP
S results in a branch if the Sign flag is set. Program branches can be relative or absolute depending
upon the src specifier and may be qualified by using the ‘L’ or ‘S’ prefixes as documented in the
JUMP src opcode. Special src restrictions apply to JUMP E and JUMP NE.
Status Flags:
None
JUMP C
Operation:
C=1: IP ← IP + src (relative) –or— src (absolute)
C=0: IP ← IP + 1
Encoding:
15
0
f010
1100 ssss ssss
Example(s):
JUMP C, label1 ; C=0, branch not taken
JUMP NC
Operation:
C=0: IP ← IP + src (relative) –or— src (absolute)
C=1: IP ← IP +1
Encoding:
15
0
f010
1100 ssss ssss
Example(s):
JUMP NC, label1 ; C=0, branch taken
JUMP Z
Operation:
Z=1: IP ← IP + src
Z=0: IP ← IP + 1
Encoding:
15
0
f001
1100 ssss ssss
Example(s):
JUMP Z, label1 ; Z=1, branch taken
JUMP NZ
Operation:
Z=0: IP ← IP + src (relative) –or— src (absolute)
Z=1: IP ← IP + 1
Encoding:
15
0
f101
1100 ssss ssss
Example(s):
JUMP NZ, label1 ; Z=1, branch not taken
Comentários a estes Manuais