diff src/convert.inc @ 582:b455b31ce022

work on 2.97 stable
author heinrichsweikamp
date Mon, 26 Feb 2018 16:40:28 +0100
parents 5ad479f2a868
children ca4556fb60b9
line wrap: on
line diff
--- a/src/convert.inc	Sun Feb 25 18:25:38 2018 +0100
+++ b/src/convert.inc	Mon Feb 26 16:40:28 2018 +0100
@@ -1,6 +1,6 @@
 ;=============================================================================
 ;
-;   File convert.inc
+;   File convert.inc												## V2.98
 ;
 ;   Converts register values to string
 ;
@@ -9,40 +9,40 @@
 ; HISTORY
 ;   2007-10-07 : [MH]  Creation for OSTC sources
 ;   2010-12-10 : [jDG] Optimize macro size
-;
+
 
-    extern  output16_3_call
-output_16_3 macro			; displays only last three figures from a 16Bit value (0-999)
-	call 	output16_3_call
+	extern	output16_3_call
+output_16_3	macro				; displays only last three figures from a 16Bit value (0-999)
+	call	output16_3_call
 	endm
 
-    extern  output16_4_call
-output_16_4 macro			; displays only last four figures from a 16Bit value (0-9999)
-	call 	output16_4_call
+	extern	output16_4_call
+output_16_4	macro				; displays only last four figures from a 16Bit value (0-9999)
+	call	output16_4_call
+	endm
+
+	extern	output16
+output_16dp	macro dp_position	; 16 Bit with decimal point
+	movlw	dp_position
+	call	output16
 	endm
 
-    extern  output16
-output_16dp macro temp4		; 16Bit with decimal point
-	movlw	temp4			; Temp4 stores position for decimal point
-	call 	output16
-	endm					
+	extern	output16_call
+output_16	macro				; 16Bit Normal
+	call	output16_call
+	endm
 
-    extern  output16_call
-output_16 macro				; 16Bit Normal
-	call 	output16_call
+	extern	output8_call
+output_8	macro				; 8 Bit Normal
+	call	output8_call
 	endm
 
-   extern  output8_call
-output_8 macro				; 8 Bit Normal
- 	call    output8_call
+	extern	output99_call
+output_99	macro				; displays only last two figures from a 8Bit value (0-99)
+	call	output99_call
 	endm
 
-	extern  output99_call
-output_99 macro				; displays only last two figures from a 8Bit value (0-99)
-	call 	output99_call
+	extern	output99x_call
+output_99x	macro				; displays only last two figures from a 8Bit value with leading zero (00-99) 
+	call	output99x_call
 	endm
-
-	extern  output99x_call
-output_99x macro			; displays only last two figures from a 8Bit value with leading zero (00-99) 
-	call 	output99x_call
-	endm