Information About

Operand




:3 + 6 = 9

'+' is the operator and '3' and '6' are the operands.

The number of operands of an operator is called its Arity . Based on arity, operators are classified as Unary , Binary , Ternary etc.




In computer Programming Language s, the definitions of Operator and operand are almost the same as in mathematics.

Additionally, in Assembly Language , an operand is a value (an argument) on which the Instruction , named by Mnemonic , operates. The operand may be a Processor Register , a Memory Address , a literal constant, or a label. A simple example (in the PC architecture) is

:MOV   DS, AX

where the value in register operand 'AX' is to be moved into register 'DS'. Depending on the Instruction , there may be zero, one, two, or more operands.