Intel 8XC251SQ Microscope & Magnifier User Manual


 
8XC251SA, SB, SP, SQ USER’S MANUAL
A-76
JSLE rel
Function: Jump if less than or equal (signed)
Description: If the Z flag is set OR if the the N flag and the OV flag have different values, branch to the
address specified; otherwise proceed with the next instruction. The branch destination is
computed by adding the signed relative displacement in the second instruction byte to the
PC, after incrementing the PC twice.
Flags:
Example: The instruction
JSLE LABEL1
causes program execution to continue at LABEL1 if the Z flag is set OR if the N flag and the
OV flag have different values.
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 33 22
States: 25 14
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: JSLE
(PC) (PC) + 2
IF {(Z) = 1 OR [(N) (OV)]}
THEN (PC) (PC) + rel
JZ rel
Function: Jump if accumulator zero
Description: If all bits of the accumulator are clear (zero), branch to the address specified; otherwise
proceed with the next instruction. The branch destination is computed by adding the signed
relative displacement in the second instruction byte to the PC, after incrementing the PC
twice. The accumulator is not modified.
Flags:
CY AC OV N Z
—— ! ! !
[Encoding] 0 0 0 0 1 0 0 0 rel. addr
CY AC OV N Z
———— !