Logical OR immediated to SR (PRIVILEGED)
NAME
ORI to SR -- Logical OR immediated to the status register (PRIVILEGED)
SYNOPSIS
ORI #<data>,SR
Size = (Word)
FUNCTION
Performs an OR operation on the status register with
the source operand, and leaves the result in the status
register.
FORMAT
-----------------------------------------------------------------
|15 |14 |13 |12 |11 |10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
|---|---|---|---|---|---|---|---|-------------------------------|
| 16 BITS IMMEDIATE DATA |
-----------------------------------------------------------------
RESULT
X - Set if bit 4 of the source is set, cleared otherwise.
N - Set if bit 3 of the source is set, cleared otherwise.
Z - Set if bit 2 of the source is set, cleared otherwise.
V - Set if bit 1 of the source is set, cleared otherwise.
C - Set if bit 0 of the source is set, cleared otherwise.
SEE ALSO
OR ORI ORI to CCR
HTML Conversion by AG2HTML.pl V2.941126c, perl $RCSfile: orisr.HTML,v $$Revision: 1.1 $$Date: 1999/09/14 21:14:11 $
Patch level: 36
& witbrock@cs.cmu.edu