Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->CBA
CBA Compared Accumulator B with Accumulator A
This is a 6800 opcode which is translated into:
PSHS B
CMPA ,S+
Condition Code Register:
H Undefined
N Set if result Negative, else cleared
Z Set if result Zero, else cleared
V Set on overflow, else cleared
C Set if borrow, else cleared
Addressing mode | No of cycles | No of bytes |
Implied | 9 | 4 |