• 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
Assembler code compile failure.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assembler code compile failure.


  • Subject: Assembler code compile failure.
  • From: email@hidden
  • Date: Fri, 27 Jan 2006 16:24:08 -0500


I have some common assembly code that I am trying to port to xcode for i386.

all of the code builds fine with VC7.1.  SOme of the functions build ok with xcode.

However the functions that use the word "offset" fails as follows:

warning: label 'LASM$sse_AHEG' defined but not used
error: block assembly operand not recognized
error: invalid lvalue in unary '&'


 Is there a workaround for this?


For example:

asm
{

        push                ebx                                

/* load up jump table */

 /* skip if already initialized */
        cmp                        dword ptr [pJmpTable], 0                                        
        jnz                        sse_3dlut_10

        mov                        eax, offset sse_AHEG
        mov                        [pJmpTable + 7*4], eax                                                

.
.
.

sse_AHEG:



}





Lou Sakey
DFIS WW S+SE LOWELL DEVELOPMENT CTR
email@hidden
KNET 27-67676
978-323-7676
 _______________________________________________
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

  • Prev by Date: Re: Build with gcc3.3 in Xcode 2.c
  • Next by Date: Re: Build with gcc3.3 in Xcode 2.c
  • Previous by thread: Compile errors when targeting older OS
  • Next by thread: Java Cocoa application, Java VM not launching
  • Index(es):
    • Date
    • Thread