Question
please answer all parts i will upvote! thank you Assume you want to design the instruction fields for a simple processor. This simple processor has
please answer all parts i will upvote! thank you
Assume you want to design the instruction fields for a simple processor. This simple processor has only 64 instructions. The register bank is made of 16-8 bit registers. How would you design the instruction fields for the following cases :
1. The instruction field is 16 bits fixed and its made of Rds (one register for both source and destination), Rs, immediate and opcode fields and only the first 9 registers can be used as Rs and Rds in the instruction (what would be the range of bits for each fields?)
2. The instruction field is 32 bits fixed and it is made of Rd, Rs1 and Rs2 (separate registers for source and destination), immediate and opcode fields (what would be the range of bits for each field?)
3. The instruction field is 32 bits fixed and it is made of Rds, Rs and (one register for source and destination), immediate and opcode fields (what would be the range of bits for each field?)
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