Immediate Data + Destination -->; Destination
Compatibility: 68000 Family
ADDQ #<data>, <ea>
Attributes: Size = (Byte, Word, Long)
Description: Adds the immediate data one through eight to the
destination operand, and stores the result in the destination
location. The size of the operation may be specified as byte,
word, or long. Only word and long operations are allowed
with address registers, and the condition codes are not
affected. When subtracting from address registers, the
entire destination address register is used, regardless of the
X Set the same as the carry bit.
N Set if the result is negative. Cleared otherwise.
Z Set if the result is zero. Cleared otherwise.
V Set if an overflow is generated. Cleared otherwise.
C Set if a carry is generated. Cleared otherwise.
Data field -- Three bits of immediate data; 1-7 represents
immediate values of 1-7, and zero represents eight.
Size field -- Specifies the size of the operation:
00 -- Byte operation.
01 -- Word operation.
10 -- Long operation.
Effective Address field -- Specifies the destination operand. Only
data alterable addressing modes are allowed as shown:
* Only word and long operations can be used with the Address
Register Direct addressing mode.