flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Outputting separate info in separate files upon compilation? |
Author |
|
Tomasz Grysztar 05 Apr 2006, 17:25
First, look here: http://board.flatassembler.net/topic.php?t=4645
|
|||
05 Apr 2006, 17:25 |
|
Big Red 05 Apr 2006, 18:16
Wow, thank you; that's exactly what I was looking for (the result, at least). I tried SYMBDUMP.INC with the IDE assembler (1.65.17) and it worked perfectly. It generated a 9 MB file of, well, everything, and quickly (I wish Dr.Java could do that).
Could SYMBDUMP.INC be integrated into the package, even as a test, just so we don't have to recompile every release? (i.e., just put it as an INI option, and skip over "call symbol_dump" if not enabled) Either way, this is great. |
|||
05 Apr 2006, 18:16 |
|
madmatt 06 Apr 2006, 09:40
How would you use the symdump.inc file?
|
|||
06 Apr 2006, 09:40 |
|
Big Red 07 Apr 2006, 01:16
It ouputs all the symbols used internally by FASM, such as procedure names and variable labels. It then outputs their default memory addresses ("value"), so you can find them easily by address in a debugger after assembly/disassembly. If you're asking how to use the file itself, well that's described in Mr. Grysztar's link. And if you're referring to the question I last asked, err I don't know what to explain because I thought it was a pretty simple request as it was.
|
|||
07 Apr 2006, 01:16 |
|
madmatt 07 Apr 2006, 07:30
Took another look at the post, and I see it now, I just didn't read it very good before , thanks.
|
|||
07 Apr 2006, 07:30 |
|
madmatt 07 Apr 2006, 16:38
I got it to work, but because I have a huge window include library, the output of a simple windows program came to ~9mb . Could the problem be that its outputing all variables used or un-used?
|
|||
07 Apr 2006, 16:38 |
|
Big Red 04 May 2006, 12:44
Yeah, I think it outputs pretty much everything. Mine comes out at about that size too, but I'm not complaining; that's what I want, heheh. You could most likely filter out what's printed by modifying the code in SYMBDUMP.INC, but you'll have to have a look at the FASM source to see what conditions you need to test with regards to label info (or ask Tomasz).
|
|||
04 May 2006, 12:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.