电子信息工程 微处理器 外文翻译 外文文献 英文文献.doc
《电子信息工程 微处理器 外文翻译 外文文献 英文文献.doc》由会员分享,可在线阅读,更多相关《电子信息工程 微处理器 外文翻译 外文文献 英文文献.doc(8页珍藏版)》请在三一办公上搜索。
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 the transistor
2、. 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 logic compon
3、ents 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 microprocessor does three
4、 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 new set of i
5、nstructions 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(read) and WR
6、(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. Registers A, B
7、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 adder, or it mi
8、ght 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 than the other,
9、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 can pass a 1,
10、 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 components.Although t
11、hey 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 currently on the d
12、ata 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 the program
13、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 the best regi
14、ster 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 means that the m
15、icroprocessor 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 is programmed
16、 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, and the mic
17、roprocessor 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 is possible to
18、 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 starts, it b
19、egins 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. The microproces
20、sor 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 operating system.Mic
21、roprocessor 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 register. Humans a
22、re 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 then the output
23、 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 be represent
24、ed 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 first clock cycl
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 电子信息工程 微处理器 外文翻译 外文文献 英文文献 外文 翻译 文献 英文
链接地址:https://www.31ppt.com/p-4029485.html