Author Topic: Macho-O 64-bit does not support 32 bit absolute addresses  (Read 3748 times)

Offline Jon Hodgson

  • New Member
  • Posts: 1
Macho-O 64-bit does not support 32 bit absolute addresses
« on: July 05, 2012, 02:40:50 AM »
Hi,

I have code which in includes the following

coeffs_0 dd <four floating point values>

then later a line

movaps xmm0, [coeffs_0]

This works fine compiling in nasm set for macho32, and it also works fine compiling in masm for 64 bit windows, but if I try to compile it with nasm for macho64  I get

"Macho-O 64-bit does not support 32 bit absolute addresses"

Anyone know how I can get this working? I've tried various permutations of brackets and pointer directives, but nothing's worked so far.

 

SMF spam blocked by CleanTalk