In my opinion forget about using PM, always use MPASM. Later PM will nor work when you get into different things.
Now I forgot to tell you when you set the fuses in code space you will have to comment out some lines in the chips *.inc file that is in the PBP directory.
http://www.picbasic.co.uk/forum/showthread.php?t=543
Or you can modify the *.inc file.
My inc for this chip looks like this.
Code:
;****************************************************************
;* 12F683.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2005 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 08/31/05 *
;* Version : 2.46a *
;* Notes : *
;****************************************************************
NOLIST
ifdef PM_USED
LIST
include 'M12F683.INC' ; PM header
; device pic12F683, intrc_osc_noclkout, wdt_on, mclr_on, protect_off
XALL
NOLIST
else
LIST
LIST p = 12F683, r = dec, w = -302
INCLUDE "P12F683.INC" ; MPASM Header
; __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF
NOLIST
endif
LIST
Bookmarks