登陆注册
12976300000010

第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).

同类推荐
  • 不可思议!原来我的英语这么溜!

    不可思议!原来我的英语这么溜!

    由徐维克编著的《不可思议原来我的英语这么溜》内容从基本的打招呼到话题应对,涵盖日常生活的方方面面,内容丰富。 关键时刻必备的一句话,依个人情况不同,可选择简易版或是升级版来回答,书里还将最夯的偶像剧对话与情境做链接,让您在练习时更容易融入情感,效果自然就会double再double啰!另外,对于想要将哪一句话延伸,从一句变两句变三句的读者朋友,书里也设计单词便利贴,提供与该情境相关、可延伸的单词,《不可思议原来我的英语这么溜》是一本实用性5颗星、趣味性也5颗星的生活英语会话书,推荐给您。
  • 美国历史(英文版)

    美国历史(英文版)

    《美国学生历史》(英汉双语版)出版问市后,受到众多读者欢迎,不少读者期望能买到英文原版关于美国历史的教材,《美国历史》正是为满足这部分读者纯英文阅读的需求。这本全英文版的《美国历史》由美国著名历史学家比尔德编写,以西方人的视角,深入浅出地介绍了从殖民地时期到世界大战期间美国历史上的重大事件与文明发展。《美国历史》按不同历史时期,分知识点,一一讲述,便于理解记忆。为使读者更好地理解和掌握各章的重点和难点,每章末尾还附有练习题和思考题。文中还配有相应的插图,便于对不同地域和各个时期人物及事件有更直观感受。
  • 谜语绕口令英语

    谜语绕口令英语

    谜语和绕口令是英语文学中两种比较独特的语言艺术形式。前者既饶有情趣,又可以启发心智,增进思考和想像能力;后者结构巧妙,诙谐风趣,富有音乐性,最适合口头背诵,深受广大英语读者的喜爱。
  • 世界名牌大全(英汉双语版)

    世界名牌大全(英汉双语版)

    本书《世界名牌圣经》是中英文的对照白金版本,不仅给读者展现原汁原味的世界名牌,而且领略名牌风采的同时大幅度提高了英语水平和人生品质。本书根据中国人的喜好精心挑选了8大品类:尖端品牌、世界名表、品牌服装、化妆品、珠宝首饰、皮具、名酒、豪车系列。这8部分全是作者精挑细选出的世界名牌,每一个部分分为“品牌名片”、“品牌标志”、“品牌阅读”并附核心词汇。“品牌名片”一目了然列明名牌的品类、标志风格、创始人、诞生地、诞生时间;“品牌标志”展示名牌的商标;“品牌阅读”详细叙述名牌传奇、名牌经典之作等等。
  • 商务外贸英语口语即学即用

    商务外贸英语口语即学即用

    本书取材于人们商务外贸英语生活的方方面面,范围广、实用性强,《商务外贸英语口语即学即用》共包括8个部分:商务交际、日常工作、市场营销、商务出行、对外贸易、商务谈判、电子商务和求职应聘。希望《商务外贸英语口语即学即用》对具有中低层次英语水平的读者提高英语口语水平有所帮助。
热门推荐
  • 心理学与影响力

    心理学与影响力

    “心理”是看不见也摸不到的东西,可我们的生活却与之息息相关,常常无形中影响着我们的心情、社交、工作和情感生活。本书将带你分别从日常人际、气场修炼、销售、谈判、职场、情感生活、教育理念以及消费这八个角度认识和了解心理学,提升我们的声望和影响力,让我们在工作和生活中无往而不利。
  • 逆武葬道

    逆武葬道

    简介:古峰,本是边荒古村一名普通的少年。因缘巧合之下,融残印,修妙法,启真窍,逆天心,破命关,觉醒本命“轮印”。从此,如龙入沧海,走出边荒,一路崛起,逆天葬道,一步步踏上巅峰。
  • 红桃King与黑桃Queen

    红桃King与黑桃Queen

    冥灵的热血剧情总是一贯的有着浓郁的美漫情结,如果把它们拍成电影,那必然是热闹非凡,色彩绚丽,适宜暑期档火热上映。
  • 福妻驾到

    福妻驾到

    现代饭店彪悍老板娘魂穿古代。不分是非的极品婆婆?三年未归生死不明的丈夫?心狠手辣的阴毒亲戚?贪婪而好色的地主老财?吃上顿没下顿的贫困宭境?不怕不怕,神仙相助,一技在手,天下我有!且看现代张悦娘,如何身带福气玩转古代,开面馆、收小弟、左纳财富,右傍美男,共绘幸福生活大好蓝图!!!!快本新书《天媒地聘》已经上架开始销售,只要3.99元即可将整本书抱回家,你还等什么哪,赶紧点击下面的直通车,享受乐乐精心为您准备的美食盛宴吧!)
  • 竹马在隔壁

    竹马在隔壁

    青梅竹马什么的最有爱了呢~三岁,宋俨遇见方怜。第一次见面,宋俨小可爱叫方怜妈妈,吓坏了方怜,还连累方怜被妈妈误会。于是方怜暗自决定,她以后一定要报复这个比自己小三岁的小屁孩。时光荏苒,十八岁的宋俨一发不可收拾,走上了模特路,逐渐渐行渐远。经过宋俨兄不懈的努力,终于坐拥可以方怜了,可是方怜执念不忘六年好不容易放下的前男友回来了……宋俨亲你还OK吗?宋俨亲你加油啊!切看青梅的竹马如何掐死青梅的郎弄床绕青梅!
  • 两个世界的传说

    两个世界的传说

    穿越什么的,太正常了,可是你见过穿越过去了再穿越回来的吗?叶家少爷,被人暗杀的时候穿越到了异界,巧的是原本是个废柴体质的他在异界却是个天才。于是传说就是这样来的。两个不同的世界,同一个传说。且看叶家废柴在两个世界呼风唤雨·········
  • 人鱼小姐进化论

    人鱼小姐进化论

    人鱼国最小的公主水颜多次惹怒国王,被发配到人类世界磨练,直至成为一个合格的淑女才能回去。水颜却擅自扭曲了国王的意思,打着要征服人类世界的旗号来到了人类世界。
  • 穿越重生:精灵王妃太贪吃

    穿越重生:精灵王妃太贪吃

    她,现代吃货特工,一朝穿越,从此决然地走上了撒娇卖萌的不归之路……
  • 福妻驾到

    福妻驾到

    现代饭店彪悍老板娘魂穿古代。不分是非的极品婆婆?三年未归生死不明的丈夫?心狠手辣的阴毒亲戚?贪婪而好色的地主老财?吃上顿没下顿的贫困宭境?不怕不怕,神仙相助,一技在手,天下我有!且看现代张悦娘,如何身带福气玩转古代,开面馆、收小弟、左纳财富,右傍美男,共绘幸福生活大好蓝图!!!!快本新书《天媒地聘》已经上架开始销售,只要3.99元即可将整本书抱回家,你还等什么哪,赶紧点击下面的直通车,享受乐乐精心为您准备的美食盛宴吧!)
  • 草系君心

    草系君心

    上仙东吾和凡人楚草的故事,希望你们喜欢。