A-17
INSTRUCTION SET REFERENCE
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 16 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 16 bits.
PSW Flag Settings
ZNCVVTST
——————
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format