Login
Plus/4 EncyclopediaFirstBackNextLast

ADC
Category
Reference/6502 Programming/Assembly

Topic
ADC (ADd with Carry)

Affects Flags: S V Z C

ADC adds the parameter to the Accumulator. ADC results are dependant on the setting of the decimal flag. In decimal mode, addition is carried out on the assumption that the values involved are packed BCD (Binary Coded Decimal). There is no way to add without carry.

Addressing modeSyntaxOpcodeBytesCycles
Immediate addressing modeADC #$44$6922
Zero PageADC $44$6523
Zero Page,XADC $44,X$7524
AbsoluteADC $4400$6D34
Absolute,XADC $4400,X$7D34+
Absolute,YADC $4400,Y$7934+
Indirect,XADC ($44,X)$6126
Indirect,YADC ($44),Y$7125+

+ add 1 cycle if page boundary crossed




See Also
SBC 



Copyright © Plus/4 World Team, 2001-2024