News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Stack 8 byte alignment?

Started by bushpilot, October 24, 2005, 07:25:26 PM

Previous topic - Next topic

bushpilot

How can I determine (efficiently!) whether the current position on the stack is 8 byte aligned?

Greg

dioxin

Greg,
  how about:
!test esp,7
!jnz not8bytealigned 
!jz itis8bytealigned 


Paul.

bushpilot