retagged by
7,749 views
1 votes
1 votes
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have a 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?
d. What is the largest unsigned binary number that can be accommodated in one word of memory?
retagged by

2 Answers

1 votes
1 votes
opcode size = 8 bits

address size = 24 - 8 =16 bits

maximum allowable memory = (2 ^16)*24 bits since 2^16 addresses and each location can hold 24 bits.

maximum unsigned binary = (2^24)-1
0 votes
0 votes
i)For representing 150 operations we need 8 bits. So 8 bits for opcode.

ii)leftover bits for address of instruction is 24-8=16bits

iii)since memory unit is 24 bits, size of memory 2^24 i.e 16MB

iv)largest unsigned int 2^24 - 1

Related questions

1 votes
1 votes
1 answer
1
4 votes
4 votes
2 answers
2
rahul sharma 5 asked Nov 7, 2017
842 views
A computer has 170 different instructions.Word size is 4B and one word instruction has 2 address fields.One adress for register and one address for memory.If there are 37...
0 votes
0 votes
2 answers
3
2 votes
2 votes
1 answer
4
Manu Thakur asked Oct 29, 2017
886 views
My Solution:E.M.A.T = HitTimeL1 + MissRateL1x( HitTimeL2 + MissRateL2xMissPenaltyL2) = 1 + $\frac{16}{100}$(5 + $\frac{8}{16}$*50) = 1 + .16(30)...