diff code_part1/OSTC_code_asm_part1/valconv.asm @ 807:c50296c3059e

BUGFIX: Divetime had unwanted "." behind the minutes Change Copyright info 3.02 release
author heinrichsweikamp
date Sat, 07 Feb 2015 12:37:04 +0100
parents 6256a891b2a0
children 2a0e5d884fc3
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/valconv.asm	Thu Feb 05 13:33:38 2015 +0100
+++ b/code_part1/OSTC_code_asm_part1/valconv.asm	Sat Feb 07 12:37:04 2015 +0100
@@ -1,5 +1,5 @@
 ; OSTC - diving computer code
-; Copyright (C) 2008 HeinrichsWeikamp GbR
+; Copyright (C) 2015 HeinrichsWeikamp GbR
 
 ;    This program is free software: you can redistribute it and/or modify
 ;    it under the terms of the GNU General Public License as published by
@@ -93,7 +93,7 @@
 	incf	ignore_digits,F
 	clrf	temp4
 
-output8
+output8:
 	movff	lo, lo_temp		
 	clrf	hi_temp
 	bcf		pre_zero_flag	; do not display leading zeros
@@ -108,7 +108,6 @@
 	clrf	ignore_digits
 	incf	ignore_digits,F
 	bsf		show_last3	
-	clrf	WREG
     ; Limit to 3
     movlw   .4
     cpfslt  hi
@@ -126,6 +125,7 @@
     movlw   HIGH    .999
     movwf   hi
 output16_3_call_3:
+	clrf	WREG
 	bra     output16
 
 output16_call:
@@ -133,7 +133,7 @@
 	incf	ignore_digits,F
 	clrf	WREG
 
-output16
+output16:
 	movwf	temp4           ; Passed from output16dp macro, cleared by others.
 
 	bcf		all_zeros_flag	; do not display any zero from here unless there was at least one figure /zero