I have a sample code that writes the value of the xmm6 register to a memory location. The code is in NASM:
value:
dd 0
movq [value], xmm6
However, I get an error when I try to compile it in macho64 format:
The 64-bit format does not support 32-bit absolute addresses.
Is there any way to resolve this? I am new to x86_64 build, so any help would be appreciated.
source
share