Hitachi H8S/2646 Hardware Manual page 83

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Type
Instruction
Logic
AND
operations
OR
XOR
NOT
Shift
SHAL
operations
SHAR
SHLL
SHLR
ROTL
ROTR
ROTXL
ROTXR
*1
Size
Function
Rd ∧ Rs → Rd, Rd ∧ #IMM → Rd
B/W/L
Performs a logical AND operation on a general register
and another general register or immediate data.
Rd ∨ Rs → Rd, Rd ∨ #IMM → Rd
B/W/L
Performs a logical OR operation on a general register
and another general register or immediate data.
Rd ⊕ Rs → Rd, Rd ⊕ #IMM → Rd
B/W/L
Performs a logical exclusive OR operation on a general
register and another general register or immediate data.
¬ (Rd) → (Rd)
B/W/L
Takes the one's complement of general register
contents.
Rd (shift) → Rd
B/W/L
Performs an arithmetic shift on general register contents.
1-bit or 2-bit shift is possible.
Rd (shift) → Rd
B/W/L
Performs a logical shift on general register contents.
1-bit or 2-bit shift is possible.
Rd (rotate) → Rd
B/W/L
Rotates general register contents.
1-bit or 2-bit rotation is possible.
Rd (rotate) → Rd
B/W/L
Rotates general register contents through the carry flag.
1-bit or 2-bit rotation is possible.
51

Advertisement

Table of Contents
loading

Table of Contents