Intel 8XC251SQ Microscope & Magnifier User Manual


 
A-43
INSTRUCTION SET REFERENCE
Hex Code in: Binary Mode = [Encoding]
Source Mode = [A5][Encoding]
Operation: (PC) (PC) + 3
IF ((Ri)) #data
THEN
(PC) (PC) + relative offset
IF ((Ri)) < #data
THEN
(CY) 1
ELSE
(CY) 0
CJNE Rn,#data,rel
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 3 3 4 4
States: 25 36
Hex Code in: Binary Mode = [Encoding]
Source Mode = [A5][Encoding]
Operation: (PC) (PC) + 3
IF (Rn) #data
THEN
(PC) (PC) + relative offset
IF (Rn) < #data
THEN
(CY) 1
ELSE
(CY) 0
CLR A
Function: Clear accumulator
Description: Clears the accumulator (i.e., resets all bits to zero).
Flags:
Example: The accumulator contains 5CH (01011100B). The instruction
CLR A
clears the accumulator to 00H (00000000B).
[Encoding] 1 0 1 1 0 1 1 i immed. data rel. addr
[Encoding] 1 01 1 1 r r r immed. data rel. addr
CY AC OV N Z
———✓✓