retagged by
608 views

2 Answers

0 votes
0 votes

b) 16

128 Registers: 7 bits is required to specify the register operand

256 M Memory : 28 bits is required to specify the memory operand

Total Length of the Instruction = 40 bits

So remaining 5 bits can be used to specify the opcode. So totally 32 different instructions are possible. Generally instructions with indirect addressing mode use specific notation to distinguish from direct addressing mode.

For eg : LD @A

Assuming this notation takes 1 bit. Something like 0 to specify direct addressing mode and  1 to specify indirect addressing mode. we are left 4 bits for opcode. Hence 24 = 16 instructions are totally possible.

Related questions

0 votes
0 votes
2 answers
2
1 votes
1 votes
1 answer
3
AakS asked Jul 23, 2017
2,784 views
What is the difference between LOAD/STORE & MOVE instructions?Are they CPU - architecture dependent?