A computer uses a memory unit with 1024K words of 32 bits each. A binary instruc
ID: 3712305 • Letter: A
Question
A computer uses a memory unit with 1024K words of 32 bits each. A binary instruction code is stored in one word of memory. The instruction has four parts: an indirect bit, an operation code, a register code part to specify one of 64 registers, and an address part.
a. How many bits are there in the operation code, the register code part, and the address part?
b. Draw the instruction word format and indicate the number of bits in each part.
c. How many bits are there in the data and address inputs of the memory?
Explanation / Answer
a)
b)
c)
Address inputs: 20 (1024K words)
data inputs: 32 (32 bits / word / memory reference)
Indirect 1 bit Address 210 (1024kB) * 210 (1024 bytes/kB) = 220 ==> 20 bits Reg 64 registers = 26 => 6 bits OP-code 32 - 1 - 20 - 6 bits = 5 bitsRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.