Motorola CPU32 Reference Manual page 209

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

Advertisement

SUBX
Operation:
Assembler
Syntax:
Attributes:
Subtract with Extend
Destination - Source - X
=>
Destination
SUBX Dx, Dy
SUBX -(Ax), -(Ay)
Size
=
(Byte, Word, Long)
SUBX
Description:
Subtracts the source operand and the extend bit from the destination operand and
stores the result in the destination location. The instruction has two modes:
1. Register to register: Data registers specified by the instruction contain the operands.
2. Memory to memory: Address registers specified by the instruction access operands from
memory using predecrement addressing mode.
Condition Codes:
X
N
z
v
c
X Set to the value of the carry bit.
N Set if the result is negative. Cleared otherwise.
Z Cleared if the result is nonzero. Unchanged otherwise.
V Set if an overflow occurs. Cleared otherwise.
C Set if a carry occurs. Cleared otherwise.
NOTE
Normally the Z condition code bit is set via programming before the start of an
operation. This allows successful tests for zero results upon completion of
multiple-precision operations.
MOTOROLA
4-156
INSTRUCTION SET
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents