public static InstructionType getInstructionType(int opcode) {
		if (opcode == 0) {
			return InstructionType.R_TYPE;
		} else if (opcode <= 3) {
			return InstructionType.J_TYPE;
		} else 	if (opcode <= 19){
			return InstructionType.C_TYPE;
		} else {
			return InstructionType.I_TYPE;
		}
	}