sh-dis/sh4/BSRF Rn

11 lines
265 B
Plaintext

0000nnnn00000011
pc ← SignExtend32(PC);
op1 ← SignExtend32(Rn);
IF (IsDelaySlot())
THROW ILLSLOT;
delayedpr ← pc + 4;
target ← ZeroExtend32(pc + 4 + op1);
delayedpc ← target ∧ (~ 0x1);
PR’’ ← Register(delayedpr);
PC’’ ← Register(delayedpc);