
Internal RAM
Figure 2−2. MSC1210 Memory Map Register Bank.
2.4 Internal RAM
As shown in Figure 2−2, the MSC1210 has a bank of 256 bytes of internal RAM. This internal RAM is found
The 256 bytes of internal RAM are subdivided as shown in the memory map of Figure 2−2. The first eight bytes (00 H− 07H) are register bank 0. By manipu- lating certain SFRs, a program may choose to use register banks 0, 1, 2, or
3.These alternative register banks are located in internal RAM at addresses
08H through 1FH. Register banks are described in greater detail in chapters
3and 4. For now it is sufficient to know that they reside in and are part of inter- nal RAM.
Bit memory also resides in and is part of internal RAM. Bit memory will be de- scribed more in section 2.4.3, but for now just keep in mind that bit memory actually resides in internal RAM at addresses 20H through 2FH.
The 208 bytes remaining of internal RAM, from addresses 30H through FFH, may be used by user variables that need to be accessed frequently or at
Note:
Internal RAM addresses 00H through 7FH may be accessed either via direct addressing or indirect addressing, whereas internal RAM addresses 80H through FFH may only be accessed via indirect addressing. This will be dis- cussed completely in Chapter 5, Addressing Modes.