Motorola CPU32 Reference Manual page 207

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

Advertisement

III
SUBQ
Operation:
Assembler
Syntax:
Attributes:
Subtract Quick
SUBQ
Destination - Immediate Data
~
Destination
SUBQ #(data), (ea)
Size
=
(Byte, Word, Long)
Description:
Subtracts the immediate data (1-8) from the destination operand. Only word and long
operations are allowed with address registers, and the condition codes are not affected. When
subtracting from address registers, the entire destination address register is used, regardless of
the operation size.
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 Set if the result is zero. Cleared otherwise.
V Set if an overflow occurs. Cleared otherwise.
C Set if a borrow occurs. Cleared otherwise.
Instruction Format:
15
14
13
12
11
10
9
8
0
1
0
1
DATA
1
7
SIZE
MOTOROLA
4-154
INSTRUCTION SET
6
5
4
3
2
o
EFFECTIVE ADDRESS
MODEl
REGISTER
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents