登陆注册
12976300000011

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

同类推荐
  • 在哈佛听演讲

    在哈佛听演讲

    哈佛大学是美国最早的私立大学之一。迄今为止,哈佛大学的毕业生中共有8位曾当选为美国总统。哈佛大学的教授团中总共产生了34名诺贝尔奖得主。此外,还出了一大批知名的学术创始人、世界级的学术带头人、文学家、思想家。我国近代,也有许多科学家、作家和学者曾就读于哈佛大学。这个被莘莘学子所向往的教育殿堂也吸引·了众多有声望的名人前去演讲。对这些社会未来的栋梁之才一吐肺腑之言。本书精选了16篇各界名流在哈佛经典、励志的演讲,中英双语,让你体验双重震撼!
  • 美国名家短篇小说赏析(中级)

    美国名家短篇小说赏析(中级)

    本书精选了十二位美国文学巨匠的12篇美国短篇小说的精华之作,每篇文章前有简短的引言,文中还附有编者的评注和分析及作者简介。
  • 商务英语公关900句典

    商务英语公关900句典

    本书分为办公室篇和商务公关篇两大部分。办公室篇主要介绍在办公室内的公关交际活动,包括电话业务、礼仪接待、求职面试、统筹安排等内容。商务公关篇主要围绕“做买卖”这主题,从联系业务、参观访问、会议商谈、签订合同等各方面详细地地介绍在公关方面的礼仪和技巧。
  • 英语前缀词根后缀袋着走:英语单词这样背才对!

    英语前缀词根后缀袋着走:英语单词这样背才对!

    本书按照词首、词根、词尾的方法来教读者记忆单词,配合例句,迅速准确地掌握单词的用法。小开本的设计,方便读者携带,装到口袋里随时随地背单词。本书提供了标准的国际音标帮助你更好地将英语说出来。同时,大量实用的例句也可以让你将单词理解得更为透彻,从而掌握地道的表达方法。
  • Nineteen Eighty-Four(1984)(英文版)

    Nineteen Eighty-Four(1984)(英文版)

    《1984》是英国作家乔治奥威尔创作的一部政治讽刺小说,小说创作于1948年,出版于1949年。书中讲述了一个令人感到窒息和恐怖的,以追逐权力为最终目标的假想的未来极权主义社会,通过对这个社会中一个普通人温斯顿史密斯的生活描写,投射出了现实生活中极权主义的本质。
热门推荐
  • 一梦惊鸿慕朝歌

    一梦惊鸿慕朝歌

    相遇的那一刻起命薄上的故事已然开始书写,只是过程里五味杂陈。有过生离亦有死别,最可怕的却是迷失。之后一切都恰如一场梦,为所有人编织。或痴恋爱恨痴迷权势或执着对错执念过往,人人渴望救赎又甘于沦陷。她是一切起源亦是大陆上救赎所有人的唯一希望,然面对重重迷雾掩盖的真相只能望而却步。逐渐在不甘中迷失被命运所牵制,溺亡边缘鼻尖沁入一抹木槿花香。是属于他的木槿花香,象征无尽的爱恋。但她早已迷途忘返,岂敢祈求遁入黑暗的余生再遇此良人?也许她只是忘了木槿花虽朝生暮死,但每次凄美凋零皆为下次更美的绽放。更忘了白水城木槿花尽数凋零时他曾许诺:“待白水木槿再次盛放,吾归,令汝木槿再不凋零,可好?”
  • 狮娘鸽爸:当“幼升小”撞上“高考”

    狮娘鸽爸:当“幼升小”撞上“高考”

    夫妻俩应该怎样处理孩子的成长问题?一个立志要做比虎妈还厉害的“狮娘”,一个要当自由民主的“鸽爸”,他们的教育效果将如何?   两个孩子,一个即将高考,处于最关键的人生阶段;一个幼升小,即将开始新的起跑。当幼升小遇上高考,如何全家总动员?   故事主人公苏兆红和于大海,因为教育孩子的价值观不同最终离婚,离婚后这种摩擦仍旧不断。
  • 清茶一杯

    清茶一杯

    元旦里,因清茶相识,非卿不嫁,以为岁月静好,从此不再浮华,却倒一条圣旨——赐婚!几番抉择,家庭、爱情,孰轻孰重?(据游戏“穿越之姻缘劫”著)
  • 武当俞莲舟

    武当俞莲舟

    三尺青锋,仗剑江湖,快意恩仇。“江山如此多娇,引无数英雄竞折腰。”多少江湖儿女埋骨他乡,又有多少英雄豪杰沉迷在权力与欲望之中不能自拔。现代人士穿越古代江湖,无心功名利禄,拜师武当,行走江湖,追求武道的故事。
  • 重生之剑圣行走

    重生之剑圣行走

    前一世,陈哲十年习剑苦心孤诣,只为有朝一日能提剑斩了昔年仇敌的狗头,以报痛失所爱之仇。这一生,平行世界从头来过的陈哲,只想牵着心上人的手,游戏人间,悠闲以度。事与愿违的话,那就少不得提剑斩几颗人头了。何以孤身迎众恶,因有宝剑斩诸邪。
  • 孽海

    孽海

    孽海下了摩斯大街,拐进赫德路,市面的繁华和喧嚣便隐去了。嵯峨的楼厦不见了踪影,撞入眼帘的尽是花园洋房和西式公寓,有阵阵花香在空气中飘逸。车夫脚下原本尘土飞扬的士敏土路也变得温润起来,夕阳的柔光将路面映得亮闪闪的。路上是幽静的,偶有三两小贩的叫卖声,再无让人心烦的市声聒噪。只是洋车却明显少了起来,一路过去没见到几辆,朱明安便觉得自己坐在洋车上很扎眼。在白克路口,一辆黑颜色的奥斯汀迎面驰来,像似要和朱明安的洋车迎头撞上去,车夫扭住车把去躲,差点儿把朱明安扶在身旁的猪皮箱甩到地下。
  • 福妻驾到

    福妻驾到

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

    迷鸟

    代号为“乌鸦”的男孩汤米由于学业来到被称为“帝国的中心”的东六区,邂逅了多年未见的挚友加佐特以及自己的“不靠谱”师傅杰森。他们看似是忙碌的学子,而一到任务降临,他们又成为了身怀异能骁勇善战的斗士。为了了解的自己充满传奇色彩的身世,处世消极的汤米必须融入帝国军与平民的矛盾冲突之中,与强于自身几倍的敌人斗争。在这样的过程中,他慢慢失去了友情、亲情、以及爱情,走向一个全新的世界,而与此同时,随着绝望到来的却是一个惊天的秘密……
  • 洛阳悲歌

    洛阳悲歌

    完稿短篇作品,希望大家会喜欢
  • 引导你走向成功

    引导你走向成功

    本书教你如何改变命运