You could include it but for me it's in the *.asm file. Look at the "p18f258.inc" for other definitions. ;************************************* title "whatever" list p=18f258 include "p18f258.inc" __CONFIG _CONFIG1L, _CP_OFF_1L __CONFIG _CONFIG1H, _OSCS_OFF_1H & _XT_OSC_1H __CONFIG _CONFIG2L, _BOR_ON_2L & _BORV_27_2L & _PWRT_ON_2L __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H ; __CONFIG _CONFIG3L, ; __CONFIG _CONFIG3H, __CONFIG _CONFIG4L, _STVR_ON_4L & _DEBUG_OFF_4L & _LVP_OFF_4L ; __CONFIG _CONFIG4H, __CONFIG _CONFIG5L, 0xff __CONFIG _CONFIG5H, 0xff __CONFIG _CONFIG6L, 0xff __CONFIG _CONFIG6H, 0xff __CONFIG _CONFIG7L, 0xff __CONFIG _CONFIG7H, 0xff ; __IDLOCS _IDLOC0, ; __IDLOCS _IDLOC1, ; __IDLOCS _IDLOC2, ; __IDLOCS _IDLOC3, ; __IDLOCS _IDLOC4, ; __IDLOCS _IDLOC5, ; __IDLOCS _IDLOC6, ; __IDLOCS _IDLOC7, ;************************************* > Yes, but is this data supposed to be included??? > > When MPLAB exports a HEX file, it puts all 7 words of data into the HEX > file, so I guess the include files are incorrect. > > david vyskocil wrote: > > > > Hi, for me this well working for 18F258 and MPLAB 6.13 : > > > > __CONFIG _CONFIG1L, _CP_OFF_1L > > __CONFIG _CONFIG1H, _OSCS_OFF_1H & _XT_OSC_1H > > __CONFIG _CONFIG2L, _BOR_ON_2L & _BORV_27_2L & _PWRT_ON_2L > > __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H > > ; __CONFIG _CONFIG3L, > > ; __CONFIG _CONFIG3H, > > __CONFIG _CONFIG4L, _STVR_ON_4L & _DEBUG_OFF_4L & _LVP_OFF_4L > > ; __CONFIG _CONFIG4H, > > __CONFIG _CONFIG5L, 0xff > > __CONFIG _CONFIG5H, 0xff > > __CONFIG _CONFIG6L, 0xff > > __CONFIG _CONFIG6H, 0xff > > __CONFIG _CONFIG7L, 0xff > > __CONFIG _CONFIG7H, 0xff > > > > __IDLOCS _IDLOC0, > > __IDLOCS _IDLOC1, > > __IDLOCS _IDLOC2, > > __IDLOCS _IDLOC3, > > __IDLOCS _IDLOC4, > > __IDLOCS _IDLOC5, > > __IDLOCS _IDLOC6, > > __IDLOCS _IDLOC7, > > > > Regard, > > david.vyskocil@wanadoo.fr -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu