I tried SDCC version 6.0 both with the pic14 and the pic16 port. However with the pic16 port(i.e. for a 18f452, including pic18fregs.h) I can use e.g. PORTAbits.RA0 to set/read that . Instead, with pic14 the port(e.g. 16f84a including pic16regs.h) I cannot use such definition of PORTAbits, since the compiler couln't recognize the structure PORTAbits and I can't neither declare it by using the _at keyword to locate such structure at address 5.
Does somebody can help me?
Log in to post a comment.