登陆注册
27082000000011

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

同类推荐
  • 涡堤孩(双语译林)

    涡堤孩(双语译林)

    《涡堤孩》是德国作家莫特·福凯创作的经典童话Undine,又名《水妖记》,它被认为是德国后期浪漫主义文学的代表作。童话讲述了生来没有灵魂的水之精灵涡堤孩与骑士之间的凄美爱情故事。痴恋于骑士的涡堤孩为爱情宁愿舍弃不老容颜与永恒的生命,与骑士结成婚姻,然而却遭遇骑士爱情的背叛,最后化为泉水环绕爱人坟边。《涡堤孩》插图由19世纪末英国出版黄金时代著名的插画大师亚瑟·拉克姆于1909年绘制,他的作品风格奇异瑰丽,创造的形象分外鲜明:老树虬曲苍劲,矮人阴险恶毒,妖灵妩媚妖娆,将文字中的奇幻氛围展现得淋漓尽致。
  • 那些美轮美奂的舞台剧

    那些美轮美奂的舞台剧

    《每天读一点英文:那些美轮美奂的舞台剧(英汉对照)》收录了莎士比亚、萧伯纳、谢里丹等文学泰斗的经典戏剧。让你在感受舞台磅礴气势的同时,学会戏里戏外做人的道理!
  • 日常286词玩转英语口语

    日常286词玩转英语口语

    作者在本书中收录了英美人日常生活交流中使用最高频的数近300个英语单词,再由单词引申到常用短语、俚语,进而由每个短语,俚语引出句子,然后是实用场景对话范例。这样把我们记忆中的两三个单词系统有效地转换成句子和情景对话,从而达到与老外交流的目的。学一次就要学透彻! 本书的中文引导句表现了每个词要表达的基本意思,只要从引导词出发,就能轻易地延伸出具体的表达方式,从而进行交流对话。完成单词、句子和对话的三重记忆。作者希望本书可以提升读者英语会话沟通技巧,在各位开口说英语、与人交流的时候,能联想到本书中的场景单词直接索引, 让您的英语口语表达跟英美人一样的地道。
  • 翻开就能用·商务外贸英语

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

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

    把沉睡的时光摇醒

    《把沉睡的时光摇醒》精选了梭罗、海明威、罗斯金、莫里斯、里尔克、笛福、兰姆、马克·吐温、托尔斯泰、毛姆、戴克、怀特、艾默生等50多位全球公认的文学巨匠,近百篇最美的散文,100多幅精美插画。全书精致雅美,传承名家之灵气,有如万般激流在心中翻涌,又似气吞山河的力量,抑或万物如谜般沉默静美,给人无限的想象和心灵滋养。
热门推荐
  • 王妃是个精神病

    王妃是个精神病

    王妃是个精神病患者林妃儿,是个精神病患者,对!是个正常的精神病患者没错!有一天她穿越了,穿越到一个疯了的即将成为王妃但没见过王爷一面的相府嫡女身上。她以为这王爷在得知他的妻子将是一名疯子的时候,会退婚!但他没有,于是乎,有了嫁过去的事情展开。白天:“王妃!本王要在上!““额……你想要上就上吧!”王妃十分好脾气。夜晚:“王妃!本王要在上!”“滚犊子!谁给你这个胆子,跟老子提出这样一个要求的?”王妃霸气侧漏,鞭刑伺候……
  • 霸道狂枭

    霸道狂枭

    本来已经摇摇欲坠的地下王朝,却被世界其他势力列为吞并对象。他本来是一个自甘堕落的人,却因为龙形玉佩而造就一个个神话!他踩在脚下的尸骨可以堆积成山。他有一帮为他抛洒热血的兄弟!也有在背后支持他的女人们!他更是当之无愧的‘暗黑之王’。
  • 贪恋红尘三千尺

    贪恋红尘三千尺

    本是青灯不归客,却因浊酒恋红尘。人有生老三千疾,唯有相思不可医。佛曰:缘来缘去,皆是天意;缘深缘浅,皆是宿命。她本是出家女,一心只想着远离凡尘逍遥自在。不曾想有朝一日唯一的一次下山随手救下一人竟是改变自己的一生。而她与他的相识,不过是为了印证,相识只是孽缘一场。
  • 我的世界:亡灵意志

    我的世界:亡灵意志

    我的世界:亡灵意志方块大陆历1324年,一直蠢蠢欲动的不死亡灵族大举进攻人类王国,五大王国联合由五位国王组成议会,来指挥人类为对抗亡灵,我们的主角也深受战争迫害,失去家园,被一伙路过的佣兵收留,故事就此展开。===========================书友群:570300316
  • 星空物语love

    星空物语love

    随时光的车轮转动,世界进入一个新的时代----异能时代,宇宙万物都拥有了异能。而金木水火土等十二大异能进入十二人的身体。这十二人代表着十二星座。不过,在十二人没有集齐之前,他们只有自己十分之一的能力。当十二星座集齐,由蛇夫座的月之圣女辅助,就将开启自己十分之九的能力。想看看自己星座的人物吗?与忘紫沉沦一起,探索星座的世界吧!
  • 无限六道行

    无限六道行

    科技创造未来,不久的后,游戏又更新新的篇章,名为仙行,传闻能利用量子将人传送至游戏世界。玩家林承,入了游戏,却因游戏要求,困在游戏中,被迫完成游戏要求的限制,方可回到地球,林承沉浸其中,努力过着生活但仅想要平凡度过余生的林承却因机缘,大败游戏里的天才NPC,吊打曾经的封测玩家,致使他声名远播,平凡一生变得不再平凡。但诡异的事,仙行任务结束,游戏修为并不因游戏结束而结束,尔后魔行,神行,佛行,鬼行,开始陆续出现,林承为一探究竟,为找回伙伴,又入了游戏,解开游戏的迷惑。(ps,六道分别为仙道,魔道,神道,阿修罗道,鬼道,人道,各成一界。求支持,求推荐,求收藏。)
  • 易烊千玺之满眼星辰

    易烊千玺之满眼星辰

    于小兔从来没想到过因为生理期而因祸得福,说起来你可能不相信,跟男神欧巴第一次见面居然是在男厕所。还…让他帮忙…
  • 无限之血脉调制

    无限之血脉调制

    冰冷...抖动...当宅男陈大牛为穿越到无限世界暗自窃喜时,他不知道,无限世界只是他的第一站......涂鸦之作,拾人牙慧,不喜勿喷,万分感谢。
  • 甜婚蜜恋:钻石老公太霸道

    甜婚蜜恋:钻石老公太霸道

    【1V1甜宠文,男女主身心双洁】“楚萧然,我要……”苏眠眠话还没说的完,楚先森已经危险的眯了眯黑眸,淡定的脱下了外套,欺身而上,唇舌硬生生的吞掉了她后面要说的“离婚”。OMG,都说楚大boss,人如其名,处处凉薄。但谁可以告诉她,明明说好的是高冷男神,可这个夜夜对她索求无度的大灰狼,到底是谁?
  • 第五人格我家人皇貌美如花

    第五人格我家人皇貌美如花

    众所周知,“卿卿子衿”在第五人格游戏界是一个奇葩。她终年霸占屠皇榜第一,而玩起人类来却是一枚不折不扣的小蜜蜂?直到,某一天,她玩人类,排到了开小号上分的他……“这个前锋挺厉害的。”她评价。“这个医生应该是个萌新。”他评价。第二局再次排到对方。她:O(≧▽≦)O太好了又是上局那只大神!他:Σ(°Д°;怎么又是这只萌新!本文架空。1v1。欢迎加入QQ群:812032360【淑女衿的秘密基地】(佛系更新。嗯,就酱!)