- 41
- 0
- 约3千字
- 约 16页
- 2017-03-09 发布于上海
- 举报
The von Neumann Model – Chapter 4冯诺依曼模型第4章
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP 2620 * The LC-3 as a von Neumann Machine Instruction Cycle Each instruction is handled in a systematic way through a sequence of steps call the instruction cycle Each step is called a phase There are six phases to the cycle Instruction Cycle The six phases of the instruction cycle are: Fetch Decode Evaluate Address Fetch Operands Execute Store Result Instruction types There are three instruction types: Operate instruction – processes data, such as ADD Data movement instruction – moves data from one place to another, such as LDR Control instruction – alters the flow of execution in a program, such as JMP Instruction types The control instruction changes the sequence of execution in the processing unit Normally, the MAR is loaded from the PC at the beginning of processing Thus, the control instruction must affect the PC value during the EXECUTE phase We use this generate loops and branches Example: LC-3 JMP Instruction Set the PC to the value contained in a register. This becomes the address of the next instruction to fetch. “Load the contents of R3 into the PC.” Control of Instruction Cycle We’ve described the six phases, each having a number of steps For example, the FETCH instruction requires loading the MAR issuing a read memory command reading MDR - IR Recall the finite state machine is overseeing all the operations Control of Instruction Cycle Control of Instruction Cycle Remember, processing starts in state 1 The FETCH takes three clock cycles MAR is loaded with PC and PC=PC+1 Finite state machine asserts GatePC and LD.MAR PCMUX selects the +1 line and assert LD.PC signal for output MDR is loaded with instruction from memory MDR - IR Asserts GateMDR and LD.IR Control of Instruction Cycle DECODE takes one cycle in state 4 IR is used as input to for high order 4 bits(IR[15:12]) to finite state machine Execution continues until each instruction completes and the next state is set to state 1 again
您可能关注的文档
- The United States Declares War trimble美国宣战天宝.kyschools.us.ppt
- The United States Government美国政府.ppt
- The Union for the Mediterranean is a proposed 地中海联盟是一个提议.ppt
- The United States interest in the Middle East teacher 美国感兴趣的中东教师.ppt
- The Unsupervised Learning of Natural Language Structure自然语言结构的无监督学习.ppt
- The Upper Extremity CCRI上肢中棉所.ppt
- The United States Presidential Election Process美国总统选举过程.ppt
- The Use of Dynamic Financial Analysis to Determine Whether an使用动态财务分析以确定是否.ppt
- The USA and Gun Control Eastwood High School美国和枪支管制伊斯特伍德高中.ppt
- The Upanishads Queen's University奥义书女王大学.ppt
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
原创力文档

文档评论(0)