I have a project using a PIC12F675 running on the internal 4 MHz RC oscillator. However, Microchip's suggested code doesn't work. Don't know if I've done something strange to the chip. However, I would expect the MPLAB Simulator to read the 'retlw 80' instruction in my code at 3FFh and return a 80h value. But 00h is returned. Anyone familiar with this happening? And know what to do to fix it? Thanks in advance. Harley -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist