286 views
0 votes
0 votes

How to solve?

1 Answer

Best answer
1 votes
1 votes

Address field = 9 bits.

For two address instructions, 18 bits will be for address. Remaining (32-18) = 14 bits will be for opcode.

Using 14 bit opcode, 214 opcodes are possible. But there are only 400 two address instructions.

So, remaining (214-400) opcodes can be used for one address instructions.

Possible one address instructions = (214-400) * 29 [using opcode expand technique]

selected by

Related questions

0 votes
0 votes
0 answers
3
Mrityudoot asked Jan 14
141 views
In it’s solution how are they obtaining x with the given operation? Should we not have 1 more register to keep x separate?