sh-dis/sh4/FRCHG

11 lines
226 B
Plaintext

1111101111111101
Available only when PR=0
sr ← ZeroExtend32(SR);
fr ← ZeroExtend1(SR.FR);
IF (FpuIsDisabled(sr) AND IsDelaySlot())
THROW SLOTFPUDIS;
IF (FpuIsDisabled(sr))
THROW FPUDIS;
fr ← fr ⊕ 1;
SR.FR ← Bit(fr);