登陆注册
3765300000011

第11章 Computer Hardware(4)

All microprocessor designs seek better performance within the limitations of their contemporary technology. In the 70s of 20th century, for example, memory was measured in kilobytes and was very expensive. CISC was the dominant approach because it conserved memory.

In a CISC architecture, there can be hundreds of program instructions—simple commands that tell the system to add numbers, store values and display results. If all instructions were the same length, the simple ones would waste memory. Simple instructions require as little as 8 bits of storage space, while the most complex consume 120 bits.

Variable-length instructions are more difficult for a chip to process, though, and the longer CISC instructions are especially complex. Nonetheless, to maintain software compatibility, modern chips such as Intel’s Pentium III and advanced Micro Devices Inc.’s Athlon must still work with all troublesome CISC instructions that were designed in the 1980s, even though their original advantage—memory conservation—isn’t as important.

In the 1980s, RAM chips got bigger and bigger in capacity while their prices dropped. The emphasis in CPU design shifted to raw performance, and RISC became the new philosophy.

RISC chips use a rather small number of relatively simple, fix-length instructions, always 32 bits long. Although this wastes some memory by making programs bigger, the instructions are easier and faster to execute.

The simplicity of RISC also makes it easier to design superscalar processor-chips that can execute more than one instruction at a time. This is called instruction-level parallelism. Almost all modern RISC and CISC processors are superscalar. But achieving this capability introduced significant new levels of design complexity.

VLIW is the latest way to simplify processors. VLIW chips don’t need most of the complex control circuitry that superscalar chips must use to coordinate parallel execution at runtime. Instead, VLIW chips shift more of that burden onto compilers.

Also, VLIW chips combine two or more instructions into a single bundle or packet. The compiler prearranges the bundles so the VLIW chip can quickly execute the instructions in parallel, freeing the microprocessor from having to perform the complex and continual runtime analysis that superscalar RISC and CISC chips must do.

VLIW chips can cost less, burn less power and achieve significantly higher performance than comparable RISC and CISC chips. But there are always trade-offs. One is code expansion-programs grow larger, requiring more memory. Far more important, though, is that compilers must get smarter. A poor VLIW compiler will have a much greater negative impact on performance than would a poor RISC or CISC compiler.

VLIW isn’t magic bullet, but it’s the new wave in microprocessor design. Within a few years, it’s certain that at least some of your software will be running on VLIW chips.

【New Words】

eclipse

衰落,日蚀

architecture 体系机构

superscalar 超标量体系结构

prearrange 预先安排

2.3 Input/ Output System

A computer is a powerful machine that can do everything people assign it. However the computer can not communicate with people directly. By the aid of input and output devices, a computer and people call "know" each other. Using input devices, people "tell" the computer what it should do and the computer feeds back the result through output devices.

Input and output devices are the interfaces of man and machine. They usually include monitor, mouse, keyboard, printer, disk (hard disk or floppy disk), input pen, scanner, and microphone, etc. Let's consider some input and output devices that are in common use.

MONITOR

The monitor, often called the video display or sometimes just the display, is the TV-like screen on which the computer outputs data. The display also echoes what you type at the keyboard. In essence, the monitor is your portal to the computer.

There are two broad classifications of monitors: monochrome and color. A monochrome monitor displays information in black and white, options include green and amber screens (they are seldom used now), while a color monitor is capable of displaying color, including characters, charts, pictures/imagines, and diagrams.

One term you need to know is cursor. The cursor is a small, possibly blinking perpendicular line or a box, which appears on your monitor at the point where the next output will occur. It pinpoints the "current position" on the screen.

MOUSE

Another common device is the mouse. You operate the mouse by moving it around the surface of your desk. As you move it, a special cursor called the mouse pointer moves around the screen in the same direction as you move the mouse. Programs that support a mouse use the buttons on the mouse to select various options.

KEYBOARD

The keyboard is one of the main input devices for your system. It is the way you will most commonly communicate with a computer; even if your mouse is broken down you can still communicate with your machine. Since the first IBM-PC came out in 1981, there have been two basic styles of keyboards. They are PC -style keyboard and AT style ones. As the Windows operating system is popular, the keyboard now you are using everyday is changed into the keyboard for Windows which has several additional keys to manipulate the Windows very easily.

In addition to these keyboard styles supported by IBM, several independent manufactures have created replacement keyboards for users who want a different layout. Even if keyboards look different from each other, they still contain all the necessary keys. Aside from the letters of the alphabet, the digits, and the punctuation keys found on any typewriter keyboard, your computer's keyboard also contains several other types of keys. Let's take a quick look at some of these special keys.

同类推荐
  • 给幸福留一扇门

    给幸福留一扇门

    本书收录了百于则经典哲理美文,其内容涉及青春、爱情、理想等方面,从不同的视角阐释了人生的种种道理。
  • 商务英语公文900句典

    商务英语公文900句典

    本书分为贸易流程函、商务通用公文和商务社会活动函三大部分。每一章的背景介绍以中英文对照的方式让读者对商务活动中各环节的商务英语信函及信函式公文有清晰的理解。文中提供大量的典型范例,能快速提高读者对商务信函用语的熟悉程度,方便记忆,易于读者掌握运用。
  • 英语词汇常见错误例解

    英语词汇常见错误例解

    英语已成为一种国际性的语言,在我国英语学习者也日益增多,特别是在高等院校英语作为一种必修课程,广大师生投入了大量的时间和精力来完成这门课程的教学和学习任务。在近三十年英语教学实践中,我们常看到许多学生在英语词汇运用过程中出现这样或那样的错误,表现在词性不明,词义不清,固定搭配不当以及英语习惯用法不符等。如果我们能及时帮助他们改正这些错误,从而使他们的英语水平得到进一步提高,这就是编写本书的目的所在。
  • 刀锋(双语译林)

    刀锋(双语译林)

    《刀锋》是英国作家毛姆的长篇小说代表作。书中讲述美国青年拉里因为好友在战争中猝然死亡,而开始向自己的内心展开深刻的追问:既然世间有善,为何恶亦相生?战后,拉里在故乡感受着美国建设一个“宏伟而繁荣的时代”的热潮,却难以置身其间。他执拗地要寻求心中那个让他难以割舍的疑问。他在书籍中发掘,在静思中梳理。为此,他几乎投入了自己全部的精力与热情,甚至解除了与恋人伊莎贝尔的婚约。之后远遁法国,再后,开始周游世界。在印度,他从东方的《奥义书》踏上了心灵自我完善之路。
  • 爱在尘埃堆积的角落(英文爱藏双语系列)

    爱在尘埃堆积的角落(英文爱藏双语系列)

    很多时候,爱就是这样简简单单的两三事。我牵着你的手,你靠着我的肩膀,刹那间,爱就是一切。过寻常日子,看细水长流。虽无声,却动人。
热门推荐
  • 从武侠到修仙的征途

    从武侠到修仙的征途

    魔剑生死棋前传他是护国应顺天,铸魔剑,建生死棋,与剑祖对弈于生死棋之上。秦时明月他是阴阳家统领东皇太一,集七剑,屠神龙,得长生。仙三中他是魔界至尊,雄霸三界 迪迦中他是远古时期的统治者,探索光与暗的奥秘 神墓中他是魔焰滔天的魔主,集亿万生灵之混,铸逆天杀阵,灭天道他是纵横在诸天万界的旅人。
  • 管理警言(当代教育丛书·现代名言妙语全集)

    管理警言(当代教育丛书·现代名言妙语全集)

    这些名言警句句句经典,字字珠玑,精辟睿智,闪耀着智慧的光芒和精神的力量,具有很强的鼓舞性、哲理性和启迪性。具有成功心理暗示和潜在力量开发的功能,不仅可以成为我们的座右铭,还能增进自律的能力。
  • 哇,历史原来可以这样学1

    哇,历史原来可以这样学1

    平实严谨说历史,轻松幽默神吐槽,彻底颠覆你对历史“枯燥”“难学”的成见!在世界的几大文明古国中,只有中国的历史是唯一没有中断过的。在祖国辽阔的土地上,到处都有令人神往的名胜古迹和出土的文物。几千年的历史为我们留下了丰富的历史典籍和资料十分丰富,涉及到生活的各个方面。本册书内容,重点详细介绍了从原始社会到魏晋南北朝之间的中国历史变迁,基本包括了中国古代史的一半内容。国家机密为什么会和一口铜锅有关?《三国演义》和真实历史相差有多大?太厚道的人真的不适合做皇帝吗?从原始社会到魏晋南北朝,你想知道的各种稀奇古怪的问题,在这本书里都能找到答案。
  • 老板不会告诉你的60个秘密

    老板不会告诉你的60个秘密

    也许你已经在职场上摸爬滚打了几十年,但是你仍然觉得公司里有很多事情令人琢磨不透;也许你是刚刚步入职场的应届毕业生,对于公司里的人际关系和职场潜规则还一知半解;也许你曾经不谙世事,被同事们排挤疏远;也许你现在正面临着被解雇的困境……其实,这一切问题的根本所在就是:你不了解公司里的很多秘密。
  • 剩女的回忆

    剩女的回忆

    偷偷的喜欢,勇敢的表白,受伤的离开……到最后害怕爱,剩下了自己。回忆过去,你还记得那些你爱过或者爱过你的的男孩么?
  • 闻香七里

    闻香七里

    北漂对于一些住台北人而言并不陌生,而且越来越流行。叙述一个极为普通家庭的小男生一段北漂自台北到大陆各个大小城市的大小事,关乎爱情,工作,人生,价值观,奋斗史到成熟男人的过程。也隱隱帶出改革開放的社會榮景欣欣向榮的成績單!
  • 南海一号之惊天海盗

    南海一号之惊天海盗

    传说沉没的船只重见天日的时候,时光之锁就会开启,历史便会重现。本书为玄幻小说,围绕神秘乘客,讲述南海一号在船长廖庭忠的带领下向大海出发。途中,他们遭遇海盗袭击,而廖庭忠也是在这个时候与女海盗卡特娜米擦出爱情的火花。
  • 追妻无门:女boss不好惹

    追妻无门:女boss不好惹

    青涩蜕变,如今她是能独当一面的女boss,爱了冷泽聿七年,也同样花了七年时间去忘记他。以为是陌路,他突然向他表白,扬言要娶她,她只当他是脑子抽风,他的殷勤她也全都无视。他帮她查她父母的死因,赶走身边情敌,解释当初拒绝她的告别,和故意对她冷漠都是无奈之举。突然爆出她父母的死居然和冷家有丝毫联系,还莫名跳出个公爵未婚夫,扬言要与她履行婚约。峰回路转,破镜还能重圆吗? PS:我又开新文了,每逢假期必书荒,新文《有你的世界遇到爱》,喜欢我的文的朋友可以来看看,这是重生类现言,对这个题材感兴趣的一定要收藏起来。
  • 冷情王爷俏王妃

    冷情王爷俏王妃

    一次荒唐的博物馆之行让她离奇穿越,陌生的国都,陌生的一切,关牢房,被下毒,被利用,被迫做着一切她难以想象的事情。因为无意进入了冰潭,她几乎命丧黄泉,天底下唯有他能救她,救她却要牺牲她的清白,迷糊中的她为了保命只能无奈的接受他的救治,只是这一切却变了。他慢慢的开始囚禁她,逼迫她必须诞下孩儿,可是孩儿诞下之后她却不想离开,她的逃离,他的失踪,N年后的平静生活突然发生火灾,孩儿中毒,一切的一切莫名的又让她们相遇,相知,相守!
  • 病娇邪医

    病娇邪医

    光是什么,她从来都不知道自己人生的光在哪……