
67
modes, are available. If any I/O port is incremented or
decremented by these instructions, then the data is
taken from the output latch of that port and not from the
input pins.
The INC instruction may also be used to increment
the 16-bit register, DPTR, by one. Three more instructions,
namely MUL, DIV and DA A, are indicated and would be
discussed in details in Chapter 12.
POINTS TO REMEMBER
● There is no Z fl ag in 8051. The accumulator must
be physically checked by the processor for any
zero result.
● There is no DEC (decrement by one) instruction
applicable for DPTR. Only INC is available for this
register.
REVIEW QUESTIONS
REVIEW QUESTIONS ...