69. Exclusive OR immediated with SR (PRIVILEGED)
EORI to SR -- Exclusive OR immediated to the status register (PRIVILEGED)
EORI #<data>,SR
Size = (Word)
Performs an exclusive OR operation on the status register with the source operand.
-----------------------------------------------------------------
|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 |
-----------------------------------------------------------------
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.