• 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 Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assembler Question


  • Subject: Assembler Question
  • From: John Scheiderer <email@hidden>
  • Date: Wed, 28 Nov 2007 14:44:27 -0500


I want to learn Assembler on the Mac Intel platform, but I'm having a hard time finding any tutorials targeted for the Mac. I have an iMac G5 (which I know won't work), but I did setup a Darwin x86 PC that has the 'as' compiler, and I also installed 'nasm' (compiled successfully) from the most recent sources. The reason I installed 'nasm', is I noticed that Leopard now includes it in the Xcode install on my G5 machine.


I found some Hello World examples on the web, but none seem to work - they compile and link ok, but get error messages like "Bus error", etc.

As a test, I took an Objective-C program, and compiled it with gcc using the -S flag, which produced assembler code. When compiling the .s file using gcc, it produces an executable, so I suspect the examples I'm finding aren't error free.

Any help is appreciated!

Thanks,
John

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Assembler Question
      • From: Terry Lambert <email@hidden>
  • Prev by Date: dbm_store() returns -1, but no specific error is reported
  • Next by Date: Re: Assembler Question
  • Previous by thread: Re: dbm_store() returns -1, but no specific error is reported
  • Next by thread: Re: Assembler Question
  • Index(es):
    • Date
    • Thread