diff src/compass_ops.asm @ 608:d866684249bd

work on 2.99 stable
author heinrichsweikamp
date Mon, 07 Jan 2019 21:13:43 +0100
parents ca4556fb60b9
children cd986267a5ca
line wrap: on
line diff
--- a/src/compass_ops.asm	Thu Nov 29 10:50:57 2018 +0100
+++ b/src/compass_ops.asm	Mon Jan 07 21:13:43 2019 +0100
@@ -1,6 +1,6 @@
 ;=============================================================================
 ;
-;   File compass_ops.asm												V2.98a
+;   File compass_ops.asm											## V2.99e
 ;
 ;   Compass Operations
 ;
@@ -942,10 +942,10 @@
 	movff	xRD+1,sub_b+1
 	; hi stores the display position
 	clrf	hi
-	clrf	xHI
+	movff	hi,xHI
 	; lo stores the last item's display position
 	clrf	lo
-	clrf	xLO
+	movff	lo,xLO
 
 	movlw	low( d'219' )				; position of the label
 	movwf	sub_a+0