Rev. 1.0, 03/01, page
20
of
280
Table 2-4 Logic Operations Instructions
Instruction
Size
*
Function
AND
B/W/L
Rd
∧
Rs
→
Rd, Rd
∧
#IMM
→
Rd
Performs a logical AND operation on a general register and another
general register or immediate data.
OR
B/W/L
Rd
∨
Rs
→
Rd, Rd
∨
#IMM
→
Rd
Performs a logical OR operation on a general register and another
general register or immediate data.
XOR
B/W/L
Rd
⊕
Rs
→
Rd, Rd
⊕
#IMM
→
Rd
Performs a logical exclusive OR operation on a general register and
another general register or immediate data.
NOT
B/W/L
¬ (Rd)
→
(Rd)
Takes the one's complement of general register contents.
Note:
*
Refers to the operand size.
B: Byte
W: Word
L: Longword
Table 2-5 Shift Instructions
Instruction
Size
*
Function
SHAL
SHAR
B/W/L
Rd (shift)
→
Rd
Performs an arithmetic shift on general register contents.
SHLL
SHLR
B/W/L
Rd (shift)
→
Rd
Performs a logical shift on general register contents.
ROTL
ROTR
B/W/L
Rd (rotate)
→
Rd
Rotates general register contents.
ROTXL
ROTXR
B/W/L
Rd (rotate)
→
Rd
Rotates general register contents through the carry flag.
Note:
*
Refers to the operand size.
B: Byte
W: Word
L: Longword
Summary of Contents for H8/3670F-ZTAT HD64F3670
Page 2: ...Rev 2 0 03 01 page ii of xxiv ...
Page 4: ...Rev 2 0 03 01 page iv of xxiv ...
Page 14: ...Rev 2 0 03 01 page xiv of xxiv ...
Page 20: ...Rev 1 0 03 01 page xx of xxiv ...
Page 24: ...Rev 1 0 03 01 page xxiv of xxiv ...
Page 78: ...Rev 1 0 03 01 page 54 of 280 ...
Page 112: ...Rev 1 0 03 01 page 88 of 280 ...
Page 248: ...Rev 1 0 03 01 page 224 of 280 ...