Access Millions of academic & study documents

3 A digital computer has a memory unit with 20 bits per word The i

Content type
User Generated
Showing Page:
1/2
3. A digital computer has a memory unit with 20 bits per
word. The instruction set consists of 100 different
operations. All instructions have an operation code part
(opcode), and an address part (allowing for only one
address). Each instruction is stored in one word of
memory. a) How many bits are needed for the opcode?
________ b) How many bits are left for the address part of
the instruction? _______ c) What is the maximum
allowable size for memory? _________
Solution
a) How many bits are needed for the opcode?
sol: 100 possible opcodes
b) b) How many bits are left for the address part of the
instruction?
sol:here the memory unit has 20 bits per word and opcode
size is 7th bits so 20-7=13 bits are left for the address part
c)What is the maximum allowable size for memory?
sol: here the remaining bits after opcode has occupied is
13 and memory unit allows 20 bits per word so the
maximum allowable size is
2^13 * 20 is maximum size

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/2

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
3. A digital computer has a memory unit with 20 bits per word. The instruction set consists of 100 different operations. All instructions have an operation code part (opcode), and an address part (allowing for only one address). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? ________ b) How many bits are left for the address part of the instruction? _______ c) What is the maximum allowable size for memory? _________ Solution a) How many bits are needed for the opcode? sol: 100 possible opcodes b) b) How many bits are left for the address part of ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Indeed
4.5
Sitejabber
4.4