Contents | < Browse | Browse >
NAME
ORI to CCR -- Logical OR immediate to the condition code register
SYNOPSIS
ORI #<data>,CCR
Size = (Byte)
FUNCTION
Performs an OR operation on the condition codes
register with the source operand.
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 | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
|---|---|---|---|---|---|---|---|-------------------------------|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 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 SR