I am re-writing a 32-bit DLL assembled with Microsoft MASM to a 64-bit DLL assembled with NASM (Netwide Assembler). I need to know how to translate the entry point.
In 32-bit MASM it's:
FunctionName PROC PointerName:PTR DWord
However, 64-bit NASM doesn't use that convention. So my question is, how can I define a procedure (entry point) in 64-bit NASM that passes values (either variables or pointers) from the calling program to the DLL?
Thanks very much.