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
Bookmarks