diff code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 398:ab962c4b19d6

Fixing issue 50, correct "Bar" to "bar" in texts and comments
author heinrichsweikamp
date Sun, 26 Jun 2011 12:24:54 +0200
parents be71e563ac09
children 6e57b5bb98ce
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_gassetup.asm	Thu Jun 23 01:41:39 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_gassetup.asm	Sun Jun 26 12:24:54 2011 +0200
@@ -339,7 +339,7 @@
 	GETCUSTOM8 .18				        ; ppO2 warnvalue in WREG
 	mullw	d'10'
 	movff	PRODL,xA+0
-	movff	PRODH,xA+1		            ; ppO2 in [0.01Bar] * 10
+	movff	PRODH,xA+1		            ; ppO2 in [0.01bar] * 10
 	movf	divemins+0,W
 	addlw	0x06
 	movwf	EEADR
@@ -691,7 +691,7 @@
 
 	movff		xC+0,sub_a+0
 	movff		xC+1,sub_a+1
-	GETCUSTOM8	d'46'					; color-code ppO2 warning [cBar]
+	GETCUSTOM8	d'46'					; color-code ppO2 warning [cbar]
 	movwf		sub_b+0
 	clrf		sub_b+1
 	call		sub16					;  sub_c = sub_a - sub_b	
@@ -1051,7 +1051,7 @@
 	movwf	xB+0
 	clrf	xB+1
 	call	div16x16			;xA/xB=xC with xA as remainder 	
-	movff	xC+0,lo				; ((Depth+10m)*O2)/10 = [0.01Bar] ppO2
+	movff	xC+0,lo				; ((Depth+10m)*O2)/10 = [0.01bar] ppO2
 	movff	xC+1,hi
 	output_16dp	d'3'
 	OUTPUTTEXT 	d'150'		; bar: 
@@ -1061,7 +1061,7 @@
 	GETCUSTOM8 .18                      ; ppO2 warnvalue in WREG
 	mullw	d'10'
 	movff	PRODL,xA+0
-	movff	PRODH,xA+1                  ; ppO2 in [0.01Bar] * 10
+	movff	PRODH,xA+1                  ; ppO2 in [0.01bar] * 10
 	movf	divemins+0,W
 	addlw	0x06
 	movwf	EEADR