Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caesar.cs.montana.edu!ogicse!orstcs!argus!russ From: russ@argus.CS.ORST.EDU (Russell Ruby) Newsgroups: comp.sys.m68k Subject: Re: convertion from MOTOROLA asm format to MIT asm format Summary: have "lex" translator MOTOROLA ==> MIT format Message-ID: <14411@orstcs.CS.ORST.EDU> Date: 13 Dec 89 06:09:40 GMT References: <1824@irisa.irisa.fr> Sender: usenet@orstcs.CS.ORST.EDU Reply-To: russ@math.orst.edu (Russell Ruby) Organization: Oregon State University -- Math Department Lines: 18 In article <1824@irisa.irisa.fr>, sanchez@duke.irisa.fr (Patrick Sanchez) writes: > Could someone tell me where I could find a program to convert > assembler sources from MOTOROLA format to MIT format > eg: 'move.l (a0)+,(a1)+' to 'movl +a0@,+a1@' > I don't want do reinvent the weel !! After writing a library of multiprecision arithmetic routines in MOTOROLA format for Tektronix 68020 "utek" workstations, I had the same problem when I wanted to port the lot to Sun machines which use an MIT style format. So, I wound up writing a "lex" translator for the task. We have an anonymous ftp directory at cs.orst.edu but i never got around to sticking it in there. If people are interested i could do that, or send it by mail if ftp access is unavailable. The translator did everything i needed, plus more, but it is missing a few things i never got around to including. Shouldn't be too hard to add anything missing though ... Russell Ruby russ@math.orst.edu