Question



4. Consider the following instruction (add immediate addi): Instruction: ADDI Rd, Rs, 20 Interpretation: Reg[Rd] = Reg[Rs] +
0 0
Add a comment Improve this question Transcribed image text
Answer #1
(A) The control signals generated by ALU Units are: 
    Aluop 0 //the ALU performs an add when Aluop is zero 
    ALUSrc 1

(B) Signals at the output of the control unit:
   jump     0
   branch   0
   MemtoReg 0
   MemWrite 0
   RegWrite 1
   RegDst   0 

(C) Flow of instruction Execution:

  • Add sign extension unit and mux into second ALU input
  • 1 istotop1-2의 Control instruction 125-21]Read register 1 Road data 1 insruction 120-16 Read |register 2 Wite Read instruction
Add a comment
Know the answer?
Add Answer to:
4. Consider the following instruction (add immediate addi): Instruction: ADDI Rd, Rs, 20 Interpretation: Reg[Rd] = Reg[Rs] + imediate I-type format:1 001000 I Rs I Rd 1 imediateI (a) What are th...
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
  • Modify the circuit to support a MFCC instruction. MFCC Rd instruction: Move From Condition Codes MFCC copies into the fo...

    Modify the circuit to support a MFCC instruction. MFCC Rd instruction: Move From Condition Codes MFCC copies into the four rightmost bits of Rd the values of the ALU signals Carry (C), Overflow (O), Zero (Z) and Negative (N) as they were set by the previous R- type instruction. The remaining 28 bits of Rd are set to zero. Describe the changes and additions needed for the single-cycle MIPS processor datapath and control to support this instruction. Hints: 1) MFCC...

  • Consider the following MIPS assembly language instructions: addi $1, $2, 100 swr $1, 0($2): addi $rt,...

    Consider the following MIPS assembly language instructions: addi $1, $2, 100 swr $1, 0($2): addi $rt, $rs, immediate # add immediate swr $rt, immedi ate ($rs) # store word write register These instructions are I-format instructions similar to the load word and store word instructions. The addi and swr instructions store a computed value to the destina- tion register $rt. The instructions do not require any physical hardware changes to the datapath. The effect of each instruction is given below....

  • Add 9 MUX 4 4 Addresult ALU Shift left 2 RegDst Branch MemRead Instruction (31-26) Control...

    Add 9 MUX 4 4 Addresult ALU Shift left 2 RegDst Branch MemRead Instruction (31-26) Control Memto Reg ALUOD MemWrite ALUSC RegWrite Instruction [25-21) Read PC Read address register 1 Read Instruction (20-16] MUX1 MUX Zero ALU ALU MUX3 M Instruction (31-0) Instruction memory Road Address data Read data 1 register 2 Write Read register data 2 Write data Registers result Instruction (15-11] Fox SX) Data Write data memory 16 32 Instruction (150) Sign- extend ALU control Instruction (5-0)

  • 3. Assume the processor data path show below. XE30 Add Add ALU result Shift left 2...

    3. Assume the processor data path show below. XE30 Add Add ALU result Shift left 2 RegDst Branch MemRead Instruction (31-26] RegSrc Control ALUOP Mem Write ALUSrc RegWrite PC Instruction (25-21) Read address Instruction (20-16] Instruction [31-0) Instruction instruction (15-11) memory Read register 1 Read data 1 Read register 2 Write Read register data 2 Write data Registers Zero ALU ALU result Read Address data OX OX3) 3x) Write Data data memory Instruction [15-0) 16 32 Sign- extend ALU control...

  • Add d Sum Shit left 1 B anch Instruction 16-0 Control emiaR nstruction [1915Read rogisar 1 Reat estruction [24-20 Zeru ALU ALU egster 2 Write Read 31-0retucion 11-7 Read dataM Instruction dala Reg...

    Add d Sum Shit left 1 B anch Instruction 16-0 Control emiaR nstruction [1915Read rogisar 1 Reat estruction [24-20 Zeru ALU ALU egster 2 Write Read 31-0retucion 11-7 Read dataM Instruction dala Registers Wrie Data data mem Instrucion (31032 imm Gen control Instrucion 130,14-12 4 pts) 74. Please fill in the following table, which specify how to set the control signals when executing the 2 instructions Instuction Branch Sd MemtoRe Src RegWrite MemRead MemWriteALUOp 01 Beq (4 pts)7.5. Please explain...

  • MCS) Add Addresult ALU Shift left 2 RegDst Branch MemRead MemtoReg Instruction (31-26] Control ALUOP MemWrite...

    MCS) Add Addresult ALU Shift left 2 RegDst Branch MemRead MemtoReg Instruction (31-26] Control ALUOP MemWrite ALUS RegWrite PC instruction (25-21] Instruction (20-16) Read address Instruction (31-0) Instruction memory Read register 1 Read Read data 1 register 2 Write Read Zoro ALU ALU result Address Read data instruction (15-11] register data 2 x3) Write data Registers Write Data data memory Instruction 15-01 16 Sign- extend ALU control Instruction (5-0) With regards to the single cycle implementation (as shown in the...

  • Question 4: Single Cycle Datapath Control (15 points) We wish to add the hardware support for...

    Question 4: Single Cycle Datapath Control (15 points) We wish to add the hardware support for a special R-type instruction jlr Jump and Link Register) to the single-cycle datapath below. Though this is an R-type instruction, but it is a special one that has the opcode being 000001 (instead of 000000), so the control unit will be able to differentiate this jlr instruction from the other R-type instructions and generate a special set of controls for this instruction. Opcode rs...

  • pls help I will thumbs up 4. Given the following Processor Datapath Latencies, Determine the addi...

    pls help I will thumbs up 4. Given the following Processor Datapath Latencies, Determine the addi instruction latency. List the delay components of this instruction's latency using the schematic shown in Fig 1 below Add Sum Shift Branch MemRead MertoReg Instruction (6-0 - Control ALUOD Mem Winte ALUST RegWrite Instruction (19-15] Read Instruction (24-20 Zero Read register 1 Read Read data 1 register 2 Write Road register data 2 Write data Registers Instruction (31-01 Instruction memory ALU ALUL Instruction (11-7)...

  • Assume that ‘slt $1, $2, $3’ is executed with the implementation in the picture. Identify the value of the 9-bit control...

    Assume that ‘slt $1, $2, $3’ is executed with the implementation in the picture. Identify the value of the 9-bit control signals. Add u X ALU result 4 Add Shift left 2 RegDst Branch MemRead MemtoReg Control ALUOP Instruction [31-26 MemWrite ALUSRC RegWrite Instruction [25-21] Read register 1 Read Read PC address Instruction [20-16] data 1 Read Zero register 2 Instruction ALU ALU 31-0] Instruction memory Read data M Read Address Write result u M Instruction [15-11] register data 2...

  • 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...

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