LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 03: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, 04:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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, 01: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, 02:03 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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, 01: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, 06:22 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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, 01: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, 03:08 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

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


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

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:52 PM
m6800 assembler kafnir Linux - Newbie 1 03-05-2005 02:29 AM
assembler usr Programming 2 11-15-2003 06:15 PM
assembler tda Programming 4 08-21-2002 03:54 AM
Need an Assembler ChimpFace9000 Programming 1 07-18-2001 10:36 PM


All times are GMT -5. The time now is 02:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration