External RAM is accessed indirectly through an address pointer register, and its read and write efficiency is lower than that of internal RAM.
The maximum external RAM capacity is 64KB.
Keil C51 provides two external data storage methods, pdata and xdata.
1) xdata storage type, indicating that the variable can be stored anywhere in the 64KB address range of the external RAM. In the large memory model, variables are of this default storage type.
2) pdata storage type, indicating that the variable can be stored anywhere within the 256-byte page range of external RAM. In the compact memory model, variables are of this storage type.
External RAM is accessed via the movx instruction.
Previous article:Keil C51's 11th keyword extension of C language: xdata
Next article:Keil C51's ninth keyword extension of C language: idata
Recommended ReadingLatest update time:2024-11-15 16:37
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Siemens Motion Control Technology and Engineering Applications (Tongxue, edited by Wu Xiaojun)
- How to read electrical control circuit diagrams (Classic best-selling books on electronics and electrical engineering) (Zheng Fengyi)
- MCU C language programming and Proteus simulation technology (Xu Aijun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- KiCad RF Tools
- MicroPython Hands-on (09) - Learn MaixPy face recognition from scratch
- How to copy Alitum ROOM format to include copper pour?
- MC34063 step-down circuit
- Disassemble a Hall three-axis joystick
- Review of the concepts of intrinsic semiconductors and PN junctions
- Free application for VICOR DCM DC-DC converter module related evaluation board is now available!
- Join the stm32 development team, increase friendship and increase income...
- DSP bootloader C5000
- EEWORLD University Hall----Live Replay: TI's Industry's Most Accurate 3D Hall Effect Position Sensor