Hi,
Can anyone tell me How to port the inline assembly code
to AMD64?? I have a 32-bit C++ Library where inline assembly code has
been used. On MSDN I have found that Intrinsic functions are to be
used. So, can anyone help me How to change simple inline
assembly code using intrinsic functions. Can I use the
same code(with intrinsic functions )on 32-bit machine too.??
If not then How can I have the same code base with inline assembly code
which can run on 32-bit as well as on AMD64.

thanx
manoj

Re: How to Port Inline Assembly code to AMD64 by Ray

Ray
Fri Mar 18 11:13:00 CST 2005

Generally speaking, about the only way is to have a separate library
that's assembled by the assembler and linked to your driver.

However, most things people think they need to do in assembly can be
done with standard C/C++ and the Windows DDIs. What is it that you think
you need to do in assembly?

manojkumar_net@rediffmail.com wrote:
> Hi,
> Can anyone tell me How to port the inline assembly code
> to AMD64?? I have a 32-bit C++ Library where inline assembly code has
> been used. On MSDN I have found that Intrinsic functions are to be
> used. So, can anyone help me How to change simple inline
> assembly code using intrinsic functions. Can I use the
> same code(with intrinsic functions )on 32-bit machine too.??
> If not then How can I have the same code base with inline assembly code
> which can run on 32-bit as well as on AMD64.
>
> thanx
> manoj
>

--
../ray\..