Question

Assume we would like to extend the MIPS architecture to support a larger register file with...

  1. Assume we would like to extend the MIPS architecture to support a larger register file with 256 registers and supporting twice as many instructions.
    1. How would this architecture change affect the size of each of the bit fields in an R-type instruction?
    2. How would this affect the size of each of the bit fields in the I-type instruction?
    3. How could each of the two proposed changes decrease the size of a MIPS assembly program?
    4. How could each of the two proposed changes increase the size of a MIPS assembly program?
0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Assume we would like to extend the MIPS architecture to support a larger register file with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Goals: To learn general-purpose register architectures. To learn encoding an instruction set. Questions: 100 points: (1)...

    Goals: To learn general-purpose register architectures. To learn encoding an instruction set. Questions: 100 points: (1) 30 points, (2) 70 points 1. (30 points) The design of MIPS provides for 32 general-purpose registers and 32 floating-point registers. If registers are good, are more registers better? List and discuss as many trade-offs as you can that should be considered by instruction set architecture designers examining whether to, and how much to increase the numbers of MIPS registers. 2. [70 points] Consider...

  • Write the program in MIPS Initialize register $t0 (will hold the sum) to zero. Then add...

    Write the program in MIPS Initialize register $t0 (will hold the sum) to zero. Then add 409610 to $t0 sixteen times. You don't know how to loop yet, so do this by making 16 copies of the same instruction. The hexadecimal value of 409610 is 0x1000 Next, initialize register Stl to 409610. Shift St1 left by the correct number of positions so that registers $t0 and $tl contain the same bit pattern. Finally, initialize register $t2 to 409610. Add $t2...

  • A block diagram of MIPS architecture is given below. What is the value of the control...

    A block diagram of MIPS architecture is given below. What is the value of the control bit for each MUX during the execution of the given instruction? Note, you may use N/A if MUX output is not useful. Add MUX 4 ALU Addresult Shift left 2 RegDst Branch MemRead Instruction (31-26] MemtoReg Control ALUOp MemWrite ALUSrc RegWrite Instruction [25-21] PC Read address Read register 1 Read Read data 1 register 2 Write Read MUX 2 Zero Instruction (2016) MUX(1 Instruction...

  • urgent A block diagram of MIPS architecture is given below. What is the value of the...

    urgent A block diagram of MIPS architecture is given below. What is the value of the control bit for each MUX during the execution of the given instruction. Note, you may use N/A if MUX output is not useful. >Add u MUX4 ALU 4 - Addresult Shift left 2) RegDst Branch MemRead Instruction (31-26) Control Memto Reg ALUOp MemWrite ALUSC RegWrite Instruction [25-21] PC Read address Instruction (20-16] Read register 1 Read Read data 1 register 2 Write Read MUX...

  • Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1...

    Topics 1. MIPS instruction set architecture (ISA). 2. Performance. 3. MIPS datapath and control. Exercise 1 Consider the memory and register contents shown below. Registers Ox0100 FFF8 13 ($t 5) 14 ($t6) 0x0100 FFFC 0x0101 0000 Memory 0x0000 0000 0x0001 1100 0x0A00 со00 0x1234 4321 OxBAOO OOBB 15 OXAAAA 0000 0x1111 1010 0x7FFF FFFD 0x0100 FFFO 0x0101 0008 (St7) Ox0101 0004 16 ($80) 0x0101 0008 17 ($sl) Show what changes and give the new values in hexadecimal after the following...

  • The classic five-stage pipeline MIPS architecture is used to execute the code fragments in this problem....

    The classic five-stage pipeline MIPS architecture is used to execute the code fragments in this problem. Assume the followings: The architecture fully supports forwarding, Register write is done in the first half of the clock cycle; register read is performed in the second half of the clock cycle, Branches are resolved in the third stage of the pipeline and the architecture does not utilize any branch prediction mechanism, Register R4 is initially 100. L1:  lw    R1, 0(R4)   add   R3, R1, R2 sw   ...

  • A block diagram of MIPS architecture is given below. What is the value of the control...

    A block diagram of MIPS architecture is given below. What is the value of the control bit for each MUX during the execution of the given instruction? Note, you may use N/A if MUX output is not useful. > Add 2x MUX 4 ALU 4- Addresult Shift left 2 Instruction (31-26] RegDst Branch MemRead MemtoReg Control ALUOP MemWrite ALUSC RegWrite Instruction (25-21) PC Read address Instruction (20-16] Read register 1 Read Read data 1 register 2 Write Read MUX 2...

  • The classic five-stage pipeline MIPS architecture is used to execute the code fragments in this problem....

    The classic five-stage pipeline MIPS architecture is used to execute the code fragments in this problem. Assume the followings: • The architecture fully supports forwarding, • Register write is done in the first half of the clock cycle; register read is performed in the second half of the clock cycle, • Branches are resolved in the third stage of the pipeline and the architecture does not utilize any branch prediction mechanism, • Register R4 is initially 100. L1: lw add...

  • it is the same question A block diagram of MIPS architecture is given below. What is...

    it is the same question A block diagram of MIPS architecture is given below. What is the value of the control bit for each MUX during the execution of the given instruction? Note, you may use N/Aif MUX output is not usefu Add MUX 4 ALU Add, result Shift left 2 RegDst Branch MemRead Instruction (31-26] Control Memto Reg ALUOP Mem Write ALUSrc RegWrite Instruction [25-21) PC Read address Instruction (20-16] MUXT Read register 1 Read Read data 1 register...

  • Translate each of the following pseudo-instructions into MIPS instructions. You should Produce a minimal sequence of...

    Translate each of the following pseudo-instructions into MIPS instructions. You should Produce a minimal sequence of MIPS instructions to accomplish the required computation. (8 Points) 1) bgt $t1, 100, Label # bgt means branch if greater than 2) ble $s2, 10, Next # ble means branch if less than or equal 3) ror $s0, $s4, 7 # ror means rotate right $s4 by 7 bits and store the result in $s0 4) neg $s5, $s4 # $s5 will have the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT