in CO and Architecture retagged by
294 views
3 votes
3 votes

A byte addressable computer can support maximum of $2^i$ KB memory and has $2^j$ instructions. An instruction involving $2$ operands and $1$ operator needs how many bits ?

  1. $3i$
  2. $2i + j$
  3. $2i + j + 20$
  4. $i + j$
in CO and Architecture retagged by
by
294 views

1 comment

@Bikram sir,

sir, please explain the answer.
0
0

1 Answer

9 votes
9 votes
Best answer

   Memory size = 2 i KB = 2 (i+10)  byte 

so, (i+10) bits are required for 1 memory cell  .

here , it is  given that  "2j " instructions are  present , so there must be    "2j " opcode . so j bits for opcode .

intruction format  is:    !! opcode !!   address !!  address !!

 so, total bits needed = J   +  (i+10) +(i+10) = J +2i + 20 bits  

 option c is correct.

selected by

1 comment

@bharti

it is not given that 2^j distinct instruction.so opcode may repeat.am i right?
0
0
Answer:

Related questions