delorie.com/archives/browse.cgi | search |
From: | eplmst AT lu DOT erisoft DOT se (Martin Stromberg) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: fast asm coding with DJGPP |
Date: | 20 Sep 2000 09:24:20 GMT |
Organization: | Ericsson Erisoft AB, Sweden |
Lines: | 23 |
Message-ID: | <8q9vo4$dlq$2@antares.lu.erisoft.se> |
References: | <8q9qmv$su0$1 AT nnrp1 DOT deja DOT com> |
NNTP-Posting-Host: | lws256.lu.erisoft.se |
X-Newsreader: | TIN [version 1.2 PL2] |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
jcwilk2000 AT yahoo DOT fr wrote: : There was a very efficient way to optimize a code with assembler with : the WATCOM compiler, because it had a disassembler which was able to : produce compilable and readable asm code. So you just had to : : - write the code in C : - optimize the C code : - compile the C code to obtain a .obj file : - disassemble the .obj file : - optimize the .asm obtained : It was fast and easy because you didn't have to write the asm code from : scratch. : I didn't managed to do the same thing with the DJGPP compiler. Has : anyone already done this ? "objdump -d" comes to mind. Or compile to .S (or is it .s?) file with "-S". Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |