Motorola CPU32 Reference Manual page 78

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

ANDI
to CCR
Operation:
Assembler
Syntax:
Attributes:
Description:
dition codes and stores the result in the low-order byte of the status register.
Condition Codes:
X
N
Z
*
*
*
X
Cleared if bit 4 of immediate operand is zero. Unchanged otherwise.
N
Cleared if bit 3 of immediate operand is zero. Unchanged otherwise.
Z
Cleared if bit 2 of immediate operand is zero. Unchanged otherwise.
V
Cleared if bit 1 of immediate operand is zero. Unchanged otherwise.
C
Cleared if bit 0 of immediate operand is zero. Unchanged otherwise.
Instruction Format:
15
14
13
0
0
0
0
0
0
MOTOROLA
4-30
AND Immediate to Condition Code Register
Source • CCR → CCR
ANDI #〈data〉, CCR
Size = (Byte)
Performs an AND operation of the immediate operand with the con-
V
C
*
*
12
11
10
9
0
0
0
1
0
0
0
0
INSTRUCTION SET
8
7
6
5
0
0
0
1
0
BYTE DATA (8 BITS)
ANDI
to CCR
4
3
2
1
1
1
1
0
CPU32
REFERENCE MANUAL
0
0

Advertisement

Table of Contents
loading

Table of Contents