INC Increment Flags: O D I T S Z A P C
* * * * *
INC destination
Logic: destination destination + 1
INC adds 1 to the destination. The destination, which may be either a
byte or a word, is considered an unsigned binary number.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
byte(word)
reg16 2 - 1 INC BX
reg8 3 - 2 INC BL
memory 15(23) + EA 2 2-4 INC THETA[BX]
--------------------------------------------------------------------------
Note: This instruction does not set the carry flag. If
you need to add 1 to a multi-word number, it is
better to use the ADD and ADC instructions instead.
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster