Article View: alt.lang.asm
Article #436Re: Converting Intel Masm to AT&T Gas, and inline assembly
From: Jan Oonk
Date: Mon, 22 Jan 1996 00:00
Date: Mon, 22 Jan 1996 00:00
39 lines
2522 bytes
2522 bytes
Shaun Lennox-Bradley (lennox@wantree.com.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@stack.urc.tue.nl
Technical Details
Message-ID:
<4e0bdp$8t3@snail.stack.urc.tue.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4e04tl$cnt@vector.wantree.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f210555ffbcab611,start X-Google-Attributes: gid11318c,public X-Google-Thread: 10891a,f210555ffbcab611,start X-Google-Attributes: gid10891a,public X-Google-Thread: f7d8d,f210555ffbcab611,start X-Google-Attributes: gidf7d8d,public X-Google-Thread: 10ba33,f210555ffbcab611,start X-Google-Attributes: gid10ba33,public X-Google-Thread: 114917,f210555ffbcab611,start X-Google-Attributes: gid114917,public From: jan@stack.urc.tue.nl (Jan Oonk) Subject: Re: Converting Intel Masm to AT&T Gas, and inline assembly Date: 1996/01/22 Message-ID: <4e0bdp$8t3@snail.stack.urc.tue.nl> X-Deja-AN: 135929994 references: <4e04tl$cnt@vector.wantree.com.au> organization: MCGV Stack, Eindhoven University of Technology, the Netherlands. followup-to: alt.lang.asm,comp.lang.asm.x86,comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help newsgroups: alt.lang.asm,comp.lang.asm.x86,comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help