Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.An imaginary computer has four data registers. (R0 to R3), 1024 words in memor

ID: 3645867 • Letter: 1

Question

1.An imaginary computer has four data registers. (R0 to R3), 1024 words in memory, and 16 different instructions (add, subtract, etc). What is the minimum size of an instruction in bits if a typical instruction uses the following format: add 565 R2? If the computer uses the same size of word for data and instructions, what is the size of each data register? What is the size of the instruction register of the computer? What is the size of the program counter of the computer. What is the size of the data bus? What is the size of the address bus? What is the minimum size of the control bus?

Explanation / Answer

Here is the answer" Address 4 Data Registers (R0 ---> R3) -----> which requires 2 bits = 2^2 Address 1024 Memory Locations -----> which requires 10 bits = 2^(10) Address 16 Instruction Registers -----> which requires 4 bits = 2^4 I'm guessing that ADD 565 R2 means add or sum the contents of memory location 565 to Data Register 2. ADD -----> 4 bit instruction address 565 -----> memory location 565 -----> 10 bit address R2 -----> 2 bit register address ADD 565 R2 -----> requires -----> 4 + 10 + 2 = 16 bits The address bus should be 16 bits .