sh-dis/sh4/BRAF Rn

9 lines
209 B
Plaintext

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