Hi PG... The 06 is in R0 bank 2... There is four banks.... The 0x06 is the return address of the delay call.
To view the banks, there are two page select bits (similar to the pics) called RS1 and RS0 in the PSW.. These Register Select bits determine which register bank you're in The are red (off ) green (on).
Not sure about the memory, I use the 89C52 and it has 256 bytes of ram
Hi PG... The 06 is in R0 bank 2... There is four banks.... The 0x06 is the return address of the delay call.
To view the banks, there are two page select bits (similar to the pics) called RS1 and RS0 in the PSW.. These Register Select bits determine which register bank you're in The are red (off ) green (on).
Not sure about the memory, I use the 89C52 and it has 256 bytes of ram
I don't think all variants have the ghost registers R0 - R7 in bank two three and four. So what you are seeing is the stack, I've read through the datasheet and the stack starts at location 8 on this chip
The book doesn't seem to agree with you! It doesn't matter if it's bank 2 or whatever because at least now I understand what it is and thank you for telling me this.
The book doesn't seem to agree with you! It doesn't matter if it's bank 2 or whatever because at least now I understand what it is and thank you for telling me this.
Sorry about that... But the point was there is 4 register banks and the second bank( bank1) is the start of the stack. I was calling the first bank.. bank1 instead of 0.