It doesnt seem as if we are able to change TOS on our 18F458 PIC. When the following code has been done, the right numbers havent been placed on TOS. temp =26; _asm movf temp,0,1 _endasm _asm movwf TOSL,1 _endasm It doesnt work for TOSU,TOSL,or TOSH. We've included the p18f458.h file. Any clues as to what we are doing wrong? /F -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body