Using enum type for arguments. Wrote instruction table. Wrote get_opcode() function.