Renesas H8/300 Series Programming Manual page 18

Table of Contents

Advertisement

Table 1-5. Logic Operation Instructions
Instruction Size*
B
AND
B
OR
B
XOR
B
NOT
* Size: Operand size
B: Byte
Table 1-6. Shift Instructions
Instruction Size*
B
SHAL
SHAR
B
SHLL
SHLR
B
ROTL
ROTR
B
ROTXL
ROTXR
* Size: Operand size
B: Byte
Function
Rd ∧ Rs → Rd,
Performs a logical AND operation on a general register and
another general register or immediate data.
Rd ∨ Rs → Rd,
Performs a logical OR operation on a general register and another
general register or immediate data.
Rd ⊕ Rs → Rd,
Performs a logical exclusive OR operation on a general register
and another general register or immediate data.
¬ Rd → Rd
Obtains the one's complement (logical complement) of general
register contents.
Function
Rd shift → Rd
Performs an arithmetic shift operation on general register contents.
Rd shift → Rd
Performs a logical shift operation on general register contents.
Rd rotate → Rd
Rotates general register contents.
Rd rotate through carry → Rd
Rotates general register contents through the C (carry) bit.
Rd ∧ #Imm → Rd
Rd ∨ #Imm → Rd
Rd ⊕ #Imm → Rd
12

Advertisement

Table of Contents
loading

Table of Contents