Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->ADDQ
ADDQ Add Quick
Compatibility: 68000, 68010, 68020, CPU32 families
Destination + Immediate Data -> Destination
where the immediate data may range from 1 to 8
Assembler Syntax: ADDQ #<data>,<ea>
<ea> - alterable only
Size: Byte, Word or 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 |
ADDQ | #(data),Dn | |
ADDQ | #(data),An (not byte) | |
ADDQ | #(data),(An) | |
ADDQ | #(data),(An)+ | |
ADDQ | #(data),-(An) | |
ADDQ | #(data),(d16,An) | |
ADDQ | #(data),(d8,An,Xn) | |
ADDQ | #(data),(bd,An,Xn) 2 | |
ADDQ | #(data),([bd,An,Xn],od) 1 | |
ADDQ | #(data),([bd,An],Xn,od) 1 | |
ADDQ | #(data),(xxx).W | |
ADDQ | #(data),(xxx).L |