Motorola CPU32 Reference Manual page 75

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

Advertisement

III
ADD
Operation:
Assembler
Syntax:
Attributes:
Add
Source
+
Destination
=>
Destination
ADD( ea), Dn
ADD Dn, (ea)
Size
=
(Byte, Word, Long)
ADD
Description:
Adds the source operand to the destination operand using binary addition, and stores
the result in the destination location. The mode of the instruction indicates which operand is the
source and which is the destination as well as the operand 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 is generated. Cleared otherwise.
C Set if a carry is generated. Cleared otherwise.
Instruction Format:
15
14
13
12
11
10
9
8
7
1
1
0
1
REGISTER
OPMODE
Instruction Fields:
6
Register field - Specifies any of the eight data registers.
Opmode field:
5
Byte
000
100
Word
001
101
Long
010
110
Operation
(ea)
+
(On)
=>
(On)
(On)
+
(ea)
=>
(ea)
MOTOROLA
4-22
INSTRUCTION SET
4
3
o
EFFECTIVE ADDRESS
MODE
I
REGISTER
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents