609 views
5 votes
5 votes

Please Explain in detail

1 Answer

0 votes
0 votes
given it is 16 bit instruction format means no of en codings will be 2^16

5 bits are reserved for address field

so  en codings for 2 2 address instructions will be 2^5*2^5*2=2048

      en codings  for 1024 1 address instructions will be 2^5*1024=2^15=32768

then en codings for 0 address instructions will be=(total en codings-(en codings for 2 address+en codings for 1 address)

ans=2^16-(2048+32768)

     =65536-34816=30720

Related questions

2 votes
2 votes
1 answer
2
set2018 asked Jul 17, 2017
1,418 views
Self reallocating code required for displacement addressing mode.How ?Please someone explain this concept.
7 votes
7 votes
2 answers
3
Rakesh K asked Oct 30, 2016
2,396 views
What is the number of instrunctions needed to add n numbers in one address mode and store the result in the memory, assuming each number is already loaded in register?(A)...
2 votes
2 votes
1 answer
4
Rishabh Gupta 2 asked Nov 5, 2017
1,663 views
computer uses addressing modes to reduce the number of bits in the addressing field of the instructionCan someone please explain how this statement is true? PLEASEExample...