• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PIC IDE - Oshon Software

Thread starter #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
 

ericgibbs

Well-Known Member
Most Helpful Member
#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
 

Latest threads

EE World Online Articles

Loading

 
Top