Path: utzoo!attcan!uunet!mcvax!kth!draken!tut!santra!mjolner!eiffel!eru From: eru@eiffel.tele.nokia.fi (Erkki Ruohtula) Newsgroups: comp.os.minix Subject: Re: Has any one written a .s (minix) -> .asm (tasm) translator? Summary: assembly Message-ID: <362@mjolner.tele.nokia.fi> Date: 8 Jun 89 17:03:42 GMT References: <16588@louie.udel.EDU> <8246@killer.DALLAS.TX.US> Sender: news@mjolner.tele.nokia.fi Reply-To: eru@eiffel.UUCP (Erkki Ruohtula) Organization: Nokia Telecommunications Oy, Espoo, Finland Lines: 17 The syntaxes of the two assemblers are totally different, thus translators both ways would be useful. Translation from minix syntax to Microsoft- (really Intel-) syntax is probably easy, since the type of the operands is encoded in the operation name and the syntax is simple, but the reverse operation needs more work. One must keep track of the types of the labels. I think this .asm->.s transformation would be more useful than the one asked in the header, as there are MS-DOS .asm sources that could be ported to minix. It would also facilitate using MS-DOS compilers with assemby output option for minix programming. The Book does not really describe the minix assembler syntax, it refers to PC/IX documentation that is hard to come by. I collected the reserved words from the binary, but that does not tell much about the legal forms of the addresses. Has anybody figured/digged out the syntax in full? Erkki Ruohtula eru@eiffel.tele.nokia.fi