edited by
1,472 views
0 0 votes

A computer has 40-bit instruction format. It uses 1 register operand and 1 memory operand. There are 128 general purpose registers and 256 M bytes of RAM.
Q. 15 How many different operations the computer can perform if the indirect bit (mode) is used as the part of the operation code.

  1. 32
  2. 16
  3. 17
  4. 8

1 Answer

Best answer
0 0 votes

Here the case is like MODE bit is one only as it indicate the Indirect mode 

MODE -1bit 

OPCODE-? REGISTER OPERAND require 7 bits (128 registers are there) MEMORY OPERAND require 28 bits 

Now total length of INSTRUCTION is 40 

so total bits for OPCODE= 40-28-7-1=4 bits ..

So total operations possible are 2^4 = 16

selected by
Position:
Show:

Related questions

0 0 votes
2 2 answers
358
358 views
amar100 asked Feb 15, 2025
358 views
Common Data For Q. 10 \& Q. 11We have a 4-stage pipeline where$S_{1}=$ Fetch$S_{2}=$ Decode and calculate effective address$S_{3}=$ Fetch operand$S_{4}=$ Execute instruct...
0 0 votes
2 2 answers
2.4k
2.4k views
Gitika Babbar asked May 24, 2019
2,356 views
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 add...
0 0 votes
1 1 answer
889
889 views
Asutosh asked Sep 6, 2018
889 views
Are memory to memory instructions allowed?Eg. ADD [123], [345] or MOV [123], [343]If not, then why?
0 0 votes
1 1 answer
1.4k
1.4k views