I InspEvans New Member Jun 26, 2017 #1 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
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
ericgibbs Well-Known Member Most Helpful Member Jun 26, 2017 #2 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
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