1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-11 23:53:30 +00:00
Mark Pizzolato a6964f849d Cleaned up parameter declarations in all simulators to achieve clean compiles on all platforms
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;
2011-04-15 09:04:39 -07:00
..
2011-04-15 08:35:43 -07:00
2011-04-15 08:35:43 -07:00
2011-04-15 08:35:43 -07:00
2011-04-15 08:35:43 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00
2011-04-15 08:35:54 -07:00