Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Error Message
◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Error: A2020
Operand must be segment or group
A segment or group name was expected, but some other kind of
operand was given. For instance, the ASSUME directive requires
that the symbol assigned to a segment register be a segment name,
a group name, a SEG expression, or a text equate representing a
segment or group name. Thus, the following statement is accepted:
ASSUME ds:SEG variable ; Legal
However, if the same statement is assigned to an equate, it is
not accepted, as shown below:
segvar EQU SEG variable
ASSUME ds:segvar ; Illegal
-♦-