Opcode and Operand

943 views

[ad_1]

Opcode and Operand

In: Technology
[ad_2]

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.