Contents | < Browse | Browse >
NAME
EORI to SR -- Exclusive OR immediated to the status register (PRIVILEGED)
SYNOPSIS
EORI #<data>,SR
Size = (Word)
FUNCTION
Performs an exclusive OR operation on the status 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 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
|---------------------------------------------------------------|
| 16 BITS IMMEDIATE DATA |
-----------------------------------------------------------------
RESULT
X - Changed if bit 4 of the source is set, cleared otherwise.
N - Changed if bit 3 of the source is set, cleared otherwise.
Z - Changed if bit 2 of the source is set, cleared otherwise.
V - Changed if bit 1 of the source is set, cleared otherwise.
C - Changed if bit 0 of the source is set, cleared otherwise.
SEE ALSO
EOR EORI EORI to CCR