(print_operand, case 'J'): Write out shift count of 0, not 32 for bit

31 of CCR.

From-SVN: r4707
This commit is contained in:
Richard Kenner 1993-06-21 19:21:04 -04:00
parent 184be4bfab
commit a0466a6824

View File

@ -840,7 +840,8 @@ print_operand (file, x, code)
if (i == -1)
output_operand_lossage ("invalid %%J code");
else
fprintf (file, "%d", i + 1);
/* If we want bit 31, write a shift count of zero, not 32. */
fprintf (file, "%d", i == 31 ? 0 : i + 1);
return;
case 'k':