Here is my code:
#define _alignedMem$ 16
__declspec(naked) void sseFunc(
... params ...
mov ebp, esp
and esp, -16 ; aligned to 16-byte boundary
sub esp, __LOCAL_SIZE; should be 16 (there is only one variable, i.e. _alignedMem)
__asm movqda mmx1, DWORD PTR[ebp+_alignedMem$ ] ; <-- error here! Not aligned?
What is wrong with the code and why?