I have the latest version of OS X (Mountain Lion) and am trying to find a way to write and build programs in assembly language (Intel x86, 32 bit). Does a simple guide to set up an environment exist? I have been unable to find a simple way to do this after searching both stackoverflow and google.
Asked
Active
Viewed 698 times
1
-
2What kind of environment are you looking for? The command line `as` already is a functional assembler, but I suspect you mean something more IDE like? – Joachim Isaksson Feb 12 '13 at 18:20
-
I thought OSX was 64 bit? – Aaron Kurtzhals Feb 12 '13 at 18:23
-
@AaronKurtzhals Yes, but you can run 32 bit applications on it. – Monolo Feb 12 '13 at 18:55
-
1[This question](http://stackoverflow.com/questions/5649/x86-assembly-on-a-mac), and specifically Chris Hanson's answer may provide a starting point, although it refers to the GNU assembler, which I presume is superseded in the latest versions of Xcode. – Monolo Feb 12 '13 at 19:03
-
@Monolo `Apple Inc version cctools-836, GNU assembler version 1.38` is what I get as `as` with the newest XCode installed on Mountain Lion. `nasm` is also still available. – Joachim Isaksson Feb 12 '13 at 20:08
-
@JoachimIsaksson I don't do assembler, so won't pretend to really know anything about it, but llvm seems to provide some support, too: https://developer.apple.com/library/mac/#documentation/CompilerTools/Conceptual/LLVMCompilerOverview/ – Monolo Feb 12 '13 at 20:48
-
I've never done ASM on OS X, but on Linux and Windows, 64-bit ASM is much simpler. I would strongly suggest skipping over antiquated technologies. – rich remer Oct 25 '13 at 18:10
1 Answers
0
I would recommend using Eclipse. Xcode is also available, but has been steadily moving away from being a general purpose IDE.

Fruity Geek
- 7,351
- 1
- 32
- 41