Re: 8051 architecture question



There are 3 memory spaces (without tricks and such)
1-Code 64K max
2-Extenal RAM 64K max
3-Internal RAM 256 Bytes Max
The internal RAM overlays the 128 bytes of Register Space.
It gets confusing here. You get the full 256 bytes of internal RAM Plus
the registers. ( there are some overlapping instructions).
The 4 register banks are in the RAM. The bit space (256 bits) over lays
part of the RAM and Some of the register. (this allows you to use bit or
byte commands on them).

The reserved memory area does nothing, it is extra space to add things
in the future.
scratchpad memory is a programming term not an 8051 memory space.
look at www.8052.com for more info.



.



Relevant Pages