MASM equivilent for Linux/OSX

Started by MusicalMike, August 03, 2009, 08:05:44 PM

Previous topic - Next topic

MusicalMike

Generally, any assembly language programming I do is "for fun". I don't really write production code in assembly language, because in my line of work (a summer intern writing database applications that 9 times out of 10 never get used anyway  :( ) it simply isn't necessary, and in my case isn't allowed.

That being said, when I am not programming for work, I sometimes like to tinker, although most of it is done in C/C++. Occasionally I break out NASM or GNU Assembler and do whatever I feel like challenging myself with at that moment. Now, NASM, and FASM have macro systems, but it is simply not on par with the macro system implemented in MASM. Is there any Macro Assembler for Linux and OSX that give me the same robust features of MASM?

Sorry for the stupid question. I only just recently rediscovered this forum and am a bit out of touch.

jj2007

JWasm can legally be used for Linux, and has exactly the same macro system as Masm.

mitchi

I recommend the Solar Assembler. It has a very good HTML documentation and there's an OSX example.
http://www.oby.ro/sol_asm/index.html
http://wiki.osdev.org/Sol_asm

Rockoon

Most of the linux asm stuff I have seen leverages the C preprocessor in GCC
When C++ compilers can be coerced to emit rcl and rcr, I *might* consider using one.

ecube

FASM is nice, has a very active community, and big projects like http://www.menuetos.net/ have been written in it.

MusicalMike

fasm is unavailable on OSX. Its my favorite for Linux though.