Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->ADDQ

ADDQ   Add Quick

Destination + Immediate Data -> Destination

where the immediate data may range from 1 to 8

Assembler Syntax:  ADDQ.L #<data>,<ea>

Size: Long

Add immediate data with value of between one and eight to the destination operand and store the result in the destination location.

Condition Codes:

N  Set if result negative, else cleared
Z  Set if result zero, else cleared
V  Set if overflow, else cleared
C  Set if carry generated, else cleared
X  Set same as carry

The Condition Codes are not affected if <ea> is an address register

    
Allowable Addressing Modes
    
#(data),Dn
#(data),An  (not byte)
#(data),(An)
#(data),(An)+
#(data),-(An)
#(data),(d16,An)
#(data),(d8,An,Xn)
#(data),(xxx).W
#(data),(xxx).L