Dennis Frost wrote: > > The following appears in the 16c84 include file: > > ;========================================================================== > ; Configuration Bits > > _CP_ON EQU H'3FEF' > _CP_OFF EQU H'3FFF' > _PWRTE_ON EQU H'3FFF' > _PWRTE_OFF EQU H'3FF7' > _WDT_ON EQU H'3FFF' > _WDT_OFF EQU H'3FFB' > _LP_OSC EQU H'3FFC' > _XT_OSC EQU H'3FFD' > _HS_OSC EQU H'3FFE' > _RC_OSC EQU H'3FFF' > > ;========================================================================== > > It is obviously put there to make setting up the _config directive easy to > perform & later to read. > > At the moment I use: _config H'3FFF' ;replace 3fff with the > applicable hex number > > I want to know how to 'and' or 'or' the include file equates togeter and > then place them into _config Just put this way: __CONFIG _XT_OSC & _WDT_OFF & _PWRTE_ON & _CP_OFF Octavio ======================================================== Octavio Nogueira e-mail: nogueira@mandic.com.br homepage: http://ourworld.compuserve.com/homepages/tato voice/fax: +55 11 240-6474 ========================================================