Motorola CPU32 Reference Manual page 76

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

ANDI
Operation:
Assembler
Syntax:
Attributes:
Description:
tion operand and stores the result in the destination location. The size of the immedi-
ate data must match the operation size.
Condition Codes:
X
N
Z
*
*
X
Not affected.
N
Set if the most significant bit of the result is set. Cleared otherwise.
Z
Set if the result is zero. Cleared otherwise.
V
Always cleared.
C
Always cleared.
Instruction Format:
15
14
13
0
0
0
WORD DATA (16 BITS)
Instruction Fields:
Size field — Specifies the size of the operation:
00 — Byte operation
01 — Word operation
10 — Long operation
MOTOROLA
4-28
AND Immediate
Immediate Data • Destination → Destination
ANDI #〈data〉, 〈ea〉
Size = (Byte, Word, Long)
Performs an AND operation of the immediate data with the destina-
V
C
0
0
12
11
10
9
0
0
0
1
LONG DATA (32 BITS)
INSTRUCTION SET
8
7
6
5
0
SIZE
BYTE DATA (8 BITS)
ANDI
4
3
2
1
EFFECTIVE ADDRESS
MODE
REGISTER
REFERENCE MANUAL
0
CPU32

Advertisement

Table of Contents
loading

Table of Contents