String1 clrf count ;set counter register to zero begining of table
Mess1 movf count, w ;put the value of counts in W
call Xtext ;get a character from the Xtext table chr(count)
xorlw 0x00 ;is it a zero? [b]Confused me a bit. Will this test each bit
;to see if its the same and if so return a 0 and if not a 1?
;If so why dont we check W in the next statement?
;The contents of W are XOR’ed with the 8-bit literal ‘k’.
;The resultis placed in W.[/b]
btfsc STATUS, Z ;BitTestFileSkipClear Test ALU Status bit Z
retlw 0x00 ;return when finished to where string1 was called.
call LCD_Char ;Display character(s) on LCD
incf count, f ;Get next Char by adding 1 to f (count). I think instead of f
;can i put like b'00000001' or well 1
goto Mess1 ;Start the loop over