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
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
0010nnnnmmmm0111
|
|
op1 ← SignExtend32(Rm);
|
|
op2 ← SignExtend32(Rn);
|
|
q ← op2< 31 FOR 1 >;
|
|
_m ← op1< 31 FOR 1 >;
|
|
t ← _m ⊕ q;
|
|
Q ← Bit(q);
|
|
M ← Bit(_m);
|
|
T ← Bit(t);
|