Motorola CPU32 Reference Manual page 173

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

Advertisement

NEG
Negate
NEG
Operation:
0 - (Destination)
=:::}
Destination
Assembler
Syntax:
NEG (ea)
. Attributes:
Size
=
(Byte, Word, Long)
Description:
Subtracts the destination operand from zero and stores the result in the destination
location.
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 Cleared if the result is zero. Set otherwise.
Instruction Format:
15
14
13
12
11
10
9
8
0
1
0
0
0
1
0
0
Instruction Fields:
Size field - Specifies the size of the operation.
00 - Byte operation
01 - Word operation
10 -
Long operation
7
SIZE
MOTOROLA
4-120
INSTRUCTION SET
6
5
4
3
2
o
EFFECTIVE ADDRESS
MODE
I
REGISTER
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents