When you are running this in the simulator, simply comment out the line: call 0x3FF and it should work fine. All this does is load the oscillator calibration= =20 value into the W register and return. Because the location doesn't have a= =20 return instruction when run in the simulator, it won't return, so your=20 program hangs. You don't need an oscillator calibration with the simulator= =20 in any case, so you can just comment it out. John Hansen At 04:00 PM 1/9/2004 +0100, you wrote: >Hello! > >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 > >It=B4s possible to get through that? > >Regards >=C5keN > > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.