sh-dis/sh4/MOV.W @(disp,PC),Rn

9 lines
216 B
Plaintext

1001nnnndddddddd
pc ← SignExtend32(PC);
disp ← ZeroExtend8(i) << 1;
IF (IsDelaySlot())
THROW ILLSLOT;
address ← ZeroExtend32(disp + (pc + 4));
op2 ← SignExtend16(ReadMemory16(address));
Rn ← Register(op2);