• 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
Re: Intel assembly questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intel assembly questions


  • Subject: Re: Intel assembly questions
  • From: Dave Camp <email@hidden>
  • Date: Thu, 19 Jan 2006 12:07:18 -0800

Today's assembly question has to do with constants and math. GCC doesn't seem to like things like this:

mov	    eax, [esi + 4 + 1]
mov	    eax, [esi + 4 + SOME_MACRO]

Essentially, it doesn't seem to like performing math, like 4 + 1. Changing that to 5 seem to work, for example.

The code I'm porting has a lot of this syntax. Is there a workaround other than performing all the math myself and altering the affected lines?

Dave

---
The path of least resistance, it's not just for electricity any more.

_______________________________________________
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: Intel assembly questions
      • From: Eric Albert <email@hidden>
References: 
 >Intel assembly questions (From: Dave Camp <email@hidden>)
 >Re: Intel assembly questions (From: Jonas Maebe <email@hidden>)
 >Re: Intel assembly questions (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: Processing doesn't stop at break points
  • Next by Date: Re: #pragma message(). Was 'AliasRecord'...
  • Previous by thread: Re: Intel assembly questions
  • Next by thread: Re: Intel assembly questions
  • Index(es):
    • Date
    • Thread