The file in the previous post is complete, just copy paste.

Quote Originally Posted by inventosrl View Post
Hi Dave, I've look that you use MPASM,
Yep, I do not use anything else.
please post me this file (16f88.inc)
This is what it looks like.
Code:
     NOLIST
    ifdef PM_USED
        LIST
        include 'M16F88.INC'	; PM header
        device  pic16F88, hs_osc, wdt_on, lvp_off, protect_off
        XALL
        NOLIST
    else
        LIST
        LIST p = 16F88, r = dec, w = -302
        INCLUDE "P16F88.INC"	; MPASM  Header
   ;     __config _CONFIG1, _HS_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
        NOLIST
    endif
        LIST
The ASM stuff
-306
Stops this message
Crossing page boundary -- ensure page bits are set.
Not needed for your code, just habit

-205
Takes care of
Found directive in column 1.
This is just a warning, but it is irritating.