I1: sub $81, $s2, $s3 12: lw $s4, 4($54) 13: addi $55, $t3, 8 14: bne $t1,$t2, loop Please draw the path and explain the

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

I1: sub $81, $s2, $s3 12: lw $s4, 4($54) 13: addi $55, $t3, 8 14: bne $t1,$t2, loop Please draw the path and explain the

Post by answerhappygod »

I1 Sub 81 S2 S3 12 Lw S4 4 54 13 Addi 55 T3 8 14 Bne T1 T2 Loop Please Draw The Path And Explain The 1
I1 Sub 81 S2 S3 12 Lw S4 4 54 13 Addi 55 T3 8 14 Bne T1 T2 Loop Please Draw The Path And Explain The 1 (137.41 KiB) Viewed 49 times
I1 Sub 81 S2 S3 12 Lw S4 4 54 13 Addi 55 T3 8 14 Bne T1 T2 Loop Please Draw The Path And Explain The 2
I1 Sub 81 S2 S3 12 Lw S4 4 54 13 Addi 55 T3 8 14 Bne T1 T2 Loop Please Draw The Path And Explain The 2 (139.31 KiB) Viewed 49 times
draw datapath four all 4.
I1: sub $81, $s2, $s3 12: lw $s4, 4($54) 13: addi $55, $t3, 8 14: bne $t1,$t2, loop Please draw the path and explain the process when each instruction goes into the datapath. PCS 0 Add M 4 - ALU 1 Add result Shift left 2 PC Read address ALUSC 4 ALU operation Read register 1 Read register 2 Read data 1 MemWrite Memto Reg Instruction Registers Read Zero ALU ALU result Write register Instruction memory data 2 3 Address Read data M Write data 1 RegWrite Write Data
PCSrc 0 Add M х 4 ALU Add result 1 Shift left 2 PC Read address ALUSIC ALU operation Read register 1 Read Read data 1 register 2 Registers Read Write register data 2 Mem Write Memto Reg Instruction Zero ALU ALU Instruction memory Address result Read data 0 M u х 1 Write data x=3 RegWrite Write data Data memory 32 MerRead Sign- extend
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply