Microsoft KB Archive/39444

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:56, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


DOCERR: The Stack Grows into Low Memory

Article ID: 39444

Article Last Modified on 10/20/2003



APPLIES TO

  • Microsoft Macro Assembler 5.1 Standard Edition



This article was previously published under Q39444

SUMMARY

On Page 300 of the "Microsoft Macro Assembler Programmer's Guide," the first paragraph incorrectly states that "it is possible to return the stack to its original status by subtracting the correct number of words from the SP register." Instead, after pushing values onto the stack, it is possible to return the stack to its original status by adding the correct number of words to the SP register.

Also, the first example on Page 300 uses the SUB command to restore the stack pointer. The ADD command should be used instead.


Additional query words: 5.10

Keywords: KB39444