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