ADC
ADD Carry.
Description
ADC adds the contents of a memory location to the accumulator, setting the carry flag if necessary.
| Flags affected | ||||||
|---|---|---|---|---|---|---|
| N | Z | C | I | D | V | |
| + | + | + | - | - | + | |
| Addressing Modes | Assembly | OpCode | No. Bytes. | No. Cycles |
|---|---|---|---|---|
| Immediate | ADC #Oper | 69 | 2 | 2 |
| Zero Page | ADC Oper | 65 | 2 | 3 |
| Zero Page, X | ADC Oper, X | 75 | 2 | 4 |
| Absolute | ADC Oper | 6D | 3 | 4 |
| Absolute, X | ADC Oper, Y | 7D | 3 | 4 [ 1 ] |
| Absolute, Y | ADC Oper, Y | 79 | 3 | 4 [ 1 ] |
| (Indirect, X) | ADC ( Oper, X ) | 61 | 2 | 6 |
| (Indirect), Y | ADC ( Oper ), Y | 71 | 2 | 5 [ 1 ] |
[ 1 ] Add 1 if not on the same page.
page revision: 2, last edited: 15 Jul 2012 06:34





