Op code format is of SUB instruction is
Replace the three bit code of the register R from to obtain the op code of the required SUB instruction . op codes of all possible SUB instructions are given.
Notice that the change are made in last three positions of the binary cod according to the codes of the specified register.
Similarly the readers may practice of writing op codes of all instructions in which registers pairs are used as their operands.