Author Topic: Pentium MMX with Nasm-0.99.01  (Read 8150 times)

nobody

  • Guest
Pentium MMX with Nasm-0.99.01
« on: August 28, 2007, 08:47:06 PM »
I have used things like this:
movq    mm7,[TMP2]
for many years with NASM in my freeware (Linrad.) Today I got a message from
a new user who can not compile, the error message is:
error: invalid operands in non-64-bit mode

I tried to install the latest, nasm-0.99.01 and indeed I see the same error.
The older version, nasm-0.98.38 compiles OK however.

The code is intended to run on Pentium MMX and higher, but not as 64 bit
code on 64 bit processors.

Is there some directive that I must add? I want the code to still be understood
by nasm-0.98. Or is this error message perhaps a bug in nasm?

nobody

  • Guest
Re: Pentium MMX with Nasm-0.99.01
« Reply #1 on: August 28, 2007, 11:50:08 PM »
Yes, it's a bug. I think it's fixed in the CVS repository. I jumped the gun, making a "release" of 0.99.01. I think we're fairly close to a release that actually works... (famous last words...)

If you don't need 64-bit support, stick with 0.98.39 for now, or if you need the "-f macho" support, get 0.98.40 from Apple.

I know 64-bit support has been a long time coming. Thank you for your patience. Keep it up! :)

Best,
Frank