1 / 4

Understanding the Execution Flow of MIPS Assembly Instructions

This document explores the MIPS assembly instruction flow, specifically focusing on instructions like NOP and BEQZ. It breaks down the pipeline stages: Instruction Fetch (IF), Register Fetch (RF), Execution (EX), Write Back (WB), and how branches are managed. The use of registers, immediate values, and memory operations are also discussed, providing insights into how the MIPS architecture processes instructions and transitions between various stages. The analysis is crucial for those studying computer architecture and assembly language programming.

luke
Download Presentation

Understanding the Execution Flow of MIPS Assembly Instructions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NOP2 NOP1 BEQZ r3,-6 RFPC IF RF EX WB a 2 regc rega + 飛び先 ALU IFPC regb c b Imm. wadr IFIR RFIR Data Memory Instruction Memory

  2. NOP3 NOP2 NOP1 BEQZ r3,-6 RFPC IF RF EX WB a 2 regc rega + ALU IFPC regb c b Imm. wadr IFIR RFIR Data Memory Instruction Memory

  3. BEQZ r3,-6 NOP1 IF RF EX WB + 2 regc rega a + ALU IFPC regb c b Imm. wadr IFIR RFIR Data Memory Instruction Memory

  4. Next Inst. NOP1 BEQZ r3,-6 IF RF EX WB + 2 regc rega a + ALU IFPC regb c b Imm. wadr IFIR RFIR Data Memory Instruction Memory

More Related