Maxim Integrated MAX31782 User Manual
Page 192

MaximIntegrated 20-9
MAX31782 User’s Guide
Revision 0; 8/11
{L/S}JUMPC/{L/S}JUMPNC,src,
Conditional {Long/Short} Jump on Status Flag
L/S}JUMPZ/{L/S}JUMPNZ,src,
{{L/S}JUMPE/{L/S}JUMPNE,src,
{L/S}JUMPS,src
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 docu- mented in the
JUMP src op code . Special src restrictions apply to JUMP E and JUMP NE .
StatusFlags:
None
JUMPC
C=1: IP
← IP + src (relative) -or- src (absolute)
Operation:
C=0: IP
← IP + 1
Encoding:
15
0
f010
1100
ssss
ssss
Example(s):
JUMP C, label1
; C=0, branch not taken
JUMPNC
C=0: IP
← IP + src (relative) -or- src (absolute)
Operation:
C=1: IP
← IP +1
Encoding:
15
0
f110
1100
ssss
ssss
Example(s):
JUMP NC, label1
; C=0, branch taken
JUMPZ
Z=1: IP
← IP + src
Operation:
Z=0: IP
← IP + 1
Encoding:
15
0
f001
1100
ssss
ssss
Example(s):
JUMP Z, label1
; Z=1, branch taken