On 3/13/06, Jan-Erik Soderholm wrote: > Hi again... > I think I was a little unclear... > > What I ment with "your code works", was that > the value from the retlw h'80' ends up in the > OSCCON register when run in MPSIM in MPLAB 7.30. > > Another thing, where did your symbol "_RP0" come from ? > There is no such symbol in the INC file... Take a look to the STATUS register bit definition. This is a jal topic, for those who don't know, jal is a proffesional compiler written by Wouter and improved by others. cheers, Vasile -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist