X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/e0489cd1a53be4d921447ccc0fbcfdc436fc0b0a..73c0fd67eeb7fe0d6cc573afba798a88c4e86d82:/csrc/pf_inner.c diff --git a/csrc/pf_inner.c b/csrc/pf_inner.c index a157705..dffadf0 100644 --- a/csrc/pf_inner.c +++ b/csrc/pf_inner.c @@ -502,6 +502,7 @@ DBUGX(("After Branch: IP = 0x%x\n", InsPtr )); endcase; case ID_BYE: + EMIT_CR; M_THROW( THROW_BYE ); endcase; @@ -744,8 +745,8 @@ DBUGX(("After Branch: IP = 0x%x\n", InsPtr )); /* Calculate product sign: */ sg = ((cell_t)(ahi ^ bhi) < 0); /* Take absolute values and reduce to um* */ - if ((cell_t)ahi < 0) ahi = (ucell_t)(-ahi); - if ((cell_t)bhi < 0) bhi = (ucell_t)(-bhi); + if ((cell_t)ahi < 0) ahi = (ucell_t)(-(cell_t)ahi); + if ((cell_t)bhi < 0) bhi = (ucell_t)(-(cell_t)bhi); /* Break into hi and lo 16 bit parts. */ alo = LOWER_HALF(ahi);