• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
i386 assembler changed in XCode 2.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i386 assembler changed in XCode 2.4?


  • Subject: i386 assembler changed in XCode 2.4?
  • From: Michael Stahulak <email@hidden>
  • Date: Wed, 9 Aug 2006 15:42:29 -0600

Hi,

I have some i386 assembly code (in a C source file) that works fine with XCode 2.3, but doesn't compile in XCode 2.4:

__asm
{
	mov	ebx, pDouble
	fld	TBYTE Ptr [ebx]
	fstp	QWORD Ptr [ebx]
}

and

__asm
{
	mov	ebx, pDouble
	fld	QWORD Ptr [ebx]
	fstp	TBYTE Ptr [ebx]
}

with XCode 2.4, I get these compile errors:

no such instruction: `fstpll 0(ëx)'

and

no such instruction: `fldll 0(ëx)'

As far as I can see looking at the build transcript, the arguments to gcc-4.0 are the same, the environment variables are essentially the same (different machines, so pathnames are different but equivalent), so the only possibility I can see is that this latest gcc-4.0 has broken this code. I'm clearly not an assembly language authority, and I've had a lot of trouble determining exactly what syntax the gcc-4.0 assembler supports in the first place, so fixing it at this point is leaving me a a loss. Anyone have any ideas?

Thanks,

Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: i386 assembler changed in XCode 2.4?
      • From: Eric Albert <email@hidden>
  • Prev by Date: XCode and error messages
  • Next by Date: Xcode 2.4 or 2.3?
  • Previous by thread: Re: XCode and error messages
  • Next by thread: Re: i386 assembler changed in XCode 2.4?
  • Index(es):
    • Date
    • Thread