diff code_part1/OSTC_code_asm_part1/displaytext.asm @ 172:e56f80318b58

some brainstorming about multi-language
author heinrichsweikamp
date Tue, 01 Feb 2011 19:08:54 +0100
parents 3e351e25f5d1
children 53b16a746166
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/displaytext.asm	Tue Feb 01 00:24:46 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/displaytext.asm	Tue Feb 01 19:08:54 2011 +0100
@@ -115,11 +115,11 @@
 	bcf		displaytext_high		; Clear flag
 									; Get textadress from textlength table
 displaytext1b:	
-	TBLRD*+
+	TBLRD*+							; Read from textlength_pointer
 	movf	TABLAT,W
 	addwf	textaddress+0,F
 	movlw	d'0'
-	addwfc	textaddress+1,F
+	addwfc	textaddress+1,F			; textaddress:2 holds address for first character
 	decfsz	textnumber,F
 	bra		displaytext1b