1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-01 06:13:07 +00:00

IBM360: Fixed bug in CVD instruction.

This commit is contained in:
Richard Cornwell
2020-09-21 19:10:17 -04:00
parent 76d9584ea2
commit 68e67b719d

View File

@@ -2734,7 +2734,7 @@ save_dbl:
while (dest != 0) { /* Convert digits until zero */
int d = dest % 10;
dest /= 10;
if (temp > 32)
if (temp >= 32)
src1 |= (d << (temp - 32));
else
src1h |= (d << temp);