is it possible to design an expanding oppose to allow the following to be encode
ID: 3574370 • Letter: I
Question
is it possible to design an expanding oppose to allow the following to be encoded in a 12-bit instruction? A register is 3 bits. 4 instructions with three registers 255 instructions with one register 16 instructions with zero registers. Please explain your answer. is it possible to design an expanding oppose to allow the following to be encoded in a 12-bit instruction? A register is 3 bits. 4 instructions with three registers 255 instructions with one register 16 instructions with zero registers. Please explain your answer. is it possible to design an expanding oppose to allow the following to be encoded in a 12-bit instruction? A register is 3 bits. 4 instructions with three registers 255 instructions with one register 16 instructions with zero registers. Please explain your answer.Explanation / Answer
A register is 3 bits , means there are total (23 ) 8 registers.
1. 4 instructions with three registers i.e (2 bit opcode , 00, 01, 10, 11 ) , Single register is 3 bits so till 8 register, we can do it in 3 bits , so total 2+3 = 5 < 12 -->YES
2. 255 instruction and 1 register i.e (8 bit opcode , 2^8 = 256 < 255 ) , Single register is 3 bits so till 8 register, we can do it in 3 bits , so total 8+3 = 11 < 12 -->YES
3. 16 instruction i.e (4 bit opcode , 2^4 = 16 ) , so total 4 < 12 -->YES
I hope it clarifies. Let me know if there is anything.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.