Table 2.8 Shift Operation Instructions - Renesas H8SX/1520 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 Series:
Table of Contents

Advertisement

Section 2 CPU
Table 2.8
Shift Operation Instructions
Instruction
SHLL
SHLR
SHAL
SHAR
ROTL
ROTR
ROTXL
ROTXR
Rev. 3.00 Mar. 14, 2006 Page 48 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
Size
Function
(EAd) (shift) → (EAd)
B/W/L
Performs a logical shift on the contents of a general register or a memory
location.
The contents of a general register or a memory location can be shifted by
1, 2, 4, 8, or 16 bits. The contents of a general register can be shifted by
any bits. In this case, the number of bits is specified by 5-bit immediate
data or the lower 5 bits of the contents of a general register.
(EAd) (shift) → (EAd)
B/W/L
Performs an arithmetic shift on the contents of a general register or a
memory location.
1-bit or 2-bit shift is possible.
(EAd) (rotate) → (EAd)
B/W/L
Rotates the contents of a general register or a memory location.
1-bit or 2-bit rotation is possible.
(EAd) (rotate) → (EAd)
B/W/L
Rotates the contents of a general register or a memory location with the
carry bit.
1-bit or 2-bit rotation is possible.

Advertisement

Table of Contents
loading

Table of Contents