Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->INC
 INC     Increment Accumulator or Memory
INCA
INCB
INC
A <- A + 1 or B <- B + 1 or M <- M + 1
Condition Code Register:
H  Not affected
N  Set if result Negative, else cleared
Z  Set if result Zero, else cleared
V  Set if operand was &7F, else cleared
C  Not affected
     
| Addressing mode | No of cycles | No of bytes | 
| Inherent: | 2 | 1 | 
| Direct: | 6 | 2 | 
| Extended: | 7 | 3 | 
| Index/Indirect: | 6+ | 2+ |