Home/Support/Support Forum/Stack frame structure
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Stack frame structure

0 votes
I notice whenever a auto variable or parameter are referenced on the stack in mixed assembly, the form is SP+@SP+X. That implies to me that X would be a negative offset if it is referencing an auto, and a positive offset when referencing a parameter. Is this a correct assumption?
asked Sep 17, 2013 in Rabbit Software by RickMcDonald New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
I am no assembly expert but there are two great resources that I can recommend.

One is the instruction set manual itself http://ftp1.digi.com/support/documentation/0190098_l.pdf and the other is a book written by Larry Cicchinelli called Assembly Language Essentials.
answered Sep 24, 2013 by trooper2 Veteran of the Digi Community (591 points)