Input (grade 10): The general type of instruction is given by the op (operation) field, the highest 6 bits.
Output (grade 5): The general type of instruction is in the op (operation) field. It is the highest 6 bits.