... Andrew Warren wrote: > > Steve Baldwin wrote: > ... > > > Think of: > > char *text; > char string[] = "My string"; > > text = string; > > as equivalent to: > > TEXT EQU [any register] > STRING EQU TEXT+1 > > MOVLW "M" > MOVWF STRING > MOVLW "y" > MOVLW STRING+1 > .... > MOVLW "n" > MOVWF STRING+7 > MOVLW "g" > MOVWF STRING+8 > MOVLW 0 > MOVWF STRING+9 > > MOVLW STRING > MOVWF TEXT > ... I've seen better ways of creating an initialized variable. I also like 'C' and do have a lot of practice at it (as in writing a real-time preemptive multitasking kernel running on an 8086 to use as an embedded operating system), but i think that for really explore and control such a device as a PIC you better get a solid knowledge of ASM. Best regards Jorge F