This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 Port 0 I/O

8051 Micro controller

Upon reset all port pins and port registers are high.
I follow these instructions...

P0=0x00;
P0=0xFF;

Now ,the result is - All P0 registers are high & all P0 pins are low.

Q1) Does this low P0 pins indicate high impedance floating load in the case of P0?

Now, I start the program with the following instruction only.

P0=0xFF;

But All P0 registers and pins remain high.

Q2)What is the difference here? What's happening inside circuitry in both cases?