Fix bug in division.

This commit is contained in:
Michael Munday 2016-12-20 17:26:33 -05:00
parent eda56c9a44
commit b5aa0d077c

View File

@ -722,6 +722,7 @@ static void build_subroutines(BuildCtx *ctx)
| lay RB, 0(RB, BASE)
| lay RC, 0(RC, BASE)
|1:
| llgc RA, PC_RA
| sllg RA, RA, 3(r0)
| lay RA, 0(RA, BASE)
| llgc CARG5, PC_OP // Caveat: CARG5 == RD.