Motorola CPU32 Reference Manual page 70

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

ADDQ
Operation:
Assembler
Syntax:
Attributes:
Description:
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
*
*
*
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
0
1
0
MOTOROLA
4-22
Add Quick
Immediate Data + Destination → Destination
ADDQ #〈data〉, 〈ea〉
Size = (Byte, Word, Long)
Adds an immediate value in the range (1–8) to the operand at the
V
C
*
*
12
11
10
9
1
DATA
INSTRUCTION SET
8
7
6
5
0
SIZE
ADDQ
4
3
2
1
EFFECTIVE ADDRESS
MODE
REGISTER
REFERENCE MANUAL
0
CPU32

Advertisement

Table of Contents
loading

Table of Contents