sh-dis/sh4/PREF @Rn
Zack Buhman 4a165d02ed sh4: fix documentation typos for SH2 instructions
These changes fix logical consistency and correctness issues with the
instruction definitions as printed in the SH4 manual.

The most serious issues were:

- div0u/div0s/div1 use `m` as a temporary variable which
  contradicts the existence of the `m` register number

- missing semicolons

- inconsistent references to immediate and displacement variable names
2024-04-22 20:42:22 +08:00

8 lines
185 B
Plaintext

0000nnnn10000011
op1 ← SignExtend32(Rn);
IF (AddressUnavailable(op1))
THROW RADDERR, op1;
IF (NOT (MMU() AND DataAccessMiss(op1)))
IF (NOT (MMU() AND ReadProhibited(op1)))
PREF(op1);