Is there a way that I use MASM under Linux. Even tough NASM is quite popular under Linux, it still differs for some instruction style on code.
7 Answers
Wiki says
The MASM32 EULA does not allow its usage in the development of open source software, and only allows it to be run in Windows operating systems.
so it is a no.

- 15,148
- 4
- 32
- 57
-
6Sounds like an old kind of EULA. Not many Microsoft products have such aggressive license agreements nowadays. – JesperE Nov 20 '08 at 07:40
-
Also, using MASM32 on Linux does not automatically imply that open source software is developed. – JesperE Nov 20 '08 at 07:40
-
2If the EULA still says "only allows it to be run in Windows operating systems" then it doesn't matter whether or not using it on Linux automatically implies that open source software is being developed. – Windows programmer Nov 20 '08 at 07:45
-
1well, you can run windows in a VM on linux, so that you don't violate their EULA ;-) – none Jun 08 '09 at 23:02
-
1Could you link this quote to its source? It's rather dubious and is no longer on the wiki. – ivan_pozdeev Jan 23 '17 at 00:57
I use DosBox and it does work fine for me.
Details here

- 62,887
- 36
- 269
- 388

- 81
- 1
- 1
-
2Welcome to Stack Overflow! You shouldn't just give a link to another site as an answer, since the site may go out of date in the future. Instead, click the "edit" link on this answer and include the essential parts of the solution from that page here. See: http://meta.stackexchange.com/q/8259 – Peter O. Feb 20 '12 at 17:38
-
1
MASM dont run with WINE, im running MASM under Virtual Box
Personally I prefer the NASM style, but you can probably run MASM under Wine (or failing that, in a VM). After all it shouldn't need any exotic API calls.
I've been able to run the Win32 NASM binary under Wine on Linux without any problems [long story, no net connection].
If you want to convert Microsoft's OMF binary format to ELF then you should be able to do so using objcopy
, but you may need to compile in support for the right object formats.

- 48,337
- 13
- 89
- 105
Run MASM under Wine or see at the wiki that MASM can only run at Windows.
Regards.

- 28,769
- 59
- 194
- 300