An example of the CPU reading/writing memory process

Publisher:郑大大Latest update time:2012-03-31 Keywords:CPU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Memory read operation. For example, if you want to read out the content 50H in memory 40H, the process is as follows:

①The CPU sends the address code 40H to the address bus, and the memory address decoder selects the storage unit with address 40H:

②The CPU sends a "defilement" signal, and the memory read/write control switch turns the data transmission direction to "read";

③The memory sends the content 50H in the storage unit with address 40H to the data bus;

④The CPU reads the data 50H on the data bus into a specified register.

The reading operation of the storage unit will not destroy its original content, which is equivalent to copying.

2) Memory write operation. For example, if you want to write data ABH into the memory cell with memory address CDH, the process is as follows:

①The CPU sends the address code CDH to the address bus, and the memory address decoder selects the storage unit with the address CDH;

②CPU sends data ABH to the data bus;

③The CPU sends a "write" signal, and the memory read/write control switch turns the data transfer direction to "write";

④ The memory sends the data ABH on the data bus to the selected storage unit with address CDH.

The write operation on the storage unit changes or refreshes its original content, commonly known as "flushing" the original content.

Keywords:CPU Reference address:An example of the CPU reading/writing memory process

Previous article:Implementing serial communication between FPGA and PC
Next article:Five ways to improve storage efficiency

Recommended ReadingLatest update time:2024-11-16 21:31

Mixing and matching creates miracles: autonomous driving AI chips stage an architecture battle
After a wild growth period from 2016 to 2019 and a reshuffle in 2019, autonomous driving has entered a new stage of development. The technologies of industry-leading companies such as Google Waymo, Baidu Apollo, Tesla, Nvidia, and Mobileye are constantly iterating, and scenario-based applications are accelerating. For
[Automotive Electronics]
Introduction to the internal composition and functions of 8051 microcontroller CPU
1. Calculator The arithmetic unit takes the ALU, the binary arithmetic/logical operation unit, as the core, plus the temporary register TMP, the accumulator ACC, the register B, the program status flag register PSW and the Boolean processor. The accumulator ACC is an eight-bit register, which is the most frequently wo
[Microcontroller]
Design of a fixed-point adder for a 32-bit embedded CPU
From the perspective of CPU instruction execution frequency, the arithmetic logic unit, program counter, and coprocessor are the most frequently used modules in the CPU, and the adder is the core component of these modules. Almost all critical paths are related to them. Therefore, designing an adder that is universally
[Microcontroller]
A bus driver with Guangdong and Macau license plates was caught by customs for smuggling 256 Intel CPUs tied to his body
According to information released by the customs, the Hong Kong-Zhuhai-Macao Bridge Customs recently seized two cases of cross-border bus drivers smuggling central processing units into the country at the bridge port.     On June 16, when the customs officers were inspecting a bus with Guangdong and Macao license p
[Embedded]
A bus driver with Guangdong and Macau license plates was caught by customs for smuggling 256 Intel CPUs tied to his body
Samsung CPU s3c2440 interrupt vector table problem
I have never understood why the interrupt vector table of 2440 is at _ISR_STARTADDRESS=0x33FF_FF00? How does the CPU jump to this location? What is the purpose of the terminal vector table at address zero? I had some free time today, so I studied it carefully and finally saw it clearly.    Note the following code:
[Microcontroller]
Jiwei Consulting: Domestic CPUs have great potential. How to solve the three major concerns?
-In recent years, domestic CPU manufacturers have been forging ahead and making continuous breakthroughs in many aspects such as technology, performance, and ecological construction, building a new fortress for the independent controllability, security and trustworthiness of CPUs. -Domestic CPU manufacturers may be at
[Mobile phone portable]
Jiwei Consulting: Domestic CPUs have great potential. How to solve the three major concerns?
Microcontroller Basics: MCU--51 CPU and Memory
The CPU of the 8051 microcontroller is composed of an arithmetic unit and a controller. 1. Arithmetic Unit The arithmetic unit is centered on the ALU, which performs binary arithmetic/logic operations, and is supplemented by the temporary register TMP, the accumulator ACC, register B, the program status fl
[Microcontroller]
Optimization of Communication Protocol between TMS320F206 and CPU Card
1 Hardware Circuit TMS320F206 (F206 for short) has one general input pin BIOS and one general output pin XF. In addition, there are IO0, IO1, IO2 and IO3 pins, which correspond to IO0 to IO3 of the I/O status register respectively. These four pins are software controllable through the asynchronous serial po
[Embedded]
Latest Analog Electronics Articles
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号