[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ADC Add with Carry Flags: O D I T S Z A P C
* * * * * *
ADC destination,source
Logic: destination . destination + source + CF
ADC adds the operands, adds 1 if the Carry Flag is set, and places the
resulting sum in destination. Both operands may be bytes or words, and
both may be signed or unsigned binary numbers.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
byte(word)
register, register 3 - 2 ADC BX,SI
register, immediate 4 - 3-4 ADC CX,128
accumulator, immediate 4 - 2-3 ADC AL,10
register, memory 9(13) + EA 1 2-4 ADC DX,RESULT
memory, register 16(24) + EA 2 2-4 ADC BETA,DI
memory, immediate 17(25) + EA 2 3-6 ADC GAMMA,16h
--------------------------------------------------------------------------
Note: ADC is useful for adding numbers that are larger
than 16 bits, since it adds a carry from a previous
operation.
See Also:
ADD
INC
AAA
DAA
EA
Flags
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson