News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

MAC programing

Started by shadow, June 10, 2005, 04:02:01 PM

Previous topic - Next topic

shadow

Is there an equivalent to MASM for mac osx? :eek

Tedd

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.
No snowflake in an avalanche feels responsible.

Bieb

GCC for Mac has an assembler, but PPC asembly is really awful stuff.

hutch--

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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Bieb

Gah!  It's Mac, not MAC.  MAC is an acronym...

Webring

#5
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.

AeroASM

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.

shadow

i know...  but...  Please dont hate me   :(   -tear- I'M SORRY!   :lol

RobbyB

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?


hutch--

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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

RobbyB

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.