Shift Operations; Table 2.7 Shift Instructions - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

2.5.4

Shift Operations

Table 2.7 describes the eight shift instructions.
Table 2.7
Shift Instructions
Size *
Instruction
SHAL
B
SHAR
SHLL
B
SHLR
ROTL
B
ROTR
ROTXL
B
ROTXR
Note:
* Size: Operand size
B:
Byte
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
Rev. 6.00 Aug 04, 2006 page 59 of 680
Section 2 CPU
REJ09B0145-0600

Advertisement

Table of Contents
loading

Table of Contents