www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/23/18:46:35

Xref: news2.mv.net alt.lang.asm:3690 comp.lang.asm.x86:13458 comp.os.msdos.djgpp:566 gnu.g++.help:4350 gnu.gcc.help:5554
From: jan AT stack DOT urc DOT tue DOT nl (Jan Oonk)
Newsgroups: alt.lang.asm,comp.lang.asm.x86,comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help
Subject: Re: Converting Intel Masm to AT&T Gas, and inline assembly
Followup-To: alt.lang.asm,comp.lang.asm.x86,comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help
Date: 22 Jan 1996 16:44:57 +0100
Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
Lines: 39
Message-ID: <4e0bdp$8t3@snail.stack.urc.tue.nl>
References: <4e04tl$cnt AT vector DOT wantree DOT com DOT au>
NNTP-Posting-Host: snail.stack.urc.tue.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Shaun Lennox-Bradley (lennox AT wantree DOT com DOT au) wrote:
: Hi

: I'm looking to convert assembly code from Intel masm syntax to AT&T gas
: syntax, and was wondering where to get some good examples
: of masm code and the alternate gas code.  I already have the
: gas info files, and they are ok, but they don't have many examples.
: Similarly, I'd like to have some examples of inline assembler in
: Turbo C (or Microsoft C) and their GCC alternates.  The GCC info file's
: descriptions of how to do this are difficult to understand and
: examples would make this much easier.

: Thanks to anyone who can help
: Shaun

: Oh, and can you respond via email - I posted this to a few
: groups I though relevant, and might not see all responses
: if you respond by posting

We (SPiRiT! Team) made some utils for djgpp... maybe these utils can help
you:

- obj2coff (x2ftp.oulu.fi o2cv05.arj or something)
converts tasm files flat modeled/protected mode to .o files so you can
include it in your c files and call it! There are some examples in the
archive!

- we have also a intel asm syntax code -> AT&T asm syntax code converter
I don't think we have uploaded it somewhere but i could send a copy if you
like? But obj2coff is much easier to use if you have a protected mode
library made in tasm/flat model/protected mode !!!

We also made some debugger patches so you can debug graphics programs etc...

CU! 
SPiRiT! Team
-- 
This message was sent by Trax/SPiRiT!
Please EMAIL all replys to Jan AT stack DOT urc DOT tue DOT nl

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019