Part 2: Numeric Entry (5 Marks) Bookmark this page The following question has 5 parts and each part carries 1 mark. Ques

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: 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

Post by answerhappygod »

Part 2 Numeric Entry 5 Marks Bookmark This Page The Following Question Has 5 Parts And Each Part Carries 1 Mark Ques 1
Part 2 Numeric Entry 5 Marks Bookmark This Page The Following Question Has 5 Parts And Each Part Carries 1 Mark Ques 1 (66.5 KiB) Viewed 74 times
Part 2: Numeric Entry (5 Marks) Bookmark this page The following question has 5 parts and each part carries 1 mark. Question 4 5.0 points possible (graded, results hidden Suppose Apple Inc. hired you as a developer for their next iteration of the Rosetta binary translator. Your job is to translate the following MIPS assembly codes to RISC V machine codes. RISC V is a 32 bit ISA, which uses the following encoding formats R-Type: funct7 rt rs funct3 rd opcode 7 bits 5 bits 5 bits 3 bits 5 bits 7 bits 1-Type: immediate rs funct3 rt opcode 12 bits 5 bits 3 bits 5 bits 7 bits Now encode the following MIPS codes to RISC-V machine codes and write the equivalent & digit hexadecimal values. For example, if your answer is 0x0123ABCD, only put 0123ABCD in the response box (use all CAPITAL). 2.d 6t4, 55, 80+ , Copcode - 51, funct3 - 0, funct7 - 0, $t4 - 12. $54 - 20. Ss5 - 21] Give the answer in 9-digit Hexadecimal. Copcode = 51, funct3 = 0, funct7 = 32, $s4 = 20, $19 = 25, $55 = 21] Give the answer in B-digit Hexadecimal. adds St., 53, 5 Copcode - 19, funct3 - 0,$s3 - 19,$t1 - 9) Give the answer in -digit Hexadecimal add $1.4, 87, -15 (opcode = 19, funct3 = 0, $s7 = 23, $t4 = 12) Give the answer in digit Hexadecimal. 1x S5, D (504) Lopcode = 3, funct3 = 3, $55 = 21, $t4 = 12] Give the answer in -digit Hexadecimal Submit You have used 0 of 2 attempts B Save
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply