电子信息工程微处理器外文翻译(共9页).doc
《电子信息工程微处理器外文翻译(共9页).doc》由会员分享,可在线阅读,更多相关《电子信息工程微处理器外文翻译(共9页).doc(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精选优质文档-倾情为你奉上外文资料所译外文资料:1.作者 G.Bouwhuis, J.Braat, A.Huijser2.书名:Principles of Optical Disk Systems3.出版时间:1991年9月4.所译章节:Session 2/Chapter9, Session 2/Chapter 11原文:MicroprocessorOne of the key inventions in the history of electronics, and in fact one of the most important inventions ever period, was t
2、he transistor. As time progressed after the invention of LSI integrated circuits, the technology improved and chips became smaller, faster and cheaper. The functions performed by a processor were implemented using several different logic chips. Intel was the first company to incorporate all of these
3、 logic components into a single chip, this was the first microprocessor. A microprocessor is a complete computation engine that is fabricated on a single chip. A microprocessor executes a collection of machine instructions that tell the processor what to do. Based on the instructions, a microprocess
4、or does three basic things: 1.Using the ALU (Arithmetic/Logic Unit), a microprocessor can perform mathematical operations like addition, subtraction, multiplication and division; 2.A microprocessor can move data from one memory location to another; 3.A microprocessor can make decisions and jump to a
5、 new set of instructions based on those decisions.There may be very sophisticated things that a microprocessor does, but those are its three basic activities. Microprocessor has an address bus that sends an address to memory, a data bus that can send data to memory or receive data from memory, an RD
6、(read) and WR(write) line that lets a clock pulse sequence the processor and a reset line that resets the program counter to zero(or whatever) and restarts execution. And lets assume that both the address and data buses are 8 bits wide here.Here are the components of this simple microprocessor:1. Re
7、gisters A, B and C are simply latches made out of flip-flops.2. The address latch is just like registers A, B and C.3. The program counter is a latch with the extra ability to increment by 1 when told to do so, and also to reset to zero when told to do so.4. The ALU could be as simple as an 8-bit ad
8、der, or it might be able to add, subtract, multiply and divide 8-bit values. Lets assume the latter here.5. The test register is a special latch that can hold values from comparisons performed in the ALU. An ALU can normally compare two numbers send determine if they are equal, if one is greater tha
9、n the other, etc. The test register can also normally hold a carry bit from the last stage of the adder. It stores these values in flip-flops and then the instruction decoder can use the values to make decisions.6. There are six boxes marked “3-State”.These are tri-state buffers. A tri-state buffer
10、can pass a 1, a 0 or it can essentially disconnect its output. A tri-state buffer allows multiple outputs to connect to a wire, but only one of then to actually drive a 1or a 0 onto the line.7. The instruction register and instruction decoder are responsible for controlling all of the other componen
11、ts.Although they are not shown in this diagram, there would be control lines from the instruction decoder that would:1. Tell the A register to latch the value currently on the data bus 2. Tell the B register to latch the value currently on the data bus 3. Tell the C register to latch the value curre
12、ntly on the data bus4. Tell the program counter register to latch the value currently on the data bus5. Tell the address register to latch the value currently on the data bus6. Tell the instruction register to latch the value currently on the data bus 7. Tell the program counter to increment 8. Tell
13、 the program counter to reset to zero9. Activate any of the six tri-state buffers (six separate lines)10. Tell the ALU what operation to perform11. Tell the test register to latch the ALUs test bits12. Activate the RD line13. Activate the WR lineComing into the instruction decoder are the bits from
14、the best register and clock line, as well as the bits from the instruction register.RAM and ROM The address and data buses, as well as the RD and WR lines connect either to RAM or ROMgenerally both. In our sample microprocessor, we have an address bus 8 bits wide and a data bus 8 bits wide. That mea
15、ns that the microprocessor an address (2n) 256 bytes of the memory and it can read or write 8 bits of the memory at a time. Lets assume that this simple microprocessor has 128 bytes of ROM starting at address 0 and 128 bytes of RAM starting at address 128.ROM stands for read-only memory. A ROM chip
16、is programmed with a permanent collection of pre-set bytes. The address bus tells the ROM chip which byte to get and place on the data bus. When the RD line changes state, the ROM chip presents the selected byte onto the data bus.RAM stands for random-access memory. RAM contains bytes of information
17、, and the microprocessor can read or write to those bytes depending on whether the RD or WR line is signaled. One problem with todays RAM chips is that they forget everything once the power goes off. That is why the computer needs ROM.By the way, nearly all computers contain some amount of ROM (it i
18、s possible to create a simple computer that contains no RAMmany microcontrollers do this by placing a handful of RAM bytes on the processor chip itselfbut generally impossible to create one that contains no ROM).On a PC, the ROM is called the BIOS (Basic Input/Output System). When the microprocessor
19、 starts, it begins executing instructions it finds in the BIOS. The BIOS instructions do things like test the hardware in the machine, and then it goes to the hard disk to fetch the boot sector. This boot sector is another small program, and the BIOS store it in RAM after reading it off the disk. Th
20、e microprocessor then begins executing the boot sectors instructions from RAM. The boot sector program will tell the microprocessor to fetch something else from the hard disk into RAM, which the microprocessor then executes, and so on. This is how the microprocessor loads and executes entire operati
21、ng system.Microprocessor Instructions Even the incredibly simple microprocessor shown here will have a fairly large set of instructions that it can perform. The collection of instructions is implemented as bit patterns, each one of which has a different meaning when loaded into the instruction regis
22、ter. Humans are not particularly good at remembering bit patterns, so a set of short words are defined to represent the different bit patterns. This collection of words is called the assembly languages of the processor. An assembler can translate the words into their bit patterns very easily, and th
23、en the output of assembler is placed in memory for the microprocessor to execute. If you use C language programming, a C compiler will translate the C code into assembly language.So now the question is, “How do all of these instructions look in ROM?” Each of these assembly language instructions must
24、 be represented by a binary number. These numbers all know as recodes. The instruction decoder needs to turn each of recodes into a set of signals that drive the different components inside the microprocessor. Lets take the ADD instruction as an example and look at what it needs to do.During the fir
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 电子信息工程 微处理器 外文 翻译
限制150内