English
Language : 

HD6413007F20 Datasheet, PDF (66/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
2. CPU
Table 2.5 Logic Operation 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 (logical complement) of general register
contents.
Note:
* Size refers to the operand size.
B: Byte
W: Word
L: Longword
Table 2.6 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, including the carry bit.
Note:
* Size refers to the operand size.
B: Byte
W: Word
L: Longword
Rev.5.00 Sep. 12, 2007 Page 36 of 764
REJ09B0396-0500