sh-dis/sh4/STS FPSCR,Rn

10 lines
202 B
Plaintext

0000nnnn01101010
sr ← ZeroExtend32(SR);
fps ← ZeroExtend32(FPSCR);
IF (FpuIsDisabled(sr) AND IsDelaySlot())
THROW SLOTFPUDIS;
IF (FpuIsDisabled(sr))
THROW FPUDIS;
op1 ← fps;
Rn ← Register(op1);