diff --git a/calculator.asm b/calculator.asm index c63ba1e..4cad962 100644 --- a/calculator.asm +++ b/calculator.asm @@ -881,13 +881,13 @@ normalizeRoundUp: breq r0, r0, normalizeRoundUpLoop - normalizeRoundUpEnd: - cleq r0, r0, popWord - cleq r0, r0, popWord - cleq r0, r0, popWord +normalizeRoundUpEnd: + cleq r0, r0, popWord + cleq r0, r0, popWord + cleq r0, r0, popWord - ; We might have ended up with a digit in the overflow - breq r0, r0, normalize + ; We might have ended up with a digit in the overflow + breq r0, r0, normalize normalizeRoundDown: ; Zero out the rounding digit