Hi Frank
I have successfully built NASM 64-Bit for Windows using VS2005.
And its working fine, but now I'm stuck with a section of assembly code where its giving "INVALID EFFECTIVE ADDRESS".
I do not understand the assembly code error there. Plz guide me where it is wrong.
======================================================
movapd xmm0, [rsi + r12*8]
---------------
movapd xmm2, [rsi + r12*8 + 16]
---------------
movapd xmm4, [rsi + r12*8]
---------------
movapd xmm6, [rsi + r12*8 + 16]
=======================================================
I'm using the command from Windows 2003 Server SP1 R2 console (command window) like: nasmw.exe -f win64 *.s
And the above code are distributed lines inside the whole code. Can you help me for the above error in these lines ?
These lines are working perfectly in Linux/gcc as they follow AMD64 ABI, but Windows does not follow the same specification and used its own Windows 64-bit ABI.