Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->NEG

NEG   Negate (Twos Complement) Accumulator or Memory
NEGA
NEGB
NEG

A <- 00 - A or B <- 00 - B or M <- 00 _ M


Condition Code Register:

H  Undefined
N  Set if result Negative, else cleared
Z  Set if result Zero, else cleared
V  Set if original operand was &80
C  Set if borrow, else cleared

    
Addressing modeNo of cyclesNo of bytes
Implied:21
Direct:62
Extended:73
Index/Indirect:6+2+