Opcode and Operand

1.38K views

Opcode and Operand

In: Technology

Anonymous 0 Comments

opcode is short for operation code. It is a code, usually expressed as a hexadecimal number that informs a cpu which operation it will perform. Operations can be, for example load, store, add, subtract or jump. Operand means ‘on what will an operation be performed’. Examples are memory addres, register name, indirect memory address or literal. Together the opcode and operands make one instruction. The opcode determines the number of operands required. A stream of instructions make one program.