Motorola CPU32 Reference Manual page 80

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

ADDQ
Operation:
Assembler
Syntax:
Attributes:
Add Quick
ADDQ
Immediate Data + Destination
=>
Destination
ADDQ #(data), (ea)
Size
=
(Byte, Word, Long)
Description:
Adds an immediate value in the range (1-8) to the operand at the destination location.
Word and long operations are allowed on the address registers.
When adding to address
registers, the condition codes are not altered, and the entire destination address register is used,
regardless of the operation size.
Condition Codes:
x
N
z
v
C
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 occurs. Cleared otherwise.
C Set if a carry occurs. Cleared otherwise.
The condition codes are not affected when the destination is an address register.
Instruction Format:
15
14
13
12
11
10
9
8
7
0
1
0
1
DATA
0
SIZE
CPU32 REFERENCE MANUAL
INSTRUCTION SET
6
5
4
3
2
o
EFFECTIVE ADDRESS
MODE
I
REGISTER
MOTOROLA
4-27
III

Advertisement

Table of Contents
loading

Table of Contents