Hitachi H8/3672 Series Hardware Manual page 44

Single-chip microcomputer
Table of Contents

Advertisement

Table 2-4 Logic Operations Instructions
Instruction
Size*
AND
B/W/L
OR
B/W/L
XOR
B/W/L
NOT
B/W/L
Note: * Refers to the operand size.
B: Byte
W: Word
L: Longword
Table 2-5 Shift Instructions
Instruction
Size*
SHAL
B/W/L
SHAR
SHLL
B/W/L
SHLR
ROTL
B/W/L
ROTR
ROTXL
B/W/L
ROTXR
Note: * Refers to the operand size.
B: Byte
W: Word
L: Longword
Rev. 1.0, 03/01, page
Function
Rd ∧ Rs → Rd, Rd ∧ #IMM → Rd
Performs a logical AND operation on a general register and another
general register or immediate data.
Rd ∨ Rs → Rd, Rd ∨ #IMM → Rd
Performs a logical OR operation on a general register and another
general register or immediate data.
Rd ⊕ Rs → Rd, Rd ⊕ #IMM → Rd
Performs a logical exclusive OR operation on a general register and
another general register or immediate data.
¬ (Rd) → (Rd)
Takes the one's complement of general register contents.
Function
Rd (shift) → Rd
Performs an arithmetic shift on general register contents.
Rd (shift) → Rd
Performs a logical shift on general register contents.
Rd (rotate) → Rd
Rotates general register contents.
Rd (rotate) → Rd
Rotates general register contents through the carry flag.
20
280
of

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3672f-ztat hd64f3672H8/3670f-ztat hd64f3670

Table of Contents