Hitachi H8/3032 Series Hardware Manual page 47

Table of Contents

Advertisement

Table 2-5 Logic Operation Instructions
Instruction Size*
AND
OR
XOR
NOT
Note: * Size refers to the operand size.
Table 2-6 Shift Instructions
Instruction Size*
SHAL,
SHAR
SHLL,
SHLR
ROTL,
ROTR
ROTXL,
ROTXR
Note: * Size refers to the operand size.
Downloaded from
Elcodis.com
electronic components distributor
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.
B: Byte
W: Word
L: Longword
Function
Rd (shift) → Rd
B/W/L
Performs an arithmetic shift on general register contents.
Rd (shift) → Rd
B/W/L
Performs a logical shift on general register contents.
Rd (rotate) → Rd
B/W/L
Rotates general register contents.
Rd (rotate) → Rd
B/W/L
Rotates general register contents through the carry bit.
B: Byte
W: Word
L: Longword
32

Advertisement

Table of Contents
loading

Table of Contents