BrianT
- 4th September 2007, 11:40
Hi All,
Can someone please get me started by posting the first one or two pages of a working program using MCSP 3.0.0.0 with PBP 2.47 and MPASM together with a PIC18F4550. I am having great trouble getting the syntax right and I keep getting crazy errors when converting a satisfactorily working 16F877A program over to MPASM and the 18F4550.
I need to see how to get the first few define, include and device statements to work. Yes I have the MPASM manual, all 270 pages, and I am reading up on this as best I can, but it can be all a bit subtle as to where to use __ or _ and what goes in the first column or later.
I have installed MPASM in c:\mpasm and PBP in c:\pbp and my code in c:\testcode to get the path lengths to a minimum but I still get errors such as processor not defined, syntax errors and illegal declarations.
Any help gratefully received.
Cheers
Brian
Can someone please get me started by posting the first one or two pages of a working program using MCSP 3.0.0.0 with PBP 2.47 and MPASM together with a PIC18F4550. I am having great trouble getting the syntax right and I keep getting crazy errors when converting a satisfactorily working 16F877A program over to MPASM and the 18F4550.
I need to see how to get the first few define, include and device statements to work. Yes I have the MPASM manual, all 270 pages, and I am reading up on this as best I can, but it can be all a bit subtle as to where to use __ or _ and what goes in the first column or later.
I have installed MPASM in c:\mpasm and PBP in c:\pbp and my code in c:\testcode to get the path lengths to a minimum but I still get errors such as processor not defined, syntax errors and illegal declarations.
Any help gratefully received.
Cheers
Brian