Text only
|
Text with Images
The MASM Forum Archive 2004 to 2012
General Forums => The Campus => Topic started by: bushpilot on October 24, 2005, 07:25:26 PM
Title:
Stack 8 byte alignment?
Post by:
bushpilot
on
October 24, 2005, 07:25:26 PM
How can I determine (efficiently!) whether the current position on the stack is 8 byte aligned?
Greg
Title:
Re: Stack 8 byte alignment?
Post by:
dioxin
on
October 24, 2005, 08:57:55 PM
Greg,
how about:
Code
Select
Expand
!test esp,7
!jnz not8bytealigned
!jz itis8bytealigned
Paul.
Title:
Re: Stack 8 byte alignment?
Post by:
bushpilot
on
October 24, 2005, 09:17:48 PM
Thank you!
Greg
Text only
|
Text with Images