An opcode is one a basic computer operation in the instruction set. It is used when writing machine code.