edited by
1,603 views
0 votes
0 votes

A digital computer has memory unit with $24$ bits word.The instruction set consists of $150$ different operations. All instructions have an operation code part and an address part. Each instruction is stored in one word of memory.


$Q1$ How many bits are needed for the OP-CODE and how many bit are left for the address of the instruction

  1. $4,8$
  2. $8,16$
  3. $8, 64$
  4. $16,64$

$Q2$ What is the maximum available size for memory and the largest unsigned binary number that can be accommodated in one word of  memory

  1. $2^{16}, 2^{24} + 1  $
  2. $2^{16}, 2^{24}$
  3. $2^{16},2^{24}-1$    
  4. $\textrm{None of these}$
edited by

2 Answers

2 votes
2 votes

24 bits word 

word contains opcode bits + address bits.

Instructions set contain 150 different operations so to identify each uniquely would require at least 8 bits (2^8=256).

so 16 bits left for address. So for question no 1 Ans is B

16-bit for address so total memory that can be addressable is 2^16.

word size is 24 bit so largest unsigned binary number is 2^24 - 1.

So for question no 2 Ans is C

Related questions

0 votes
0 votes
1 answer
1
Asutosh asked Sep 6, 2018
463 views
Are memory to memory instructions allowed?Eg. ADD [123], [345] or MOV [123], [343]If not, then why?
0 votes
0 votes
1 answer
2
lea asked Jun 12, 2023
290 views
0 votes
0 votes
1 answer
3
Aaryan_Sharma asked Dec 30, 2022
370 views
When we write MOV #1000 , it means we are writing the value 1000 into the accumulator. But when we write MOV 1000 here 1000 refers to address of what ? register or MM ? (...
2 votes
2 votes
1 answer
4
Subbu. asked Jul 14, 2022
495 views
Could you please explain How we can implement indirect addressing mode using Index addressing mode.. and vice versa..??