dma工作时cpu工不工作_CPU如何工作?

dma工作时cpu工不工作

CPU, also known as the microprocessor is the heart and/or brain of a computer. Lets Deep dive into the core of the computer to help us write computer programs efficiently.

CPU,也称为微处理器,是计算机的心脏和/或大脑。 让Deep深入研究计算机的核心,以帮助我们有效地编写计算机程序。

"A tool is usually more simple than a machine; it is generally used with the hand, whilst a machine is frequently moved by animal or steam power."

“工具通常比机器更简单;通常是用手操作,而机器通常是靠动物或蒸汽来移动的。”

Charles Babbage

查尔斯·巴贝奇

A computer is a machine powered mostly by electricity but its flexibility and programability has helped achieve the simplicity of a tool.

计算机是一主要由电力驱动的机器 ,但是其灵活性和可编程性有助于实现工具的简单性。

CPU is the heart and/or the brain of a computer. It executes the instructions that are provided to it. Its main job is to perform arithmetic and logical operations and orchestrate the instructions together. Before diving into the main parts let’s start by looking what are the main components of a CPU and what there roles are:

CPU是计算机的心脏和/或大脑。 它执行提供给它的指令。 它的主要工作是执行算术和逻辑运算并将指令编排在一起。 在深入探讨主要部分之前,我们先来看一下CPU的主要组件是什么以及角色是什么:

处理器的两个主要组件 (Two main components of a processor)

  • Control unit — CU

    控制单元— CU

  • Arithmetic and logical unit — ALU

    算术和逻辑单元— ALU

控制单元— CU (Control Unit — CU)

Control unit CU is the part of CPU that helps orchestrate the execution of instructions. It tells what to do. According to the instruction, it helps activate the wires connecting CPU to different other parts of computer including the ALU. Control unit is the first component of CPU to receive the instruction for processing.

控制单元CU是CPU的一部分,可帮助协调指令的执行。 它告诉该怎么办。 根据说明,它有助于激活将CPU连接到计算机其他不同部分(包括ALU)的电线。 控制单元是CPU接收处理指令的第一个组件。

There are two types of control unit:

有两种类型的控制单元:

  • hardwired control units.

    硬线控制单元

  • microprogrammable (microprogrammed) control units.

    程序控制 (微程序) 控制单元

Hardwired control units are the hardware and needs the change in hardware to add modify it’s working where as microprogrammable control unit can be programmed to change its behavior. Hardwired CU are faster in processing instruction whereas microprogrammable as more flexible.

硬连线控制单元是硬件,需要对硬件进行更改以添加修改以使其能够工作,因为可以对可编程控制单元进行编程以更改其行为。 硬接线CU处理指令的速度更快,而微编程则更为灵活。

算术和逻辑单元— ALU (Arithmetic and logical unit — ALU)

Arithmetic and logical unit ALU as name suggest does all the arithmetic and logical computations. ALU performs the opera

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值