[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
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.
See Also:
ADD
ADC
AAA
DAA
DEC
EA
Flags
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson