added opcode and function codes for i and j type instructions to controller