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 #270 background imageLoading...
Page #270 background image
Rev. 1.50, 10/04, page 250 of 448
LDSMMACH(long m) /* LDS.L @Rm+,MACH */
{
MACH = Read_Long(R[m]);
R[m] += 4;
PC += 2;
}
LDSMMACL(lomg m) /* LDS.L @Rm+,MACL */
{
MACL = Read_Long(R[m]);
R[m] += 4;
PC += 2;
}
LDSMPR(long m) /* LDS.L @Rm+,PR */
{
PR = Read_Long(R[m]);
R[m] += 4;
PC += 2;
}
Example:
LDS R0,PR ; Before execution R0 = H'12345678, PR = H'00000000
; After execution PR = H'12345678
LDS.L @R15+,MACL ; Before execution R15 = H'10000000
; After execution R15 = H'10000004, MACL = (H'10000000)
Possible Exceptions: Exception may occur when LDS.L instruction is executed.
• Data TLB multiple-hit exception
• Data TLB miss exception
• Data TLB protection violation exception
• Data address error

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