GATEverse
← GATE CSE 1988

Q2-ii

NATMarks unknown

Using an expanding opcode encoding for instructions, is it possible to encode all of the following in an instruction format shown in the below figure. Justify your answer.

14double address instructions127single address instructions60no address (zero address) instructions\begin{array}{ll} \text{14} & \text{double address instructions} \\ \text{127} & \text{single address instructions} \\ \text{60} & \text{no address (zero address) instructions} \\ \end{array} ←4 bits→←6 bits→←6 bits→OpcodeOperand 1AddressOperand 2Address\begin{array}{|c|c|c|} \leftarrow4\text{ bits}\rightarrow& \leftarrow6\text{ bits}\rightarrow & \leftarrow6\text{ bits}\rightarrow \\ \hline \text{Opcode}& \underset{\text{Address}}{\text{Operand 1}}& \underset{\text{Address}}{\text{Operand 2}} \\\hline \end{array}
Sign in to save attempts.

Loading…