计算机专业英语06MicroprocessorInstructionsDecoding

上传人:kfc****60 文档编号:245991610 上传时间:2024-10-11 格式:PPTX 页数:11 大小:9.30MB
返回 下载 相关 举报
计算机专业英语06MicroprocessorInstructionsDecoding_第1页
第1页 / 共11页
计算机专业英语06MicroprocessorInstructionsDecoding_第2页
第2页 / 共11页
计算机专业英语06MicroprocessorInstructionsDecoding_第3页
第3页 / 共11页
点击查看更多>>
资源描述
单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,2015/1/12,#,Lesson,Microprocessor Instructions Decoding,6,What is clock cycle,2.What does the instruction decoder needs,Warm-up Exercises,decoder 解码器,opcode 操作码,instruction decoder 指令解码器,ADD 加法,ALU 算术逻辑单元,C register C 存放器,incremen t 递增,overlap 重叠,manipulate 操纵,clock cycle 时钟周期,Words Preparation,The instruction decoder needs to turn each of the opcodes 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.,1.During the first clock cycle,we need to actually load the instruction.Therefore the instruction decoder needs to:,activate the tri-state buffer for the program counter,activate the RD line,activate the data-in tri-state buffer,latch the instruction into the instruction register,Text,指令解码器要将每个算子变成一组信号,驱动微处理器中的不同组件。,2.During the second clock cycle,the ADD instruction is decoded.It needs to do very little:,set the operation of the ALU to addition,latch the output of the ALU into the C register,3.During the third clock cycle,the program counter is incremented(in theory this could be overlapped into the second clock cycle).,Every instruction can be broken down as a set of sequenced operations like these that manipulate the components of the microprocessor in the proper order.,Some instructions,like this ADD instruction,might take two or three clock cycles.Others might take five or six clock cycles.,Text,每个指令可以分解为这样一组顺序操作,按正确顺序操纵微处理器的组件。,ADD,In computer science,the set of machine instructions that a microprocessor recognizes and can execute.An instruction set includes low-level,step-at-a-time instructions,such as add,subtract,multiply,and divide.Each microprocessor has its own instruction set.In some instances,an instruction set is defined more broadly to include instructions in programming languages as well.,Branch of mathematics that arises from counting,the most basic mathematical operation.,Key Terms,Instruction decoder,Special memory locations for storing temporary information much as a scratch pad does,C register,Clock cycle,The cell nucleus contains a collection of interacting proteins that control cell division.Sometimes called the cell cycle clock,Key Terms,ALU,Arithmetic and Logic Unit,,,the part of the central processing unit which performs operations such as addition,subtraction and multiplication of integers and bit-wise AND,OR,NOT,XOR and other Boolean operations.The CPUs instruction decode logic determines which particular operation the ALU should perform,the source of the operands and the destination of the result.,The width in bits of the words which the ALU handles is usually the same as that quoted for the processor as a whole whereas its external busses may be narrower.Floating-point operations are usually done by a separate floating-point unit.Some processors use the ALU for address calculations(e.g.incrementing the program counter),others have separate logic for this.,Questions,What does the instruction decoder needs,Please explain what does the ADD instruction need to do,In the first clock cycle,what does the instruction do,In the second clock cycle,what does the instruction do,Why do some instructions need to take five or six clock cycles,Exercise,Translate the text into Chinese,Exercise,Simple writing,Please describe the function of each clock cycle.,Exercise,THANK YOU,!,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 中学资料


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!