Language:
Русский
English
┌────────────────────────────────────────────┐
│ Cannot add or subtract relocatable symbols │
└────────────────────────────────────────────┘
The only arithmetic operation that can be performed on a relocatable symbol in an assembler operand is addition or subtraction of a constant.
Variables, procedures, functions, and labels are relocatable symbols. Assuming that Var is a variable and Const is a constant, then the instructions MOV AX,Const+Const and MOV AX,Var+Const are valid, but MOV AX,Var+Var is not.