EasyManuals Logo

Renesas SuperH SH-4A User Manual

Renesas SuperH SH-4A
472 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #339 background imageLoading...
Page #339 background image
Rev. 1.50, 10/04, page 319 of 448
Operation:
SHLR2(long n) /* SHLR2 Rn */
{
R[n] >>= 2;
R[n] &= 0x3FFFFFFF;
PC += 2;
}
SHLR8(long n) /* SHLR8 Rn */
{
R[n] >>= 8;
R[n] &= 0x00FFFFFF;
PC += 2;
}
SHLR16(long n) /* SHLR16 Rn */
{
R[n] >>= 16;
R[n] &= 0x0000FFFF;
PC += 2;
}
Example:
SHLR2 R0 ;Before execution R0 = H'12345678
;After execution R0 = H'048D159E
SHLR8 R0 ;Before execution R0 = H'12345678
;After execution R0 = H'00123456
SHLR16 R0 ;Before execution R0 = H'12345678
;After execution R0 = H'00001234

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas SuperH SH-4A and is the answer not in the manual?

Renesas SuperH SH-4A Specifications

General IconGeneral
BrandRenesas
ModelSuperH SH-4A
CategoryComputer Hardware
LanguageEnglish

Related product manuals