summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-03-25 05:32:08 +1100
committer Vas Crabb <vas@vastheman.com>2025-03-25 05:32:08 +1100
commitdd7e50dc84814558f6c7beb92a609d28b4744cf3 (patch)
tree16e1b43ee889c3c5b21bd4adc662a6bf38b22f3f
parent297e5468445e08286905fa07a1ac0e7f5e6085c0 (diff)
src/devices/cpu/e132xs/e132xsdrc.cpp: Fixed regression in exceptions.
-rw-r--r--src/devices/cpu/e132xs/e132xsdrc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/e132xs/e132xsdrc.cpp b/src/devices/cpu/e132xs/e132xsdrc.cpp
index f5461cbe68f..64fb2217393 100644
--- a/src/devices/cpu/e132xs/e132xsdrc.cpp
+++ b/src/devices/cpu/e132xs/e132xsdrc.cpp
@@ -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));