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

同类推荐
  • 从零开始学德语,“袋”着走

    从零开始学德语,“袋”着走

    《从零开始学德语,“袋”着走》恰恰满足了初学者的诉求。不仅封面大方美观,内容更是丰富多彩。从基础字母入门,到日常生活、青春校园、职场风云、特色文化等,几乎涵盖了所有你能想到的,以及你若是有机会去德国旅游、生活或是工作能够用到的各个方面。
  • 《21世纪大学英语》配套教材.词汇.1

    《21世纪大学英语》配套教材.词汇.1

    本系列教材是普通高等教育国家级重点教材《21世纪大学英语》的配套系列教材,包括《阅读》、《口语》和《词汇》三种,每一种分一、二、三册,供大学非英语专业的基础英语课堂教学和练习使用。《阅读》以提高学生的阅读能力为目的。第一册和第二册每册十单元。每一单元介绍一种阅读技能,并带针对性训练。各单元还配有三篇快速阅读,旨在通过反复训练以帮助学生掌握阅读技能,提高阅读速度。第三册以介绍文学名著为主,通过对各种不同文体和风格的文字进行讲解与分析,以增强学生对文学作品的欣赏能力。
  • 课外英语-七彩音符常青的爱(双语版)

    课外英语-七彩音符常青的爱(双语版)

    本书收录了世界经典英文歌曲,其中包括常青的爱、昔日恋情、无心快语、克莱门泰等多首脍炙人口的歌曲,每首歌曲都有中英文歌词、语言点解析及注释赏析。
  • 四级写作速成的秘密:3个月写出好成绩

    四级写作速成的秘密:3个月写出好成绩

    本书以新英语等级考试的评分原则和评分标准为准绳,重点体现出改革后的题型变化和分值变化。具有很强的针对性,对考生中普遍存在的写作弱点和不足进行相关的辅导帮助,每一步都有的放矢。本书提供丰富的句型模板、经典的全文模板以及真题范文,按照记叙文、议论文、应用文、说明文等各种常考体裁,对四级作文进行了详细的解释说明。
  • 青春阅读-新鲜阅读空气(下)(双语)

    青春阅读-新鲜阅读空气(下)(双语)

    英语单词词义的一个显著特点就是它的流动性。教材词汇表或英汉词典只是给出单词一般性的概括和定义。我们在阅读时还需结合具体语境对词义作不同程度的引申,得出符合上下文情境的确切的含义。
热门推荐
  • 镇天传

    镇天传

    一位平凡的少年,一段感人的爱情!一场天大的机遇,一番震天的传说!
  • 湘南忆事

    湘南忆事

    我们已禁锢在金钱名誉情爱的牢笼多长岁月?流亡在无知无能无为的荒漠几世轮回?初心是什么?或早已丢弃。湘南被逼分手,被逼出游,她如何才能找回初心?
  • 卡耐基领导的艺术与管理的智慧

    卡耐基领导的艺术与管理的智慧

    《卡耐基领导的艺术与管理智慧》是一本关于领导艺术与管理智慧的经典之作。它对于发现我们的领导才能,提升领导群伦智慧,特别是融合了管理、演讲、为人处世、智能开发等于一体的领导艺术与管理智慧的教育方式,将有非常宝贵的启示和借鉴作用。
  • 末世老剑客

    末世老剑客

    [无敌爽文]睡一觉醒来没想到世界变了,苏宿表示从来没有这么爽过,获得剑客系统,提剑砍断一切丧尸。叮~获得剑值+1叮~获得剑气值+1剑气值已满是否使用?叮~熟练度提升自动升职老剑客剑法伤害加成80%!!!
  • 嚣张女世子之首辅大人你别怕羞

    嚣张女世子之首辅大人你别怕羞

    她——白非墨,身为一个作者居然敢坑文终于被孽力回馈穿到了自己的书里!好嘛,不是她笔下最帅气的巾帼英雄,也不是聪明伶俐的和亲公主,不是倾国倾城的一代妖妃,居然是某书里仅提过一笔的炮灰女世子——“据说那可怜的云南王女世子,因为首辅大人这一眼,回去就害了相思病,最后郁郁而终。”???行,快速北上,把首辅大人干掉的话,就不会有她什么事了吧?嘿嘿~只是——杀手还没派出去,首辅大人自己先来了,“听说你很喜欢我?差点郁郁寡欢死掉?”???我哪里是喜欢你,我是要干掉你保命啊!“快来攻略我。”某大人在耳边轻轻说道,“成功了就不用郁郁寡欢了……”打开了新思路的某女:???好像我可?!1v1甜文欢迎掉坑,请多多评论支持!
  • 我做了这个世界的第三者

    我做了这个世界的第三者

    这世界有太多改变来得太突然暮水笙也终于明白世上唯一不变的不是至死不渝的感情而是永恒的改变
  • 阎王是我夫君

    阎王是我夫君

    我上天能跟玉帝谈个心,下海能跟龙王打个平手,遁地能跟阎王喝喝小酒,别问我是谁,我是小小仙女爱喝酒。若非一日喝多了酒闯下大祸,我也不至于沦落凡间来个十世轮回,十世有七世短命两世命苦,唯有最后一世是我好不容易托了多少关系求来的富贵命,每死一次我就多一次记忆,这都死九次了,不知道最后一世是哪个朝代,还是现代好玩,科技发达,嘿嘿…白无常“哎,小小你每一世都活的那么短,每一世都是我跟小黑送你上路,这次走了就不用再回来了吧”黑无常“小小这次呀是直接飞升咯,对了,小小,这一世安排了你带着记忆直接重生在一位公主身上,放心我们都安排的妥妥的”还是黑白无常好,懂味儿,哪里像那个臭阎王,哼“谢谢啦,小黑小白,等我渡完劫回来请你们喝酒哈,我走啦”说话间已来到轮回之海,转身跳下。白无常“小黑,你说,小小仙女会成为我们尊上夫人吗?尊上也是,喜欢人家还不让人家知道是他帮她安排了一切”真不知道尊上何等想法。黑无常“你真以为是玉帝让小小仙女每世都短命?尊上早已经先小小仙女一步去凡间渡劫了”小白真笨,看不出来尊上是不想小小仙女跟别人白头到老吗?
  • 小师弟不太聪明的样子

    小师弟不太聪明的样子

    昔日万剑门天才大师兄,意外成为了不太聪明的小师弟。
  • 寻找幸运的人之遇见最好的你

    寻找幸运的人之遇见最好的你

    在这个世界,我们每个人都在寻找自己,而她拼了命的想离开这个世界。他的出现,会改变吗?
  • 天道古记

    天道古记

    盘古,女蜗,轩辕,夏禹,这些传奇是否永久地消失在了历史银河中?宙斯,波塞冬,雅典娜,阿瑞斯这些主宰身处几界?鼓动的东方神魔,暴动的西方魔灵。历史中空白的一万年如何解释。是天道作祟,还是有大神通者偷天换日?一切秘密尽在天道古记。