src/devices/cpu/e132xs/e132xsdrc.cpp: Fixed regression in exceptions.

This commit is contained in:
Vas Crabb 2025-03-25 05:32:08 +11:00
parent 297e546844
commit dd7e50dc84

View File

@ -373,7 +373,7 @@ void hyperstone_device::static_generate_exception(uint32_t exception, const char
UML_ADD(block, I3, I3, I2); // I3 = updated FP
UML_SHL(block, I2, I3, 25); // I2 = updated FP:...
UML_OR(block, I2, I2, 6 << 21); // I2 = updated FP:FL:...
UML_OR(block, I2, I2, 2 << 21); // I2 = updated FP:FL:...
UML_ROLINS(block, I1, I2, 0, 0xffe00000); // update FP and FL in I1
UML_AND(block, I1, I1, ~(M_MASK | T_MASK)); // clear M and T, set S and L
UML_OR(block, I1, I1, (L_MASK | S_MASK));