>> After reset, then stepping the program it BEGINS at the first *called* routine ( i.e it does not start at 0x0000 as it should ). However looking at the clock/counter is clearly shows that x no. of cycles already has been executed. Then I took a look at the program memory window instead and there I somehow can step from reset vector. << MPLAB sometimes has problems stepping in the source code window, especially when macros are being used. I keep the program memory and source code open all the time, and step only in the program memory window. It tracks correctly most of the time in the source window except when in a macro. If execution jumps to a different source module, you sometimes have to manually point it to the new module. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads