porting assembler code from MSDOS to 386 Unix

John R. Levine johnl at esegue.segue.boston.ma.us
Sat Aug 11 10:13:25 AEST 1990


In article <22791 at sequoia.execu.com> thc at 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 at esegue.segue.boston.ma.us, {ima|lotus|spdcc}!esegue!johnl
Marlon Brando and Doris Day were born on the same day.



More information about the Comp.unix.i386 mailing list