- No category
advertisement
Philips Semiconductors
Extended Address Range Microcontroller
2 MEMORY ORGANIZATION
P87C51Mx2 User Manual
P87C51Mx2
2.1
PROGRAMMER’S MODELS AND MEMORY MAPS
The P87C51Mx2 retains all of the 80C51 memory spaces. Additional memory space has been added transparently as part of the means for allowing extended addressing. The basic memory spaces include code memory (which may be on-chip, off-chip, or both); external data memory; Special Function Registers; and internal data memory, which includes on-chip RAM, registers, and stack. Provision is made for internal data memory to be extended, allowing a larger processor stack.
The P87C51Mx2 programmer’s model and memory map is shown in Figure 3.
CODE
7F:FFFFh
Two 24-bit Universal Pointers
R7 R6 R5
R3 R2 R1
23-bit Program Counter
23-bit Extended Data Pointer
Two 16-bit DPTRs
16-bit Stack Pointer
HDATA
(includes XDATA)
7E:FFFFh
On-Chip and/or
Off-Chip
Code Memory
8 MB Code
Memory Space
PSW B A
EDATA
(includes DATA & IDATA)
Extended Data
Memory
(stack and indirect addressing)
4FFh
00:0000h
Extended SFRs
Special Function
Registers
(directly addressable)
IDATA
(includes DATA)
256 Byte On-Chip
Data Memory
(stack and indirect addressing)
100h
FFh
DATA
128 Byte On-Chip
Data Memory
(stack, direct and indirect addressing)
Four Register Banks
R0 - R7
Data Memory Space
(DATA, IDATA, EDATA)
80h
7Fh
00h
Off-Chip
Data Memory
XDATA
00:07FFh
00:06FFh
1792 Bytes On-Chip
Data Memory
(P87C51MC2)
XDATA
00:0300h
00:02FFh
768 Bytes On-Chip
Data Memory
(P87C51MB2)
00:0000h
8 MB - 64 KB External
Data Memory Space
(XDATA, HDATA)
Figure 3: P87C51MB2/C2 Programmer’s Model and Memory Map
5 Preliminary 2002 June 28
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 4 INTRODUCTION
- 4 The 51MX CPU CORE
- 4 P87C51Mx2 microcontrollers
- 6 P87C51Mx2 Logic Symbol
- 7 P87C51Mx2 Block Diagram
- 8 Memory Organization
- 8 Programmer’s Models and Memory Maps
- 9 Data Memory (DATA, IDATA, and EDATA)
- 9 Registers R0 - R
- 10 Bit Addressable RAM
- 10 Extended Data Memory (EDATA)
- 10 Stack
- 13 General Purpose RAM
- 14 Special Function Registers (SFRs)
- 15 External Data Memory (XDATA)
- 15 High Data Memory (HDATA)
- 17 Program Memory (CODE)
- 18 Universal Pointers
- 23 51MX Instructions
- 25 Instruction Set Summary
- 26 51MX Operation Code Charts
- 31 External Bus
- 31 Multiplexed External Bus
- 33 Interrupt Processing
- 37 P87C51Mx2 Ports, Power Control and Peripherals
- 37 Special Function Registers
- 40 P87C51Mx2 Ports
- 40 Ports
- 41 P87C51Mx2 Low Power Modes
- 41 Stop Clock Mode
- 41 Idle Mode
- 41 Power-Down Mode
- 43 Power-On Flag
- 43 Design Consideration
- 43 ONCE™ Mode
- 43 Low Power Eprom Operation (LPEP)
- 43 Timers/Counters 0 and
- 47 Timer
- 47 Capture Mode
- 47 Auto-Reload Mode (Up or Down Counter)
- 48 Programmable Clock-Out
- 50 Baud Rate Generator Mode For UART 0 (Serial Port 0)
- 51 Summary Of Baud Rate Equations
- 51 Timer/Counter 2 Set-up
- 54 UARTs
- 54 SFR and Extended SFR Spaces
- 55 Baud Rate Generator and Selection
- 58 Framing Error
- 59 Status Register
- 60 More About UART Mode
- 61 More About UART Modes 2 and
- 63 Double Buffering
- 65 Multiprocessor Communications
- 65 Automatic Address Recognition
- 66 Watchdog Timer
- 66 Watchdog Function
- 66 Feed Sequence
- 69 WDT Control
- 69 WatchDog Reset Width
- 69 Reading from the WDCON SFR
- 69 Software Reset Via WatchDog Timer Feed Sequence
- 70 Additional Features
- 70 Expanded Data RAM Addressing
- 71 Dual Data Pointers
- 71 Programmable Counter Array (PCA)
- 75 PCA Capture Mode
- 76 16-bit Software Timer Mode
- 76 High Speed Output Mode
- 76 Pulse Width Modulator Mode
- 76 PCA Watchdog Timer