Motorola CPU32 Reference Manual page 125

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

EORI
to SR
Operation:
Assembler
Syntax:
Attributes:
Description:
register using the immediate operand, and stores the result in the status register. All
implemented bits of the status register are affected.
Condition Codes:
X
N
Z
*
*
*
X
Changed if bit 4 of immediate operand is one. Unchanged otherwise.
N
Changed if bit 3 of immediate operand is one. Unchanged otherwise.
Z
Changed if bit 2 of immediate operand is one. Unchanged otherwise.
V
Changed if bit 1 of immediate operand is one. Unchanged otherwise.
C
Changed if bit 0 of immediate operand is one. Unchanged otherwise.
Instruction Format:
15
14
13
0
0
0
CPU32
REFERENCE MANUAL
Exclusive OR Immediate to Status Register
(Privileged Instruction)
If supervisor state
then Source ⊕ SR → SR
else TRAP
EORI #〈data〉, SR
Size = (Word)
Performs an exclusive OR operation on the contents of the status
V
C
*
*
12
11
10
9
0
1
0
1
WORD DATA (16 BITS)
INSTRUCTION SET
8
7
6
5
0
0
1
1
EORI
to SR
4
3
2
1
1
1
1
0
MOTOROLA
0
0
4-77

Advertisement

Table of Contents
loading

Table of Contents