??? 01/16/09 13:33 Read: times |
#161560 - The address of the Stack *Pointer* is fixed Responding to: ???'s previous message |
It may just be due to English not being your first language, but you do need to understand that the Stack Pointer is part of the 8051 hardware - its address cannot be changed!
What you can change is the starting address of the Stack - and you do that by changing the value that is stored in the Stack Pointer. In other words, you change the value of the Stack Pointer - not the address of the Stack Pointer. I know that sounds pedantic, but you will get yourself seriously confused if you don't have a very clear understanding of the difference between the value (or content) of a Pointer - any Pointer - and the address of the Pointer... |
Topic | Author | Date |
moving startadress stackpointer to 30H | 01/01/70 00:00 | |
with what instruction ??? | 01/01/70 00:00 | |
found it, change startadress stackpointer. | 01/01/70 00:00 | |
not exactly | 01/01/70 00:00 | |
The address of the Stack *Pointer* is fixed | 01/01/70 00:00 | |
stackpointer.![]() | 01/01/70 00:00 |