We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i have a doubt in SFR. in SFR address for PORT 0 is 0x80; and P0_1=0x81; that means first pin of the port 0.
For stack pointer address in the 8051 is 0x81, and how it working with this same address please explain all it.
sbit P0_1 = 0x81 and sfr SP = 0x81 is same or not
Time to start suspecting that there are processor architectures that have multiple address spaces, and that the same offset, when used in the different address spaces might address completely different things.
And when that suspicion gets strong enough, it might be time to look for the architecture documentation and see if the suspicion is true or not.