Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->CMPA
CMPA Compare Accumulator A with Memory
A - M
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.: | CMPA #<exprn.> |
| Direct: | CMPA <exprn.> |
| Index X: | CMPA <exprn.>,X |
| Index Y: | CMPA <exprn.>,Y |
| Extend: | CMPA <exprn.> |