G
Guest
Using Visual Studio 2005 C++ compiler, I am getting a MOVDQA(in x64 mode)
generated on an unaligned stack address. I actually have a debug screen shot
showing RSP being set correctly at the start of the function.
Here is the code:
; RSP = FFFB00 here, all numbers are in hex
mov qword ptr [rsp+18], r8
mov qword ptr [rsp+10], rdx
mov qword ptr [rsp+8], rcx
push rbx
push rbp
push rsi
push rdi
mov rax, rsp
sub rsp, 00000978
xor ebp, ebp
movdqa [rax-18], xmm6 ; exception generated here
generated on an unaligned stack address. I actually have a debug screen shot
showing RSP being set correctly at the start of the function.
Here is the code:
; RSP = FFFB00 here, all numbers are in hex
mov qword ptr [rsp+18], r8
mov qword ptr [rsp+10], rdx
mov qword ptr [rsp+8], rcx
push rbx
push rbp
push rsi
push rdi
mov rax, rsp
sub rsp, 00000978
xor ebp, ebp
movdqa [rax-18], xmm6 ; exception generated here