Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->CMP (8 bit)

CMP     Compare Memory with a Register
CMPA
CMPB


A _ M  or  B _ M

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 modeNo of cyclesNo of bytes
Immediate:22
Direct:42
Extended:53
Index/Indirect:4+2+