SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding MIPS Processor Connections: R-type, Memory, and Jump Instructions

urielle-gould avatar
15 diapositives · 295 Views · Nov 20, 2014

This overview focuses on the MIPS processor architecture, emphasizing the importance of appropriate connections between various parts to execute functions. We delve into R-type and memory-type instructions such as lw (load), sw (store), and branch (beq), outlining their data paths and formats. Additionally, we discuss how jump instructions are implemented, including the necessary adjustments to the program counter (PC). Relevant details about opcode, registers, and instruction formats are also covered, providing a comprehensive understanding of MIPS operations.

Understanding MIPS Processor Connections: R-type, Memory, and Jump Instructions - slide 1
01 / 15Understanding MIPS Processor Connections: R-type, Memory, and Jump Instructions
1 / 17

Télécharger la présentation

Understanding MIPS Processor Connections: R-type, Memory, and Jump Instructions
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. MIPS processor continued

  2. Review • Different parts in the processor should be connected appropriately to be able to carry out the functions. • Connections depending on what we need • Learnt R-type, lw, sw, beq

  3. lw & sw?

  4. Data path only for lw and sw (answer)

  5. Data path for both R-type and memory-type instructions add $rd, $rs, $rt, format: opcode (6 bits) rs (5 bits) rt (5 bits) rd (5 bits) 00000 funct (6 bits) lw $rt, offset_value($rs): opcode (6 bits) rs (5 bits) rt (5 bits) offset (16 bits) sw $rt, offset_value($rs): opcode (6 bits) rs (5 bits) rt (5 bits) offset (16 bits)

  6. Data path for both R-type and memory-type instructions add $rd, $rs, $rt, format: opcode (6 bits) rs (5 bits) rt (5 bits) rd (5 bits) 00000 funct (6 bits) lw $rt, offset_value($rs): opcode (6 bits) rs (5 bits) rt (5 bits) offset (16 bits) sw $rt, offset_value($rs): opcode (6 bits) rs (5 bits) rt (5 bits) offset (16 bits)

  7. Answer

  8. Datapath for R-type, memory, and branch operations

  9. Datapath for R-type, memory, and branch operations (Answer)

  10. Datapath for Memory, R-type and Branch Instructions, plus the control signals

  11. Jump Instruction • Jump instruction seems easy to implement • We just need to replace the lower 28 bits of the PC with the lower 26 bits of the instruction shifted by 2 bits • The shift is achieved by simply concatenating 00 to the jump offset week-13-3.ppt

  12. 31 26 25 0 0 0 0 0 1 0 opcode Address Implementing Jumps • The one we have supports arithmetic/logic instructions, branch instructions, load and store instructions • We need also to support the jump instruction • What are the changes we need to make?

  13. Add j?

  14. Supporting Jump Instruction

  15. In Class Exercise – Supporting Jump Register week-14-1.ppt