Assembler Question
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