WRPGPR rt, rs |
nanoMIPS. Requires CP0 privilege. |
Write Previous GPR |
Write Previous GPR. Write the value of register $rs from the current shadow register set(SRSCtl.CSS) to register $rt in the previous shadow register set (SRSCtl.PSS). If shadow register sets are not implemented,just copy the value from register $rs to register $rt.
nanoMIPS. Requires CP0 privilege.
001000 |
rt |
rs |
11 |
11000 |
101 |
111 |
111 |
6 |
5 |
5 |
2 |
5 |
3 |
3 |
3 |
if not IsCoprocessor0Enabled(): raise coprocessor_exception(0) if C0.SRSCtl.HSS > 0: SRS[C0.SRSCtl.PSS][rt] = GPR[rs] else: GPR[rt] = GPR[rs]
Coprocessor Unusable.