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 #283 background imageLoading...
Page #283 background image
Rev. 1.50, 10/04, page 263 of 448
MOVBP(long m, long n) /* MOV.B @Rm+,Rn */
{
R[n] = (long)Read_Byte(R[m]);
if ((R[n]&0x80)==0) R[n] &= 0x000000FF;
else R[n] |= 0xFFFFFF00;
if (n!=m) R[m] += 1;
PC += 2;
}
MOVWP(long m, long n) /* MOV.W @Rm+,Rn */
{
R[n] = (long)Read_Word(R[m]);
if ((R[n]&0x8000)==0) R[n] &= 0x0000FFFF;
else R[n] |= 0xFFFF0000;
if (n!=m) R[m] += 2;
PC += 2;
}
MOVLP(long m, long n) /* MOV.L @Rm+,Rn */
{
R[n] = Read_Long(R[m]);
if (n!=m) R[m] += 4;
PC += 2;
}
MOVBS0(long m, long n) /* MOV.B Rm,@(R0,Rn) */
{
Write_Byte(R[n]+R[0],R[m]);
PC += 2;
}
MOVWS0(long m, long n) /* MOV.W Rm,@(R0,Rn) */
{
Write_Word(R[n]+R[0],R[m]);
PC+=2;
}

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