Mail Archives: djgpp/1996/06/21/16:56:28
>stwand07 AT uctvms DOT uct DOT ac DOT za wrote:
>: I am mucking around with some "demo" style effects in Allegro, and would like
>: to try coding some routines in assembly for speed. However, I know perilously
>: little Intel assembly, only M68k !
>As an Ex-Amiga man I have the same problem.
>: As a self-tutoring method, I'd like to see what assembly code results from my C
>: program. So, is it possible to have the compiler produce assembly code _with_
>: the C code as comments, like :
>: // x = array[1] + array[2] + array[3]>>2;
>: assembly blah
>: blah..blah..blah
>: etc... blah.. etc..
>: // y = x*5;
>: more assembly... blah...
>If you run Linux and X-Windows then try Xddd. This is a Motif based debugger
>that displays your program in assembly and in C. The format is a split
>window, with the source code in the top window and the disassembly in the
>bottom. You can trace through either the assembly or the C source.
>Xddd comes ready compiled with the Motif stuff statically linked (3 Meg).
>I know this may not be what your after, but it is all I can suggest. Sorry.
>Jon.
>--
FSDB for DOS is a debugger that shows the code mixed (C/asm).
bye SET.
********************************************************************************
Salvador Eduardo Tropea (SET) - salvador AT inti DOT edu DOT ar
Work: INTI (National Institute of Industrial Technology) Sector: ICE
(Electronic Control & Instrumentation)
Post (Home): Curapaligue 2124 - Caseros (1678)- Buenos Aires - Argentina
- Raw text -