mirror of
https://github.com/open-simh/simh.git
synced 2026-02-01 22:43:18 +00:00
adf023bf8600be0a097b4b2dad56ab3c488994b3
When performing floating point multiplication, the prior code overwrote an additional word of the floating point fraction with zeros. This is harmless with standard FP, as the floating variables always have space for EP-length vars. When doing an EP multiply, this causes a word on the stack to be zeroed. For the latest Raspbian release, this causes a segfault as there's no padding past that var on the stack. This fix, which has been tested against the original crashing code plus validated using the FPP-8 diagnostics, avoids the overwrite.
Description
The Open SIMH simulators package
Languages
C
96.9%
Assembly
1%
CMake
0.5%
Batchfile
0.4%
Makefile
0.4%
Other
0.5%