Roy Hopkins wrote... >Can anyone show an example of how to set the __CONFIG bits in a PIC 18F452 One example of using the __CONFIG directive to specify the configuration bits can be found in the f452temp.asm file in MPLAB's MCHIP_Tools\TEMPLATE\Code\ directory (for MPLAB 6.30). Also, see the configuration bit/byte definitions in the p18f452.inc file. These, plus the PIC18F452 datasheet, should tell you what you need to know. Dave D. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads