Microsoft KB Archive/35106

From BetaArchive Wiki

Minus Operator Cannot Be Used with Relocatables ID Number: Q35106

1.x 3.x 4.00 5.x OS/2

Summary:

The Microsoft Macro Assembler does not evaluate relocatables using the minus (-) operator. For example, the following line incorrectly uses the minus operator:

lea ax,[bx - offset seltable]

MASM does not support the use of the minus operator because the linker does not support this fixup; it only supports the add (+) operator.