This code works ok in MPLAB 6.4 - may be time to down load this version of MPLAB :-) ************************************************* Roy Hopkins rdhopkins@ihug.co.nz ************************************************* ----- Original Message ----- When I tryed to run my PIC12F675 in MPLAB-SIM (5.70) the code stops to run in the programmed instruction for the internal oscillator. Accordingly after org 0x00 bsf STATUS, RP0 call 0x3FF movwf OSCCAL bsf STATUS, RP0 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.559 / Virus Database: 351 - Release Date: 7/01/2004 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.