On Wed, 2007-03-07 at 10:19 +0100, Rikard Bosnjakovic wrote: > I've written a small assembly-code in MPLAB and simulate it. I open a > watch-window (View->Watch) and add a couple of symbols and SFRs. To > change the values, I simply double-click it and type in a new one. > Works fine, except for PORTA. No matter which value I try to set in > PORTA, it returns to the initial zero. Does this have something to do > with that I've set MCLRE in the config word to zero, or what's the > reason? Unfortunately, without telling us WHICH PIC you are using it's pretty much impossible to give truly useful responses. TTYL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist