Microsoft KB Archive/26827

From BetaArchive Wiki

HPROC POPs BP ID Number: Q26827

5.00 MS-DOS buglist5.00

Problem: If a procedure is declared with HPROC, saves some registers (via <uses … >), and has no parameters, but does have local variables (via hlocal), then BP is POPed after the registers by hRET, instead of before.

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