Motorola CPU32 Reference Manual page 205

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

Advertisement

SUBI
Operation:
Assembler
Syntax:
Attributes:
Subtract Immediate
SUBI
Destination - Immediate Data
=>
Destination
SUBI #(data), (ea)
Size
=
(Byte, Word, Long)
Description:
Subtracts the immediate data from the destination operand and stores the result in the
destination location. The size of the immediate data must match 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
0
0
0
0
1
0
0
WORD DATA (16 BITS)
7
6
SIZE
LONG DATA (32 BITS)
MOTOROLA
4-152
INSTRUCTION SET
5
4
3
2
o
EFFECTIVE ADDRESS
MODE
I
REGISTER
BYTE DATA (8 BITS)
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents