Motorola CPU32 Reference Manual page 175

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents