LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2004, 02:40 AM   #1
Firari
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
Assembler


Is there a MASM (Microsoft Macro Assembler) compatible aseembler for linux..
 
Old 12-06-2004, 03:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't know of any ... there's a tool that will convert
from MASM-Syntax (or lack thereof) to GNU assembler.
http://www.niksula.cs.hut.fi/~mtiihone/intel2gas/



Cheers,
Tink
 
Old 12-07-2004, 12:18 AM   #3
Firari
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
NASM syntax is incompatible with MASM syntax
 
Old 12-07-2004, 01:03 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Blessed is the man who readeth past the first page ... :/

http://www.niksula.cs.hut.fi/~mtiiho...el2gas/CHANGES
/MASM



Cheers,
Tink
 
Old 12-08-2004, 12:47 AM   #5
Firari
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
This makes masm 2 at&t conversion is the reverse possible?
 
Old 12-08-2004, 05:22 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You asked for a MASM compatible assembler for
Linux, there is none. MASMs syntax is abysmal,
converting it to something else that you then can
use in Linux has got to be a win-win situation. Why
would you want to go the other way? :)


Cheers,
Tink
 
Old 12-09-2004, 12:31 AM   #7
Firari
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
We're using MASM in assembly course at the university that's why I2m concered. I tried using wine. The compiler works fine but the linker did not giving an error about privilaged instructions. Dosbox didnot work either.
 
Old 12-09-2004, 02:08 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you try dosemu rather than wine?


Cheers,
Tink
 
Old 12-10-2004, 12:55 AM   #9
Firari
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I tried dosbox....
 
Old 12-10-2004, 02:26 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
that's different ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembler samjkd General 7 03-14-2005 01:52 PM
m6800 assembler kafnir Linux - Newbie 1 03-05-2005 01:29 AM
assembler usr Programming 2 11-15-2003 05:15 PM
assembler tda Programming 4 08-21-2002 02:54 AM
Need an Assembler ChimpFace9000 Programming 1 07-18-2001 09:36 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration