Help :: Stuck with YASM and VS 2005
Stefan Sellmer
stefansel at hotmail.de
Wed Aug 8 02:59:16 PDT 2007
which calling convention do you use ??
the same in both compiling steps ?
best regards,Stefan
To: yasm-devel at tortall.netSubject: Help :: Stuck with YASM and VS 2005Date: Wed, 8 Aug 2007 15:23:55 +0530From: urpradhan at gmail.com
Friends
I’m using YASM (latest version) for my GAS syntax (SSE2) assembly files in Windows 64-bit environment.
And I’m using the command like: yasm-win64.exe –p gas –f win64 *.s , which creates the *.obj files for me perfectly.
But after linking these *.obj files to my exe application (I’m using Visual Studio 2005) , I’m getting RUN TIME error like: Unhanded Exception
Note that the same assembly file is getting compiled and the application is perfectly running in 64-bit Linux using GCC compiler.
While debugging my application in VS 2005, I got the particular place where I’m getting this error, but as I do not know much about assembly coding I need your help.
I’m listing the assembly code below and marking the place where I’m getting this error at run time.
push %rbp
movq %rsp,%rbp
push %rbx
emms
push %r12
push %r13
push %r14
push %r15
subq $408,%rsp ## local variable stack space (n*16+8)
## zero 32-bit iteration counters
movl $0,%eax
movl %eax,nb110_nouter(%rsp)
movl %eax,nb110_ninner(%rsp)
movl (%rdi),%edi ç================================= Getting Error at this place
movl %edi,nb110_nri(%rsp)
movq %rsi,nb110_iinr(%rsp)
movq %rdx,nb110_jindex(%rsp)
movq %rcx,nb110_jjnr(%rsp)
movq %r8,nb110_shift(%rsp)
movq %r9,nb110_shiftvec(%rsp)
movq nb110_p_ntype(%rbp),%rdi
movl (%rdi),%edi
movl %edi,nb110_ntype(%rsp)
movq nb110_p_facel(%rbp),%rsi
movsd (%rsi),%xmm0
movsd %xmm0,nb110_facel(%rsp)
Hope to get suitable replies from this forum.
Thank You;
URPradhan At Gmail Dot Com
_________________________________________________________________
Gefunden! Tolle Bilder von Kati Witt gibt es hier!
http://search.msn.de/images/results.aspx?q=katarina%20witt&form=MIDGPS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cvs.tortall.net/pipermail/yasm-devel/attachments/20070808/a7e747ca/attachment.html
More information about the yasm-devel
mailing list