hi.... Thanks everyone for the help. I've figured out how to make mpasm and mplab non case sensitive and some other "quirks" mplab has. Regards Stewart Pye >The include file, does equates, for the ports, but, because the assembler >defaults to case-sensitive mode, the assembler doesn't recognize the port >names, when they are printed in a different case. try PORTA instead of >porta. > > GREY >