Microsoft KB Archive/26655: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (X010 moved page Microsoft KB Archive/Q26655 to Microsoft KB Archive/26655 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
 
(No difference)

Latest revision as of 19:20, 12 August 2020

‘=’ Directive on External Label Causes Error A2052 ID Number: Q26655

1.27 3.00 3.01 4.00 5.00 MS-DOS

Problem: The MASM documentation indicates that the ‘=’ directive may be used with expressions that evaluate to an address. If the address refers to an external label, the error A2052 is issued.

Response: Using the ‘=’ directive with external labels is not allowed in MASM. The address of an external label is not known at assembly time and therefore cannot be used with the ‘=’ directive, which is evaluated at assembly time.