Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->DEC

DEC     Decrement Accumulator or Memory
DECA
DECB
DEC

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 &80, else cleared
C  Not affected

    
Addressing modeNo of cyclesNo of bytes
Inherent:21
Direct:62
Extended:73
Index/Indirect:6+2+