changeset 172:e56f80318b58

some brainstorming about multi-language
author heinrichsweikamp
date Tue, 01 Feb 2011 19:08:54 +0100
parents 7f3e1bf588bc
children 4a7a778d9e49
files code_part1/OSTC_code_asm_part1/displaytext.asm
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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