Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->DEC

DEC    Decrement Memory

M - 1 -> M

Condition Code Register:

C  Not affected
V  Set if operand=%10000000 before execution, else cleared
Z  Set if result Zero, else cleared
N  Set if result Negative, else cleared
I  Not affected
H  Not affected


    
Addressing modeAssembler syntax
Index X:DEC <exprn.>,X
Index Y:DEC <exprn.>,Y
Extend:DEC <exprn.>