登陆注册
23770800000010

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

同类推荐
  • 法律专业英语教程

    法律专业英语教程

    本书将学习英语与了解以美国为代表的英美法律、法律制度,提高实用法律英语操作能力紧密结合,即不仅注重英语能力的培养,也强调涉外法律专业知识的传授和技能的训练。本书除了适合“英语+法律”、“法律+英语”的涉外型、复合型本科生、研究生使用外,也可供法学、外交、国际贸易、国际金融和国际政治等专业的本科生、研究生学习法律和英语之用。此外,对于广大法律英语爱好者及希望了解英美法律和法律制度的专业人士,也是难得的参考书。
  • 课外英语-网络双语时代(双语版)

    课外英语-网络双语时代(双语版)

    本书分为美国各州的小知识,七彩缤纷的音符,优美好看的小散文,开心时分的短文,经典流传的寓言,超级高效的短句,实际有用的词汇等等在这些书中,备有单词解释,相关简介,或中文翻译,便于同学们更好的阅读和理解,真正进入文字的内涵当中,准确地和文字进行交流。网络来到了我们的身边,并深刻地影响着人们的生活。
  • 英语PARTY——绿色花园之国·新西兰

    英语PARTY——绿色花园之国·新西兰

    本套书籍带你领略英语世界风景,感悟英语学习氛围,有助于英语学习。
  • 世界名牌大全(英汉双语版)

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

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

    英语PARTY——交际口语排练室

    本套书籍带你领略英语世界风景,感悟英语学习氛围,有助于英语学习。
热门推荐
  • 异世行游

    异世行游

    奇异的世界,一个少年被传送而来,这里没有武术,却崇尚武力。这里没有斗气,却有神奇的魔法。这里没有武士,却有强大的机甲。少年将会在这异世中,有所作为呢?
  • 魔法少女璐璐历险记

    魔法少女璐璐历险记

    斗魔王,镇河妖,战艳后,踩梵庙。拯救地球,维护人类和平。没几样宝贝还真不行!我有天生魔法三件套:一缕龙魂,白皮书,笔小姐。自带光环谁堪与敌?我的大叔是马超,型英帅靓武功高。诸葛亮爷爷送我锦囊法宝,雪国公主为我撑腰。也许看到会说话的钢笔也许看到会飞的拖把也许看到变形金刚也许看到关公战秦琼也许看到张飞杀岳飞不用奇怪这就是魔法少女璐璐历险记
  • 元能之域

    元能之域

    在这片元能大陆之上,实力,则为一切,看主角如何在大陆中,成就自己的天下
  • 花谢飞落在天涯

    花谢飞落在天涯

    世界是怎样的,生活又是怎样?不知道,只是一个小人物眼中的世界,一路所见,一路所感。请在文中,寻找你自己的样子,一个真实和不真实的你!
  • 天逆之怒

    天逆之怒

    一个被家族赶出来的废物少爷,在被赶出家族的这一天,得到了来自宇宙尽头的天逆系统,奥义神石,奥义之源,创世之源,从此天地不容。既然天不容我那我便逆天一一夜枫
  • 天才神医

    天才神医

    出身南方的方毅带着一身医术踏入燕京,在各种富豪官绅的阴谋诡计之中左右逢源,在你闯荡都市期间结识各种红颜知己、生死兄弟,从此混得风生水起、财权甲天下,成就一代神医,名扬四方。
  • 浮世行歌雁歌行

    浮世行歌雁歌行

    从小备受冷落欺凌的孤儿栖迟,遇到了家世显赫的少年陈默,二人结为兄弟,渐渐长大,本来只想就此平庸一生的他,却因身边的朋友,渐渐陷入了帝国诡异的阴谋之中。
  • 股民基民赢利一点通

    股民基民赢利一点通

    炒股票、买基金需要一份激情,更需要一本能够指点迷津的书籍。股票市场瞬息万变,涨跌捉摸不定,基金种类各具特色,风险无处不在,引领牛市淘金狂潮,不管风云变幻,我自屹立潮头。熟练炒股基本功,不会炒股也会赢,基金投资有诀窍,赚钱容易心舒坦。
  • 剑傲九霄

    剑傲九霄

    被诸神遗弃的婴儿,侥幸逃过了追杀,一丝残魂附身到一个少年的身上。凭借半部残缺的功法,让少年踏上了逆天改命的道路……一剑云水怒,一剑风雷激,天地我主宰,一剑傲九霄!
  • 冰山校草拿下手

    冰山校草拿下手

    因为她的不小心,而导致全校女生都不能和他示好“以后谁要是故意接近我,我定让他倾家荡产”她因为他扶她起来,而对她一见钟情“我一定会追到你的”“哦?拭目以待”