Microsoft KB Archive/26833

MIXED.INC Incorrect Offsets ID Number: Q26833

5.00 MS-DOS buglist5.00

Problem: Regarding MIXED.INC, offsets are not always correct for HLOCAL symbols. If registers are saved (via uses) and there are no parameters, but local variables are declared with the hLocal macro, then the text macros generated, i.e., [bp -x], are calculated using the wrong value of localbase, and the x comes out wrong ( meaning x will be four too much).

Response: This problem was fixed in MASM Version 5.00A. Please contact Product Support to obtain the MASM Version 5.00A update.