Shift Operations - Renesas H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 2 CPU
2.5.4

Shift Operations

Table 2.7 describes the eight shift instructions.
Table 2.7
Shift Instructions
Size *
Instruction
B
SHAL
SHAR
B
SHLL
SHLR
ROTL
B
ROTR
ROTXL
B
ROTXR
Notes: *
Size: Operand size
B:
Byte
Rev. 7.00 Mar 10, 2005 page 44 of 652
REJ09B0042-0700
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

Advertisement

Table of Contents
loading

Table of Contents