The composition of a microprocessor

Publisher:AningmengLatest update time:2015-04-23 Source: diangon Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
    The microprocessor consists of two main parts, the arithmetic unit and the controller.
    1. Arithmetic unit: It is the part of the computer that processes data. Its main functions include:
    (1) Performing arithmetic addition, subtraction, multiplication and division of numerical data, and performing logical operations such as AND, OR and NOT of logical data, which is completed by a circuit called ALU.
    (2) Temporarily storing the data and intermediate results involved in the operation, which is undertaken by multiple general registers.
    (3) The arithmetic unit is usually also the path for data transmission.
    2. Controller
    The part that controls the execution of instructions in the computer, and provides the control signals required for the coordinated operation of each functional component of the computer at every moment. Its main functions include:
    (1) Correctly executing each instruction: First, fetch an instruction, then analyze the instruction, and then execute the instruction according to the instruction format and function.
    (2) Ensure that instructions are automatically and continuously executed in the specified sequence.
    (3) Respond to and handle various abnormal situations and requests in a timely manner.
    3. Main registers in the CPU:
    (1) Accumulator (A): The most frequently used register, which cooperates with the ALU to perform various data processing. 
    (2) Data register (DR): It is a temporary storage unit that reads and writes data to the memory and I/O devices through the data bus.
    (3) Instruction register (IR): It temporarily stores the current instruction.
    (4) Instruction decoder (ID): It decodes each instruction into a control level.
    (5) Program counter (PC): It stores the current instruction address. When the CPU executes a program, it first fetches an instruction from the memory according to the address given by the PC, and the PC automatically increases by 1. After the CPU executes an instruction, it fetches the next instruction from the memory.
    (6) Address register (AR): It is used to save the address of the memory unit or I/O device that the current CPU wants to access. 
Reference address:The composition of a microprocessor

Previous article:What is a single chip microcomputer? Classification of single chip microcomputers
Next article:Necessary conditions for learning microcontrollers

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
Guess you like

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号