retagged by
8,040 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

510
views
1 answers
1 votes
rfzahid asked Mar 15, 2018
510 views
Suppose that in $500$ memory references there are $50$ misses in the first level cache and $20$ misses in the second level cache. Assume miss penalty from the $L2$ cache ...
890
views
2 answers
4 votes
rahul sharma 5 asked Nov 7, 2017
890 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...
809
views
2 answers
0 votes
967
views
1 answers
2 votes
Manu Thakur asked Oct 29, 2017
967 views
My Solution:E.M.A.T = HitTimeL1 + MissRateL1x( HitTimeL2 + MissRateL2xMissPenaltyL2) = 1 + $\frac{16}{100}$(5 + $\frac{8}{16}$*50) = 1 + .16(30)...