Help :: Stuck with YASM and VS 2005
Utkal Ranjan Pradhan
urpradhan at gmail.com
Wed Aug 8 02:53:55 PDT 2007
Friends
Im using YASM (latest version) for my GAS syntax (SSE2) assembly files in
Windows 64-bit environment.
And Im 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 (Im using Visual
Studio 2005) , Im 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
Im getting this error, but as I do not know much about assembly coding I
need your help.
Im listing the assembly code below and marking the place where Im 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cvs.tortall.net/pipermail/yasm-devel/attachments/20070808/3a8e11b0/attachment.html
More information about the yasm-devel
mailing list