Im using the ICD-2, so I imagine since its really not a real time simulation, that thats probably the case. And, using TMR0 to twiddle a bit, and its doing it...so, one can assume that anything to do with timers running off the internal clock, can't be viewed in the watch windows. >From: Olin Lathrop >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC:] clrf TMR0 ? >Date: Wed, 11 Feb 2004 13:25:40 -0500 > >al smith wrote: > > Shouldnt > > > > CLRF TMR0 > > > > clear the timer0 > >Yes, assuming you have the right bank selected. > > > (location 0x01) ?? > >I don't know without looking it up, which I'm not going to waste time >doing. >All you need to know is that the timer 0 register is at whatever TMR0 is >defined as in the include file. > > > Single stepping thru, it TMR0 doesnt seem to behave. > >In what way? It has always seemed to behave for me. > > > Or maybe in single step it won't because it > > relies on the clock to run it (the option reg is set to a 0x40) > >This is only an issue when using the ICD. The ICE or simulator don't have >this problem. > > >***************************************************************** >Embed Inc, embedded system specialists in Littleton Massachusetts >(978) 742-9014, 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 _________________________________________________________________ Plan your next US getaway to one of the super destinations here. http://special.msn.com/local/hotdestinations.armx -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads