Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->CMPA

Compare Accumulator A with Memory

Compatibility: 6800, 6802, 6803, 6303R, 6303X, 6303Y

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 modeopcycbytesAssembler syntax
Immed.:8122CMPA #<exprn.>
Direct:9132CMPA <exprn.>
Index :A142CMPA <exprn.>,X
Extend:B143CMPA <exprn.>