Part 2: Numeric Entry (5 Marks) Bookmark this page The following question has 5 parts and each part carries 1 mark. Ques
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Part 2: Numeric Entry (5 Marks) Bookmark this page The following question has 5 parts and each part carries 1 mark. Ques
question has 5 parts and each part carries 1 mark. Question 4 5.0 points possible (graded, results hidden) Consider the following MIPS datapath and answer the questions accordingly. -26 [25-0) Shift Left 2 -28 -4 [31-28) 32 ADD ADD Shift Left 2 Regst ALUSC -Branchel Jump Memorie Depose 6 [31-261 Control Unit MemRead Mem Wild ALUODH RegWrite Register File PC Instruction Memory 5 [25-211- Data Memory Read Regt Read Out -32 Address Instruction 32- -5 [20-161 Read Reg 2 ALU Address Read Data Write Data Write Reg [15-11-O Write Data Extend 16 [15-01 5 [500 ALU Control Instruction Opcode Funct ALUOP ALU Action ALU control input LW 25 X 1 add 3 SW 26 X 1 add 3 BEQ 29 х 2 subtract 1 ADD 3 62 0 add 3 SUB 3 54 0 subtract 1 AND 3 58 0 and 7 OR 3 47 0 or 8 SLT 3 43 0 set on less than 2 Answer using the information from the datapath diagram and the table. The table contains information in decimal. exE54C83A is a hexadecimal repesention of a machine code. Identify the instruction and answer the following questions. Which instruction is this? Give your answer EXACTLY from the table in CAPITAL What should be the value of RegDst? Give your answer in binary. For 'Don't care', write capital. What should be the value of ALUSC? Give your answer in binary. For 'Don't care', write capital What should be the value of Branch(beq)? Give your answer in binary. For 'Don't care', write capital. What should be the value of ALUOp? Give your answer in binary. For 'Don't care, write capital Submit You have used 0 of 2 attempts Save
Part 2: Numeric Entry (5 Marks) Bookmark this page The following