Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider an ISA made up of only the following 1 2 similar - to - LEGv 8 instructions.ADD R 1 , R 2 , R
Consider an ISA made up of only the following similartoLEGv instructions.ADD R R RSUB R R RAND R R ROR R R RADDI R R #ORI R R #LDUR RR # STUR RR #MUL R R R CBZ R labelCBNZ R labelB label add contents of R to R and put in RIsub contents of R to R and put in R and contents of R to R and put in R or contents of R to R and put in R add contents of R and and put in Rl or the contents of R and and put in R load contents of memory addressed by R and put in R store contents of R to memory addressed by R multiply contents of R with R and put in R if contents of R does not equal R goto label if contents of R equals R goto labelgoto labela How many bits for opcode are needed in order to encode the above instructions?b If the ISA has only generalpurpose registers RO thru R and it uses bits to represent each of the above instructions. It could have several encoding formats. How many bits are needed for each register?What is the largest immediate value that can appear in the instruction? How far can you branch ie can jump how many instructions Why?c If all registers are bit, what is the approximate size of the data memory? 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