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

同类推荐
  • 人生要耐得住寂寞

    人生要耐得住寂寞

    成功非一蹴而就,高尔基曾说过“凡事皆有终结,因此,耐心是赢得成功的一种手段。”爱情亦如此,宁缺毋滥。我选择用一生独自等待,我的成功……我的爱……
  • Songs of a Savoyard

    Songs of a Savoyard

    本书为公版书,为不受著作权法限制的作家、艺术家及其它人士发布的作品,供广大读者阅读交流。
  • 英语口语900句袋着走

    英语口语900句袋着走

    全书分为五大主题,120个话题,涉及校园、生活、工作、娱乐、旅行等老外从早到晚都在说的各方面内容。每一部分所包含的版块如下:经典句子 收集了跟生活场景相关的最经典实用的英语单句,掌握这些句子,为说出流畅的口语做好准备,夯实基础。实用对话 把每一个话题以现场交流对话的方式直观表达出来,让你觉得学英语不再枯燥、无聊!地道的表达,鲜活的语言,再现老外真实的生活场景。文化加油站  该部分包含英美文化、心灵鸡汤、名人演讲、名人访谈录等。浓缩经典,汇聚百态,在学习英语的同时增长见识,开阔眼界,提升自我。
  • 人生不设限(中英双语版)

    人生不设限(中英双语版)

    一本撼动数亿人心灵的勇气之书!没有一本书,比力克的故事,更能带给你希望!他一出生连四肢都没有,跌倒再跌倒。一直被人嘲笑。经历漫长挫折与黑暗。从失望到绝望再到充满希望,从一无所有到一无所缺。他要告诉你什么叫永不放弃的精神,以及在心灵强大的旅程上如何做一个强者。我相信没有一本书比力克胡哲的故事更能带给你希望!
  • 从零开始学英语:速成英语发音王

    从零开始学英语:速成英语发音王

    《贝斯特英语·从零开始学英语:速成英语发音王》是一本由基础音标学起的初级英语口语书,供未接触过英语或学过英语而荒废了多年的人使用。从成人学英语的实际出发,语言深入浅出,内容简单、实用。 教材部分融视、听、说为一体。本书包含5大学习阶段(第一部分整装待发:零起点学发音;第二部分大步前进:掌握发音奥妙;第三部分初有成效:速学高频句型;第四部分大有收获:快知天下;第五部分 脱口而出:交流无障碍。)
热门推荐
  • 幻想伊文录

    幻想伊文录

    帝熙学院里竟然吸血鬼这么多,夜王子冰蓝,翼王子月翔都是,可为什么偏偏看上一个丑女,花雨季的恋爱,我要和你在一起。
  • 神曰:不可盗

    神曰:不可盗

    本只是当作一次下山历练,却被种种阴谋所包围,大BOSS为她保驾护航,男一男二却老想着要了她的命,持着各自以为的真相,苏灵珏是否会走上不归路,前世记忆归来,她又是否真是别人口中身负罪孽的杀人凶手。杀戮,背叛,利用,一念神殒,一念成魔,是敌是友,可万世敬仰,却成千古罪人,只是,神曰:再起时,天地可倾也
  • 逍遥雷神都市游

    逍遥雷神都市游

    刘氓,一个胡作非为的碰瓷小混混。叶夜,医科大学的优秀毕业生。原本一辈子不会有交集的两类人,因为一场雷电,灵魂相互融合,还获得了操控雷电的能力,原本应该平淡的人生从而走上了一条未知的道路。
  • 血葬之恋

    血葬之恋

    她冷酷,她邪魅,她可爱,她妩媚,她火爆,他们是全球公主。他们是家族五少,她们在一起有怎样的故事呢?
  • 眼见为虚

    眼见为虚

    讲述与魔术息息相关的故事。一个古老的魔术组织,三位难得的魔术奇才,共同组成了一场酣畅淋漓的魔术冒险之旅。
  • 突变者们

    突变者们

    王竞慢慢地走进了一个陌生的世界,相同的世界
  • 遥遥相望矣

    遥遥相望矣

    初出茅庐的摄影师谢芷默孤身进入藏区拍照,危急关头被聂子臣解救并互生情愫,相爱的两个人却因生活轨迹的不同最终被迫分手。多年后两人重逢,舆论和阴谋也再次登场,当跨过时间和年轮,这对昔日的恋人又会谱写出怎样的结局?
  • 废柴逆天:传说神之女

    废柴逆天:传说神之女

    前世被人追杀,穿越到这世界,历经艰险,徘徊于生死之间,她们终于蜕变成为最闪耀的存在。收灵兽,炼丹药,修秘籍,她们一步一步,升到世界的最高峰。
  • 天香阁

    天香阁

    琅玥十二岁这年,父亲获罪,家中被抄。天子颁下诏令:其府内所有男眷充军入营,女眷入籍为妓!琅玥被迫带着年幼的弟弟进入天香阁成为官妓。十五岁挂牌,取艺名——烟罗,成为一名清倌人。在这声色犬马,风花雪月之地艰难求存。然而以色事他人,能得几时好?从今往后,我言琅玥的命运在自己手里!我要选,就选别人做不到的!我要走,就走别人走不出的路!!
  • 天赋王

    天赋王

    赵启一睁眼,昨晚的蛇女已经不见要不是接下来发现自己家都没了,就真信是自己魅力无边,偶得春风一度了小爷我是无脉,但小爷我悟性无双,技乎于道武道通神啊!带着父母留下的大阵,将黑市开遍亿万山河这黑市里,有鬼姬阴阳销魂这黑市里,有梦貊大梦千秋这黑市里,有精灵草长莺飞这黑市里,有妖魔你死我活这黑市里,有竹林节节藏宝黑市里有吃的喝的玩的乐的,保管让你倾家荡产!哈哈,想摘果子?问问小爷我的武!一双铁拳压天仙,一道腿鞭驱龙前。一声断喝星河断,一眸看破天地间!