3,270 views
2 votes
2 votes
A computer supports one address and two address instructions. All the Addresses are the memory addresses. Memory size is 1Mbyte. How many one address instructions are possible if it has 240 two addresses instructions? (Assume binary instructions code has 48 bits)

1 Answer

Best answer
2 votes
2 votes

 in this problem  total size of instruction code = 48 bit

  memory address = 20 bit

  in two address mode =    tag + address1 + address2

                                    =  8  + 20 + 20

       given that  240  is two address instruction

remaining  =  2^8 -  240

                 =  256 - 240 = 16

 hence  one address instruction  =  16* 220   =  224   

selected by

Related questions

2 votes
2 votes
2 answers
2
3 votes
3 votes
2 answers
3
0 votes
0 votes
1 answer
4
lea asked Jun 12, 2023
290 views