You are correct. The answer to your other question involves a clever trick. There is the possibility of having RAM from 00h to 0FFh, and in addition the SFRs are overlaid on the range 80h to 0FFh. Now for the trick, SFRs are only accessible via direct addressing. Indirect addressing in that range goes to RAM. For the range 00h to 7Fh, both types of addressing, direct and indirect, go to RAM. With 8 bits of address you get 384 different locations.Thanks for the reply. Am I correct in saying that address range from 0h to 7Fh can be accessed using both direct or indirect addressing, while address range 80h to FFh can only be accessed using indirect addressing?
If so, why is the memory range from 80h to FFh accessible only using indirect addressing?
Thanks in advance.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
[8051] Edsim51 7 Segment Display Issue | Programming & Languages | 1 | ||
Edsim51 7 Segment Display Issue | Microcontrollers | 0 | ||
J | 8051 and NAND Flash memory | Microcontrollers | 1 | |
L | 8051 Based Memory Game | General Electronics Chat | 0 | |
L | 8051 Based Memory Game | Homework Help | 1 |