thc@sequoia.execu.com (Tom Connor) (08/11/90)
I have some assembler code to port (somehow) from MSDOS (Microsoft MASM) to 386 Unix System V. The code is a set of routines that don't do any DOS calls, or i/o -- just bitmap manipulations in memory -- so, IMHO, it looks fairly straightforward. It is mostly Intel mnemonics, not many macros. Any advice on how to do this would be much appreciated! -- ----------------------------------------------------------------------------- Tom Connor UUCP: ...!cs.utexas.edu!execu!thc Execucom Systems Corp., Austin, Texas Internet: thc@execu.com execu!thc@cs.utexas.edu thc%execu.uucp@cs.utexas.edu -----------------------------------------------------------------------------
johnl@esegue.segue.boston.ma.us (John R. Levine) (08/11/90)
In article <22791@sequoia.execu.com> thc@execu.com writes: >I have some assembler code to port (somehow) from MSDOS (Microsoft >MASM) to 386 Unix System V. Take a look at /usr/bin/asm386.sed which as far as I know is a standard part of V.3.2 / 386 and its descendants. It is a surprisingly effective sed script to turn Intel or Microsoft assembler into "as" assembler. It doesn't try to handle macros or to deal with segmented addresses or anything, but it does handle most of the syntactic translations. -- John R. Levine, Segue Software, POB 349, Cambridge MA 02238, +1 617 864 9650 johnl@esegue.segue.boston.ma.us, {ima|lotus|spdcc}!esegue!johnl Marlon Brando and Doris Day were born on the same day.