PIC IDE - Oshon Software

Status
Not open for further replies.

InspEvans

New Member
A very simple question for the Oshon assembler. I have the following that will not assemble -

#include <p16F877a.inc>

__config _DEBUG_OFF & _WDT_OFF & _LVP_OFF & _CP_OFF & _CPD_OFF & _XT_OSC
errorlevel -302 ;suppress bank warning

I have tried every conceivable format (# in front, <> brackets, et al) for the errorlevel but it just won't assemble. When I use MPLBAB Version 8.92, it assembles.

Thanks!

Frank
 
hi,
Try this:
Eric

list p=16f877A ; list directive to define processor
#include <p16F877a.inc>
__config _DEBUG_OFF & _WDT_OFF & _LVP_OFF & _CP_OFF & _CPD_OFF & _XT_OSC

;errorlevel -302
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…