Motorola CPU32 Reference Manual page 86

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

Advertisement

ANDI
Operation:
Assembler
Syntax:
Attributes:
AND Immediate
ANDI
Immediate Data. Destination
~
Destination
ANDI #(data), (ea)
Size
=
(Byte, Word, Long)
Description:
Performs an AND operation of the immediate data with 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
o
0
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
12
11
10
9
8
7
6
5
4
3
2
o
EFFECTIVE ADDRESS
0
0
0
0
0
0
1
0
SIZE
WORD DATA (16 BITS)
LONG DATA (32 BITS)
Instruction Fields:
Size field - Specifies the size of the operation:
00 -
Byte operation
01 - Word operation
10 -
Long operation
CPU32 REFERENCE MANUAL
INSTRUCTION SET
MODE
I
BYTE DATA (8 BITS)
REGISTER
MOTOROLA
4-33
III

Advertisement

Table of Contents
loading

Table of Contents