Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->ADD
ADD ADD Memory to Accumulator
ADDA
ADDB
ADDD
A <- A + M or B <- B + M or D <- D + M
Condition Code Register:
H Set if half-carry, else cleared
N Set if result Negative, else cleared
Z Set if result Zero, else cleared
V Set on overflow, else cleared
C Set if carry generated, else cleared
Addressing mode | No of cycles | No of bytes |
Immed.: | 2 (4) | 2 (3) |
Direct: | 4 (6) | 2 (2) |
Extended: | 5 (7) | 3 (3) |
Index/Indirect: | 4+ (6+) | 2+ (2+) |