| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
-- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden
| References: | |
| >Assembler Question (From: John Scheiderer <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.