Motorola CPU32 Reference Manual page 175

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

Advertisement

II
NEGX
Negate with Extend
NEGX
Operation:
Assembler
Syntax:
Attributes:
o -
(Destination) - X
~
Destination
NEGX(ea)
Size
=
(Byte, Word, Long)
Description:
Subtracts the destination operand and the extend bit from zero. 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.
NOTE
Normally, the Z condition bit is set via programming before the start of the
operation. This allows successful tests for zero results upon completion of
multiple preCision operations.
Instruction Format:
15
14
13
12
11
10
9
8
0
1
0
0
0
0
0
0
Instruction Fields:
Size field - Specifies the size of the operation.
00 - Byte operation
01 - Word operation
10 - Long operation
7
6
5
4
3
2
EFFECTIVE ADDRESS
SIZE
I
MODE
REGISTER
o
MOTOROLA
4-122
INSTRUCTION SET
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents