Download Microcontroller User`s Manual
Transcript
ADDRESS SPACES Figure 3-4 also indicates the addressing modes that can be used to access different areas of memory. The first 64 Kbytes can be directly addressed. The first 96 bytes of general-purpose RAM (00:0020H–00:007FH) are bit addressable. (Chapter 5, “Programming,” discusses addressing modes.) Figure 3-5 on page 3-7 shows how areas of the memory space are implemented by on-chip RAM, on-chip ROM/OTPROM/EPROM, and external memory. The first 32 bytes of on-chip RAM store banks 0–3 of the register file (see “8XC251SA, SB, SP, SQ Register File” on page 3-10). 3.2.1 On-chip General-purpose Data RAM On-chip RAM (512 bytes or 1 Kbyte) is provided for general data storage (Figure 3-5). Instructions cannot execute from on-chip data RAM. The data is accessible by direct, indirect, and displacement addressing. Locations 00:0020H–00:007FH are also bit addressable. 3.2.2 On-chip Code Memory (83C251SA, SB, SP, SQ/87C251SA, SB, SP, SQ) The 8XC251Sx is available with 8 Kbytes or 16 Kbytes of on-chip ROM (83C251Sx) or OTPROM/EPROM (87C251Sx) as well as without on-chip code memory (Figure 3-5). Table 2-1 on page 2-3 lists the amount of on-chip code memory for each device. The on-chip ROM/OTPROM/EPROM is intended primarily for code storage, although its contents can also be read as data with the indirect and displacement addressing modes. Following a chip reset, program execution begins at FF:0000H. Chapter 14, “Programming and Verifying Nonvolatile Memory,” describes programming and verification of the ROM/OTPROM/EPROM. A code fetch within the address range of the on-chip ROM/OTPROM/EPROM accesses the onchip ROM/OTPROM/EPROM only if EA# = 1. For EA# = 0, a code fetch in this address range accesses external memory. The value of EA# is latched when the chip leaves the reset state. Code is fetched faster from on-chip code memory than from external memory. Table 3-2 lists the minimum times to fetch two bytes of code from on-chip memory and external memory. 3-8
Related documents
Intel 8xC251Sx User`s Manual
8XC251SB Embedded Microcontroller User`s Manual
82930A Universal Serial Bus Microcontroller User`s Manual
8X930Ax Universal Serial Bus Microcontroller User`s Manual
ZapCode II Handbook
User`s Manual Addendum
8XC251Sx (8XC251SA, SB, SP, SQ) SPECIFICATION UPDATE
Migrating from ZX2 to ZX3 Rev 1.0.bk
開啟原PDF
MCB251 Evaluation Board
Pyle PLR44MU Owner`s manual
Atlantis Land A02-ANT0501 NetFly Omni5