User's Manual

THE
80286
INSTRUCTION SET
INC-Increment
by 1
Opcode
FE
/0
FF
/0
40+rw
Instruction
INC eb
"INC
ew
INC
rw
FLAGS MODIFIED
Clocks
2,mem=7
2,mem=7
2
Overflow, sign, zero, auxiliary carry, parity
FLAGS UNDEFINED
None
OPERATION
Description
Increment
EA
byte by 1
Increment
EA
word by 1
Increment word register by 1
1
is
added to the operand. Note that the carry flag
is
not changed by this instruction.
If
you
want the
carry flag;set, use the ADD instruction with a second operand of
1.
PROTECTED MODE EXCEPTIONS
#GP(O)
if the operand
is
in a non-writable segment.
#GP(O)
for an illegal memory operand effective
address in the
CS!
DS, or ES segments;
#SS(O)
for an illegal address
in
the SS segment.
REAL ADDRESS MODE EXCEPTIONS
Interrupt
13
for a word operand
at
offset
OFFFFH.
8-46