Motorola CPU32 Reference Manual page 195

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

SUBI
Operation:
Assembler
Syntax:
Attributes:
Description:
stores the result in the destination location. The size of the immediate data must
match the operation size.
Condition Codes:
X
N
Z
*
*
*
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
0
0
0
WORD DATA (16 BITS)
CPU32
REFERENCE MANUAL
Subtract Immediate
Destination – Immediate Data → Destination
SUBI #〈data〉, 〈ea〉
Size = (Byte, Word, Long)
Subtracts the immediate data from the destination operand and
V
C
*
*
12
11
10
9
0
0
1
0
LONG DATA (32 BITS)
INSTRUCTION SET
8
7
6
5
0
SIZE
BYTE DATA (8 BITS)
SUBI
4
3
2
1
EFFECTIVE ADDRESS
MODE
REGISTER
MOTOROLA
0
4-147

Advertisement

Table of Contents
loading

Table of Contents