mirror of
https://github.com/open-simh/simh.git
synced 2026-02-27 01:10:17 +00:00
a6964f849d85ee81c4541fa04bc016314b2966b2
Very minor in all cases, but the strange case of swtp_cpu.c This module used expressions of the form: PC = ++PC & ADDRMASK; Officially, the C language says that expressions which modify the same variable in more than one place have undefined behavior. These were changed to the legal form which performs the desired action: PC = (PC + 1) & ADDRMASK;
Description
The Open SIMH simulators package
Languages
C
96.9%
Assembly
1%
CMake
0.5%
Batchfile
0.4%
Makefile
0.4%
Other
0.5%