登陆注册
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.

同类推荐
  • Z. Marcas

    Z. Marcas

    本书为公版书,为不受著作权法限制的作家、艺术家及其它人士发布的作品,供广大读者阅读交流。
  • 儿子和情人

    儿子和情人

    矿工瓦尔特原本性格开朗,充满活力,后因酗酒而日渐沉沦。妻子格特鲁德失望之余,转而将希望寄托在两个儿子身上,长子威廉又不幸早夭,遂对次子保罗产生了强烈的感情。面对情感变态的母亲,以及两个各有其不同恋爱观的女友,年轻的保罗一时颇感迷惘。
  • 出国英语对答如流

    出国英语对答如流

    内容涉及出国过程中的各种典型场景,从出入境、住宿、交通、用餐、购物、娱乐、出国求学、境外旅游、出国参展和商务出行等方面来展现出国过程中的各种真实情景,语言简洁明快,易学好记,实用性强。格式分为互动问答、高频精句、场景会话、金词放送和精彩片段等部分,结构清晰,设计活泼,突出场景,实用性强。
  • 生活英语会话王

    生活英语会话王

    本书共分为四类话题,内容涵盖了日常生活交际场合的50多个场景。全书共分49个单元,每单元下分:巧问巧答、会话工具、会话模板、鲜活词语和趣味阅读五大部分。收录了日常生活中最常用到的食、住、穿、行四个方面的内容,共十四节49个单元,非常实用、易练,循序渐进就可以学会。
热门推荐
  • 无敌逍遥神

    无敌逍遥神

    宅男石长生为了玩一款网游,自己编写了一个可以无限成长的无敌外挂“逍遥神”,结果莫名其妙被穿越到了武道世界,传承了他自己所开发的逍遥神,成为了一名剑术奇才!从此走上无敌逍遥路,碾压一切,直临神道!无敌是多么,是多么的寂寞!……我是逍遥神,我的装逼时代我做主!
  • 白色眷恋

    白色眷恋

    因为不满皇马6比2的比分,中国青年律师沈星怒砸啤酒瓶,结果电光火石间,他穿越成了佛罗伦蒂诺的儿子,且看来自09年的小伙子如何玩转03年的欧洲足坛
  • 三生念故君仙劫

    三生念故君仙劫

    千年仙冥现世,三界因她而乱。异界初见,她抬眸仰望眼前犹如画中走出的男人,似仙似魔。他俯身低头若有似无的轻蹭她耳垂,在她耳畔低声缓道,“一世梵音,君临天下。”百年来,他对她万千宠爱,却在一夕之间破碎。悬崖边,他步步逼近,深邃的目光直直盯着她,半晌不语,亲手刃出她心,推她下崖。她坠崖堕魔被天帝抓狱,他率将毁了天界,却被天雷击中灰飞烟灭。千年,她为赴他所愿登上天帝之位,坐他墓前,放眼世间,嘴角微勾启唇,“一世梵音代君临天下。”
  • EXO相约盛夏浅冬夜

    EXO相约盛夏浅冬夜

    她,渴望一份单纯如雪的爱。她向法师询问,来到了韩国,遇见了十二个男孩........
  • 天道有余

    天道有余

    地球穿越而来郭易,进入一个强者为尊的世界,这里宗派林立却强取豪夺;皇权奢靡腐败、声色犬马;世人趋炎附势,男盗女娼,而主角却投身在一个被灭族的郭家废材少爷身上,为了寻找强者之路,而投身宗门,行走江湖却厄运连连,经历九死一生。看主角如何逆境中成长,成就强者之路,独树一帜,改变这个时代....
  • 昊日之灵

    昊日之灵

    高山绕云兮,冉兮轻云起,风吹山林兮,仙境祥烟起,清泉幽境悟玄机,空言空自序!红尘入梦随缘灭,化南柯一梦微微,大悲心大愿,一切随缘去,三千世界皆常夷,万事万物具尘泥,天涯海角茫无际,生生止止永不息!看一个“禽兽”,额,不是教授的奇幻之旅,看教授是如何斗妖兽、刻铭文、炼丹药,身为一个老头如何活好一个少年,上天给了他一次机会,看他如何重新来过。。。。。,也给了大家一个重新来过的机会哦!一起奇幻之旅吧!
  • 我的霸道总裁老公叫朴灿烈

    我的霸道总裁老公叫朴灿烈

    第一次的遇见全是因为不小心开错门的结果,也正因为这样,月考的红线才能绑住他们,或许一开始并不知道自己深陷称为爱情的泥潭,但后来两颗心慢慢向彼此靠拢,或许一切都是命中注定吧。即使在一起本身就是一个错误,那我不介意一错再错。无论将来有多么的坎坷,请相信我会一直陪你到天荒地老第一次尝试写总裁文可能文笔略带稚嫩,不过作者一定会改正的
  • 诛天魔镜

    诛天魔镜

    赵哲年幼遭家族软禁不准修炼,十八岁偶得到父母所遗诛天魔镜,踏入修炼之路!以诛天魔镜缔造修真、灭魔两界,镇仙灭魔,成就无上神道!
  • 传说中腹黑老师的传说

    传说中腹黑老师的传说

    天玄学院,只有极其“天赋异禀”的少年才拥有资格入校就读;天玄学院,只有特别“不可思议”的教师才能够传道授业解惑。当然,话是这么说啦,其实学校里每个学生的入读都是强制性的,教师的选拔范围也要在OB或OG内才可以,因为这是一所无论学生还是教师都拥有超能力的超能力学院。我们的新一代好老师卜充,会与亲爱的同学们发生怎样的故事呢?敬请期待。PS:阅读本书之后你会领悟两样人生真谛,第一,那些眯眯眼的全部都是怪物;第二,戴眼镜的家伙腹黑是没下限的。
  • 伴君记

    伴君记

    在所有人眼中,卫国公家庶出第四女裴嫊,就是个抢了亲妹妹采选机会,不择手段入宫的心机虚荣女。嫊嫊姑娘对月长叹:真真是山月不知心底事啊?人家才不想和那只风流天子有任何亲密接触呢?人家进宫只是逼不得已的另有所图而已。可是图着图着,怎么一切都有些不对劲儿了呢?她怎么反倒被人家给图了呢?