Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 4 (8 Points) Suppose you want to design a new ISA, this ISA has two types of instruction. The first type is called RRM
Question 4 (8 Points) Suppose you want to design a new ISA, this ISA has two types of instruction. The first type is called RRM (Register - Register - Memory), where any operations has two operands stored in registers and the result will be stored in the memory a the address given in the instruction. The instruction has the most significant bit =0 and has the following format: 0 Op code Rs Rt Memory address The second type is called RRR (register-Register-Register), where any operation has two operands stored in registers and the output will be stored in the third register. The most significant bit of this type =1, and the instruction has the following format: 1 Op code Rs Rt Rd Assume the following: The total memory capacity = 2 MB and you have a total of 16 different arithmetic and logic operations with any type of the instructions. The width of the RRM type is limited to 32 bits. a. (2 points) What is the size of the opcode field b. (2 points) What is the size of the memory address field in RRM type c. (2 points) What is the maximum number of registers that can be used with RRM type instruction. d. (2 points) Which is better: to use a fixed sized instruction for both type, or to use different size for each type? Why
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started