Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->CPD
CPD Compare Double Accumulator
D - M:(M+1)
Condition Code Register:
C Set if carry generated, else cleared
V Set on overflow, else cleared
Z Set if result Zero, else cleared
N Set if result Negative, else cleared
I Not affected
H Not affected
| Addressing mode | Assembler syntax |
| Immed.: | CPD #<exprn.> |
| Direct: | CPD <exprn.> |
| Index X: | CPD <exprn.>,X |
| Index Y: | CPD <exprn.>,Y |
| Extend: | CPD <exprn.> |