XOR (eXclusive OR logical)
XOR
<Description>
This instruction exclusive-ORs the source operand with the contents of an 8-bit general
register and places the result in the general register.
The source operand can be an 8-bit register value or immediate byte data.
<Instruction Formats>
<Operation>
Rd
⊕
(EAs)
→
Rd
<Assembly-Language Format>
XOR
<EAs>, Rd
<Examples>
XOR R0H, R1H
XOR #H'F0, R2L
<Operand Size>
Byte
<Condition Code>
I:
Previous value remains unchanged.
H: Previous value remains unchanged.
N: Set to "1" when the result is negative;
otherwise cleared to "0."
Z: Set to "1" when the result is zero;
otherwise cleared to "0."
V: Cleared to "0."
C: Previous value remains unchanged.
I
H
N
Z
V
C
—
—
—
—
↕
↕
0
—
Immediate
XOR
#xx:8, Rd
D
rd
IMM
2
Register direct
XOR
Rs, Rd
1
5
rs
rd
2
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
115
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...