EasyManua.ls Logo

Renesas SuperH SH-4A - Page 342

Renesas SuperH SH-4A
472 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.50, 10/04, page 322 of 448
Notes: STC/STC.L can only be used in privileged mode excepting STC GBR, Rn/STC.L GBR,
@-Rn. Use of these instructions in user mode will cause illegal instruction exceptions.
Operation:
STCGBR(int n) /* STC GBR,Rn */
{
R[n] = GBR;
PC += 2;
}
STCVBR(int n) /* STC VBR,Rn : Privileged */
{
R[n] = VBR;
PC += 2;
}
STCSSR(int n) /* STC SSR,Rn : Privileged */
{
R[n] = SSR;
PC += 2;
}
STCSPC(int n) /* STC SPC,Rn : Privileged */
{
R[n] = SPC;
PC += 2;
}
STCSGR(int n) /* STC SGR,Rn : Privileged */
{
R[n] = SGR;
PC += 2;
}
STCDBR(int n) /* STC DBR,Rn : Privileged */
{
R[n] = DBR;
PC += 2;
}

Table of Contents

Related product manuals