Q51
NAT2 marksA processor uses a -bit instruction format and supports byte-addressable memory access. The of the processor has distinct instructions. The instructions are equally divided into two types, namely -type and -type, whose formats are shown below. R - type Instruction Format: \begin{array}{|l|l|l|l|l|} \hline OPCODE & UNUSED & DST Register & SRC Register1 & SRC Register 2 \\ \hline \end{array} I - type Instruction Format: \begin{array}{|l|l|l|l|} \hline OPCODE & DST Register & SRC Register & \# Immediate value/address \\ \hline \end{array} In the , bit is used to distinguish between -type and -type instructions and the remaining bits indicate the operation. The processor has architectural registers, and all register fields in the instructions are of equal size. Let be the number of bits used to encode the field, be the number of bits used to encode the field, and be the number of bits used to encode the immediate value/address field. The value of is __________.
Loading…