??? 11/22/05 15:36 Read: times |
#104002 - rerad Responding to: ???'s previous message |
You should reread the "bible". You can also read some of the tutorials and FAQs. The '51 is a peculiar design.
Registers are by default at 00-07 (R0=00, R1=01 etc., R7=07). If you switch banks, it moves (Bank1: R0=08, R1=09 ,..., R7=0F; Bank2: R0=10, R1=11...; Bank3: R0=18...). The stack pointer is initialised to 07 at reset; upon push/call it first increments then stores, so (unless you changed SP) the stack is located from 08 upwards. Jan Waclawek |
Topic | Author | Date |
AT89S8252 RAM acces problem | 01/01/70 00:00 | |
stack? | 01/01/70 00:00 | |
2 banks? | 01/01/70 00:00 | |
errr?? | 01/01/70 00:00 | |
rerad | 01/01/70 00:00 | |
sure you can; however since they are oth![]() | 01/01/70 00:00 |