flat assembler
Message board for the users of flat assembler.

Index > Windows > Stack problem with proc64

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
r22



Joined: 27 Dec 2004
Posts: 805
r22 27 Aug 2009, 17:00
Borsuc wrote:
I have a question. Does the stack need to be aligned on 16 bytes for access, or is it just the stupid fastcall64 convention that needs that?

In other words, will a custom asm convention need that? (why would it???)
just thought I'd ask (since I'm not programming x64 yet).


MOVDQA in APIs is one of the culprits, saving and loading XMMX registers to and from the stack.

MOVDQA MOVDQU LDDQU was a silly MOVe (pun intended)
Post 27 Aug 2009, 17:00
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
windwakr 27 Aug 2009, 17:04

_________________
----> * <---- My star, won HERE
Post 27 Aug 2009, 17:04
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.