DOCERR: The Stack Grows into Low MemoryLast reviewed: November 13, 1994Article ID: Q39444 |
The information in this article applies to:
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 reference words: 5.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |