
168
32000D–04/2011
AVR32
EORH, EORL – Logical EOR into high or low half of register
Architecture revision:
Architecture revision1 and higher.
Description
Performs a bitwise logical Exclusive-OR between the high or low halfword in the specified regis-
ter and a constant. The result is stored in the destination register.
Operation:
I.
Rd[31:16]
← Rd[31:16] ⊕ imm16
II.
Rd[15:0]
← Rd[15:0] ⊕ imm16
Syntax:
I.
eorh
Rd, imm
II.
eorl
Rd, imm
Operands:
I, II.
d
∈ {0, 1, …, 15}
imm
∈ {0, 1, ..., 65535}
Status Flags:
Q:
Not affected
V:
Not affected
N:
N
← RES[31]
Z:
Z
← (RES[31:0] == 0)
C:
Not affected
Opcode
Format I:
Format II:
1110
1100001
Rd
31
29
28
20
19
16
imm16
15
0
1
1110
1000001
Rd
31
29
28
20
19
16
imm16
15
0
1