Intel Microcontroller Microscope & Magnifier User Manual


 
A-21
INSTRUCTION SET REFERENCE
INC INCREMENT WORD. Increments the value
of the word operand by 1.
(DEST)
(DEST) + 1
INC wreg
(00000111) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓0
INCB INCREMENT BYTE. Increments the value of
the byte operand by 1.
(DEST)
(DEST) + 1
INCB breg
(00010111) (breg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓
JBC JUMP IF BIT IS CLEAR. Tests the specified
bit. If the bit is set, control passes to the next
sequential instruction. If the bit is clear, this
instruction adds to the program counter the
offset between the end of this instruction and
the target label, effecting the jump. The offset
must be in the range of –128 to +127.
if (specified bit) = 0 then
PC
PC + 8-bit disp
JBC breg,bitno,cadd
(00110bbb) (breg) (disp)
NOTE: The displacement (disp) is sign-
extended to 24 bits.
PSW Flag Settings
ZNCVVTST
——————
JBS JUMP IF BIT IS SET. Tests the specified bit. If
the bit is clear, control passes to the next
sequential instruction. If the bit is set, this
instruction adds to the program counter the
offset between the end of this instruction and
the target label, effecting the jump. The offset
must be in the range of –128 to +127.
if (specified bit) = 1 then
PC
PC + 8-bit disp
JBS breg,bitno,cadd
(00111bbb) (breg) (disp)
NOTE: The displacement (disp) is sign-
extended to 24 bits.
PSW Flag Settings
ZNCVVTST
——————
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format