Is there an equivalent to MASM for mac osx? :eek
Masm uses x86 instructions.
Mac uses powerpc.
They are different.
However, if you're nuts, I suppose you could try porting one of the other assemblers to mac. Nasm source is in C, so I suppose this would require the least effort.
GCC for Mac has an assembler, but PPC asembly is really awful stuff.
With Apple embracing x86 at last, you may only have to wait a while to be able to use at least some of the x86 assemblers for a MAC.
Gah! It's Mac, not MAC. MAC is an acronym...
Quote from: Robert Bieber on June 21, 2005, 07:49:17 PM
Gah! It's Mac, not MAC. MAC is an acronym...
[edit by hutch--]
Just be a little careful with wisecracks to other embers, it could be taken the wrong way.
Quote from: Robert Bieber on June 21, 2005, 07:49:17 PM
Gah! It's Mac, not MAC. MAC is an acronym...
For Media Access Control.
i know... but... Please dont hate me :( -tear- I'M SORRY! :lol
Thought I'd ping this thread....
We're moving a large project (will a fair amount of MASM assembly) over to OS X (x86 only, not PPC).
Any one know of the easiest way to do this?
Are there any MAC (excuse me....Mac) targetted MASM assemblers in beta somewhere?
How did Intel convert it's IPP & SSE intrinsics?
Robby,
Depending on how it was written, porting masm code to GAS is not a big deal if you use the Intel syntax option. I don't know if MASM will run on the x86 mac platform unless you have an emulator of some type but the code should be no big deal to port as long as it does not use massive amounts of pseudo high level constructions in it.
There's enough code that we don't want to support two code bases. Obviously our preference is to have the differences managed by different include files with a small amount of platform specific macros.
Also, GCC, AS, and NASM seem to be the only tools supported by XCode (GAS and GASP seem to be external and 'not qualified' by Apple). We've also exported the use of .S (capital) files (to use C type preprocessing).
At first, we naively thought that the x86 assembly would be reasonably portable between the WinTel and MacTel platforms.....but it seems like everyone simply operates with multiple code bases .... or converted to C++ with IPP & SSE intrinsics.