1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-04-14 23:58:21 +00:00

IBM360: Fixed stack smash bug.

This commit is contained in:
Richard Cornwell
2019-03-10 14:42:36 -04:00
parent 47ec304602
commit 78a8b3ab25

View File

@@ -502,6 +502,7 @@ if (sw & SWMASK ('C')) {
fputc('\'', of);
} else if (sw & SWMASK ('M')) {
i = 0;
l = 0;
if ((inst & 0xC0) == 0xC0) {
num = (uint32)(val[i++] << 8);
num |= (uint32)val[i++];