Encoding:

POOL32A

000000

rt

rs

WRPGPR

1111000101

POOL32AXf

111100

6

5

5

10

6

Format:

WRPGPR rt, rs

microMIPS

Write to GPR in Previous Shadow Set

Purpose:

Write to GPR in Previous Shadow Set

To move the contents of a current GPR to a GPR in the previous shadow set.

Description:

 SGPR[SRSCtlPSS, rt] = GPR[rs]

The contents of the current GPR rs is moved to the shadow GPR register specified by SRSCtlPSS (signifying the previous shadow set number) and rt (specifying the register number within that set).

Restrictions:

In implementations prior to Release 2 of the Architecture, this instruction resulted in a Reserved Instruction exception.

Operation:

SGPR[SRSCtlPSS, rt] = GPR[rs]

Exceptions:

Coprocessor Unusable, Reserved Instruction