Select the product you need help with
Monitoring the Stack Using Assembly or CArticle ID: 51294 - View products that this article applies to. This article was previously published under Q51294 SUMMARY
If, for any reason, you believe that the stack in a FORTRAN program is
being corrupted, you can monitor the stack segment (SS) register and
stack pointer (SP) register by using either the Microsoft Assembler
package. Since CodeView may use the stack for its own purposes, this allows
a more direct monitoring method.
A function for each package is shown below along with the appropriate interface statement. Each function returns an integer*4 to FORTRAN. To extract the hexadecimal values from that integer, use a format statement something similar to the following example:
seg:off 2BC0:111A
MORE INFORMATION
The assembly code and interface statement are shown below.
PropertiesArticle ID: 51294 - Last Review: December 1, 2003 - Revision: 2.0 APPLIES TO
|



Back to the top








