登陆注册
27082000000010

第10章 Computer Hardware(3)

An instruction is made up of operations which specify the function to be performed and operands that represent the data to be manipulated. For example, if an instruction is to perform the operation of adding two numbers, it must know what the two numbers are and where the two numbers are. When the numbers are stored in the computer’s memory, they have an address to indicate where they are, so if an operand refers to data in the computer’s memory, it’s called an address. The processor’s job is to retrieve instructions and data from memory and to perform each operation. Having done that, it signals memory to send the next instruction.

The step by step operation is repeated over and over again at speeds measured in millions of a second. A timer called a clock releases precisely timed electrical signals that provide a regular heartbeat for the processor’s work. Megahertz, which means million cycles per second, are used to measure the computer’s speed. A processor is composed of two functional units — a control unit and an arithmetic/logical unit — as well as a set of special workspaces called registers.

1.TheArithmetic and Logic Unit

The arithmetic and logical unit performs the calculations on the numbers and words in the computer. The main operations are addition, subtraction, multiplication and division. Most computers can also perform certain logical operations on words.

The arithmetic and logical unit (ALU) is the functional unit that provides the computer with logical and computational capabilities. Data are brought into the ALU by the control unit, and the ALU performs whatever arithmetic or logic operations are required to help carry out the instruction.

2.The Control Unit

The control unit is the functional unit that is responsible for supervising the operation of the entire computer system. It makes the connections between various functional units of the computer system and calls into operation each unit that is required by the program currently in operation.

The first phase of control is to provide signals to activate the operations in the ALU, the memory unit and the input/ output units. After completing an instruction, the control calls for the next instruction from the memory unit. Usually, the instructions are stored in an increasing order of address. An instruction counter is used in the control unit to record the address of the instruction under examination. By incrementing the address counter, the control unit turns to the next instruction to be fetched.

The control unit fetches instructions from memory and determines their types or decodes them. It then breaks each instruction into a serious of simple small steps

or actions. By doing this, it controls the step by step operation of the entire computer system.

3.Registers

A register is a storage location inside the processor. Register in the control unit are used to keep track of the overall status of the program that is running. Control unit registers store information such as the current instruction, the location of the next instruction to be executed, and the operands of the instruction. In the ALU, registers store data items that are added, subtracted, multiplied, divided, and compared. Other registers store the results of arithmetic and logical operations.

An important factor that affects the speed and performance of a processor is the size of the registers. Technically, the term word size describes the size of an operand register, but it is also used more loosely to describe the size of the pathways to and from the processor. Currently, word sizes in general purpose computer range from 8 to 64 bits.

【Vocabulary】

processor

n. 处理器

instruction

n. 指令

instruction set

指令系统

peripheral

adj. 外围的 n. 外围设备

arithmetic

n. 算术、算法

operation

n. 操作、操作码指令

decode

vt. 解码、解译

operand

n. 操作数

register

n. 寄存器

megahertz

n. 兆赫兹

bit

n. 位、比特

control unit

控制单元

machine language

机器语言

trigger pulse

触发脉冲

【参考译文】

计算机处理器

处理器是解释和执行指令的功能单元,它是计算机的中枢神经系统,与处理器和内存周围被称为外设的设备如键盘、显示器、磁盘等形成对比。每一套处理器都有一套独特的操作命令,例如加、存储、调入等之类的操作命令称为处理器的指令集。计算机系统设计者喜欢将计算机称为机器,所以该指令系统有时也称为机器指令系统,而书写机器指令的二进制语言叫做机器语言。但是不要将处理器的指令系统与BASIC或PASCAL这样的高级程序设计语言相混淆。

一条指令由代表执行特定功能的操作和代表被操作数据的操作数组成。例如,如果一条指令执行两个数相加的操作,那么必须知道这两个数是什么以及这两个数在什么位置。当这两个数存储到了计算机的内存中,它们就有了一个地址指示它的位置。一个操作数只是数据在计算机内存中的位置称为地址。处理器的任务就是从内存中检索指令和数据,执行每一条指令,在完成指令后指示内存送出下一条指令。

一次又一次地执行这些操作步骤,以百万次每秒计算它的速度。一个被称为时钟的计时器准确地发送定时信号,为处理器的工作提供规则的频率。一兆赫兹表示每秒一百万次循环,用它来衡量计算机的速度。每个处理器有两个功能单元,控制单元和算术逻辑单元,和一组称作寄存器的特殊工作空间组成。

1.算术逻辑单元

算术逻辑单元在计算机内执行数字和字符的运算,主要的操作有加法、减法、乘法和除法,大多数计算机也能够执行特定的字符逻辑运算。

算术逻辑单元(ALU)是为计算机提供逻辑及计算能力的部件。控制部件将数据输入算术逻辑部件,然后由算术逻辑部件完成执行指令所需的任何算术或逻辑运算。

2.控制单元

控制单元是负责监控整个计算机系统操作的功能部件。它将计算机系统的各个功能部件连接起来,并按照当前运行程序的需要对每个部件进行操作。

控制单元的第一个步骤是提供信号来激活存储在ALU、内存单元和输入输出单元中的操作指令,完成一个指令后,控制单元从内存中调出下一个指令。通常情况下,指令按照地址的上升序列存储。控制单元中使用指令计数器记录正在校验的指令地址,通过递增地址计数器控制单元指向所要取出的下一条指令。

控制单元从存储器中取出指令,并确定其类型或对其进行译码。然后将每条指令都分解成一系列简单的小步骤。这样它就控制了整个计算机系统的步进操作。

3.寄存器

寄存器是处理器内的存储单元。控制部件中的寄存器用来跟踪正在运行的程序的总体状态。控制器寄存器存储当前指令、下一条将要执行的指令地址以及该指令的操作数等信息。在算术逻辑部件中,寄存器存放要进行加、减、乘、除及比较的数据项。而其他寄存器则存放算术和逻辑运算的结果。

影响处理器速度和性能的一个重要因素是寄存器的大小。从技术上讲,术语“字长”描述了操作数寄存器的大小,但它也可用于简单描述出处理器的通道的大小。现在通用的计算机的字长从8位到64位不等。

【Reading Material】

VLIW Microprocessors

When Transmute Crop revealed its new Crusoe family of processors last month, experts weren’t surprised to learn that the chips are based on Very Long Instruction Word (VLIW) technology. VLIW has become the prevailing philosophy of microprocessor design, eclipsing older approaches such as RISC and complex instruction set computing (CISC).

同类推荐
  • 翻开就能用·商务外贸英语

    翻开就能用·商务外贸英语

    本书收录了10个与本单元密切相关的单词。汇集了20个与对话相关的短语,包含上一部分的单词。经典、贴切、鲜活的两段对话。网罗了10到20个使用频率最高的句子,分门别类,增加读者的句式储备量。在英语学习的同时,增加一些与话题相关的小知识。活跃学习气氛。
  • 社交英语口语,看这本就够

    社交英语口语,看这本就够

    因为本书是我社英语编辑部耗时2年8个月,诚邀十几位中外籍资深英语教师参与撰写、编辑、审校等工作才制作完成的,其目的就是为了给广大英语学习者打造一套“真正实用的社交英语口语大全”。本书共分为7大类:衣、食、住、行、乐、情、节日,全面涵盖老外在社交中谈得最多的100个话题。
  • 幸福的伊甸园

    幸福的伊甸园

    亲爱的读者,现在呈现给您的这一篇篇璀璨夺目的美文都是经过精心挑选的,其中的每一篇都值得您反复阅读,甚至背诵。“双语美文悦读馆”里的美文以绚丽的文笔,引领您进入一个不同文化的人生世界,细细品味,不仅给您美的享受,更给您以人生的启迪。在清凉的午后,或者是温馨的夜晚,一边品尝杯中的香茗,一边欣赏书中的美文,心旷神怡、宁静淡远的感觉就会油然而生。感悟人生真谛,沐浴智慧光芒,在红尘中做一次出世旅行,于平淡中追寻隽永,于短暂中思考永恒。
  • 用英语介绍中国:这里是上海

    用英语介绍中国:这里是上海

    阅读可以提升人格情操,增长知识,提高语言文化的综合素质,其更本质、更核心的意义在于培养学习者的兴趣,而兴趣才是一切学习者的学习动力、成功源泉。本书为读者奉上原汁原味的人文阅读精华,详细介绍了人们最感兴趣的上海历史文化、城市风景、上海生活、名人逸事等,带您全方位地了解上海。读者在学习英语的同时,又能品味这座东方文化名城的独特魅力。
  • 课外英语-温情留言簿(双语版)

    课外英语-温情留言簿(双语版)

    本册介绍母爱、亲情、爱情人生驿站,心灵物语,温馨的爱时刻萦绕在我们周围,他们是人世间最令人感动、最令人难忘的乐章。
热门推荐
  • 都市逆天剑仙

    都市逆天剑仙

    大学生林浩无意间获得龙神令,得到圣仙传承。竟身为啪啪+混沌灵体。欲爆体而亡。林浩说:“我明有我不由天,天不容我,我便逆天而行!”
  • 嫣知非福

    嫣知非福

    她是嫣然,她重生了。从前的萧嫣然失去了她最爱的人,那么现在的嫣然便要找到了一个最爱她的人,塞翁失马,焉知非福!这辈子注定了悬疑的事件伴随着她,有案件,她热血沸腾。无案件,她却难以偷闲这一次又一次的计谋要把她击垮,幸好她遇到了那个爱着她支持她的男子。婚姻虽易,生活不易,且行且珍惜!
  • 我真是中了你的病毒

    我真是中了你的病毒

    这是一个无异能,无空间,无系统也不种田的正经末世文这是末世文里的一股清流!女主唐豆豆是一个颜控女科学家做实验的时候偷看男神导致实验出了一点小差错,不过出了小差错的病毒竟然实验成功了!唐豆豆:我果然是要迎娶高富帅走向人生巅峰的人啊!唐豆豆:你要不是中的是我的病毒早变成丧尸了,还不跪下来叫我爸爸。关涵:你这是又欠揍了?唐豆豆:作者大人关涵总是家暴我!作者:嗯~,打屁股顶多算调教。
  • 我不是魔王了

    我不是魔王了

    魔王终于被打败了,正当人们欢呼着,庆祝胜利之时,不曾想到,他居然在不久后重生,再次回到这个世界上。这后面到底有什么阴谋?“喂!我尊敬的魔王大人,请把你知道的魔法都告诉我。”(和善的表情)“行行行,请您放下手中的板砖……”⊙﹏⊙
  • 完美童年

    完美童年

    记录作者童年的点点滴滴从生活、乡村、城市、的不同的童年!
  • 太虚化龙篇

    太虚化龙篇

    有朝一日,龙升九天,遨游万界。龙即是我,我即为龙——庄冥。——普通书友群:302565465【无需验证。】正版v群:573259707【1000粉丝值,需验证。】执事群:337599684【5000粉丝值,需验证。】
  • 真正的足球

    真正的足球

    足球无处不在!jim喜欢看着爸爸在赛场上为球员欢呼的样子,喜欢在球场上奔跑的那十一个人,更喜欢皮球在二十二个人之间窜来窜去的感觉,那感觉很奇妙。可能别人无法体会到,但是jim从此就对足球有了一种类似于性欲般强烈的感觉。我要成为职业足球运动员!然而这才是刚刚开始。好!你可以尽情欣赏世界上最伟大的球星的成长了......
  • 先启图

    先启图

    先启图现,抚过去,触未来,洗时光之沙,煅独尊之志,问何人敢尔,唯鸣沙书友群:286227256
  • 你是我的来日方长

    你是我的来日方长

    易然以为她可以愉悦的度过整个高中生活,半路杀出一个学霸,非要带着她学习不说,怎么这个人爱老爱怼她,不反抗就不是她易然了。屡败屡战屡屡不后退,易然和学霸的互怼生活即将鸡飞狗跳……
  • 武林盟主叶乙传

    武林盟主叶乙传

    朝廷禁武,是为了百姓安全,还是另有图谋?七星群岛,是武林的葬身地,还是新的江湖?店铺伙计叶小乙,从没想过自己就这样稀里糊涂的踏入了江湖。梦想还是要有的,万一实现了呢?