GRAEME SMITH email: grysmith@freenet.edmonton.ab.ca YMCA Edmonton Address has changed with little warning! (I moved across the hall! :) ) Email will remain constant... at least for now. On Tue, 16 Feb 1999, Stewart Pye wrote: > Hi, > Thanks for the replies to my previous question. I just wrote a test program > for my first pic project. I was amazed when I had so many errors and it was > because the register addresses were not defined. I had included > "p16f84.inc" but I had to do equates to define the registers (eg portb). Is > there another file I should be including for all the register definitions. > I'm reading all the microchip literature but there's so much to wade > through. Thanks in advance..... > > 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