What does CLEAR actually clear?
Assume I have
A VAR BYTE
B VAR BYTE
PortD = %11111111
[some code here]
CLEAR
[rest of code]
Help for CLEAR says "Set all RAM registers to zero. CLEAR zeroes all the RAM registers in each bank. This will set all variables, including the internal system variables to zero....
A and B will be cleared to 0 but what happens to PortD? Will it also be cleared to %00000000 or will it remain at %11111111?
I can't get to a PIC right now to try this unfortunately so I'm hoping someone knows the answer.
Cheers
Brian
Re: What does CLEAR actually clear?
it just clears variables for example it doesnt clear t1con
Re: What does CLEAR actually clear?
are you actually asking a question or are you trying to answer threads that have been dormant for several years