What are the different areas of the 8051 microcontroller's internal data memory?

Publisher:cannon928Latest update time:2015-08-04 Source: dpj100 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Answer: The 128B data RAM area inside the 8051 includes the working register group area, the directly addressable area and the data buffer area. The characteristics of each area are as follows:


(1) 00H~1FH is the working register group area, which is divided into 4 groups. Each group occupies 8 RAM byte units. Each unit is used as a working register. The 8 units in each group are defined as 8 working registers R0~R7. The selection of the current working register group is determined by the RS1 and RS0 bits of the program status word PSW. If the working registers are not needed or the 4 working registers are not needed in the actual application, the area of ​​the unused working register group can still be used as a general data buffer, which can be accessed by direct addressing or indirect addressing of the register Ri.

(2) 20H~2FH is the bit-addressable area. Each bit of these 16 bytes has an address, which is 00H~7FH.


Of course, the bit-addressable area can also be used as a general data buffer for byte addressing.


(3) 30H~7FH are the stack and data buffer.

Reference address:What are the different areas of the 8051 microcontroller's internal data memory?

Previous article:Using assembly language to transfer the data of 51 single chip internal RAM unit to external RAM
Next article:Design and application of a single-chip multitasking operating system

Recommended ReadingLatest update time:2024-11-16 14:40

8051 DC motor open loop control program
//-----------------------Function declaration, variable definition-------------------------------------------------------- #include #include #include //-----------------------Define pins--------------------------------------------------------- sbit PWM=P1^0; //PWM waveform output sbit DR=P1^1; //Direction cont
[Microcontroller]
Design of wireless temperature measurement system based on C8051F020 and Atmegal6
  At present, temperature measurement has been widely used in various fields such as steel, metallurgy, industrial welding, wave soldering, reflow soldering, etc. The temperature to be measured in these applications is very high and the measurement environment is very harsh. Traditional wired temperature measurement de
[Microcontroller]
Design of wireless temperature measurement system based on C8051F020 and Atmegal6
Solution to the problem of not finding c51.exe when compiling and linking C8051F
This semester, I encountered a small problem when using Silicon Laboratories IDE integrated development environment when I was exposed to C8051. As the title shows. Later, after the senior explained it to me, I realized that the setting was wrong. The solution is attached. In the IDE integrated development environme
[Microcontroller]
Solution to the problem of not finding c51.exe when compiling and linking C8051F
A brief discussion on the application of C8051 single chip microcomputer in variable air volume air conditioning control system
1. Introduction: The variable air volume (VAV) air conditioning system is an air conditioning system that uses a variable air volume box to adjust the air volume and the fresh air return mixing ratio of the room, and adjusts the air volume or fresh air return mixing ratio of the air conditioning unit accordingl
[Microcontroller]
A brief discussion on the application of C8051 single chip microcomputer in variable air volume air conditioning control system
QDE-2LCD and 8051 interface
[Microcontroller]
QDE-2LCD and 8051 interface
Design of drilling wellbore attitude monitoring system using C8051F060 based on MATLAB environment
1 Introduction In oil drilling, accurate measurement of wellbore attitude is the prerequisite for wellbore trajectory control. To this end, this paper fully combines the advantages of microcontroller and MATLAB, and based on the event-driven communication mechanism, proposes a visual data processing method for real-ti
[Microcontroller]
Design of drilling wellbore attitude monitoring system using C8051F060 based on MATLAB environment
Different initialization of C8051F and 80C51 series microcontrollers
1 Introduction In the past 30 years, major electronic component manufacturers in the world have launched their own unique microcontroller products. In the flourishing microcontroller family, the 80C5l series has always played an important role. This microcontroller has become an entry-level microcontroller in teachi
[Microcontroller]
What are the main differences between 80C51 microcontroller and 8051 microcontroller?
The 80C51 microcontroller was developed on the basis of the 8051, which means that in the development process of the microcontroller, there was the 8051 first, and then the 80C51. The 8051 microcontroller and the 80C51 microcontroller are exactly the same in appearance, and their command systems, pin signals, buses,
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号