Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/valconv.asm @ 64:e8756eba54ee
1.71beta - more deco
author | heinrichsweikamp |
---|---|
date | Sat, 02 Oct 2010 23:34:08 +0200 |
parents | 96a35aeda5f2 |
children | fe195f766014 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/valconv.asm Wed Sep 29 15:25:53 2010 +0200 +++ b/code_part1/OSTC_code_asm_part1/valconv.asm Sat Oct 02 23:34:08 2010 +0200 @@ -70,7 +70,7 @@ movlw d'99' cpfslt lo movwf lo ; Limit to 99 - movff lo, lo_temp + movff lo,lo_temp clrf hi_temp bcf pre_zero_flag ; do not display leading zeros @@ -88,6 +88,9 @@ RETURN output99x: + movlw d'99' + cpfslt lo + movwf lo ; Limit to 99 movff lo, lo_temp clrf hi_temp bsf pre_zero_flag ; display leading zeros