flat assembler
Message board for the users of flat assembler.

Index > Windows > Biggest FASM project survey...

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1623
Location: Toronto, Canada
AsmGuru62 21 Jan 2007, 19:39
Hi, everyone!

I would like to ask such question: what is a largest FASM project anyone seen or made? How many lines/files? What is the size of assembled EXE or DLL? How much time FASM spent to build it?

I am writing IDE where FASM code will be generated, so I need to know some statictics.

Thanks in advance.
Post 21 Jan 2007, 19:39
View user's profile Send private message Send e-mail Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 21 Jan 2007, 19:57
DexOS? MenuetOS? These are entire OSes and lots of apps, so they're bound to be pretty big/complete.

FASMW? FRESH? These are IDEs that actually include FASM, so they are bound to be pretty big too (comparatively).

FASM is almost always pretty fast (unlike NASM, due to "hash tables", according to Randy Hyde). Using lots of HLL macros can slow it down, though.
Post 21 Jan 2007, 19:57
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 21 Jan 2007, 20:20
also count FASM itself Wink
it would be nice to make some table with size of source and size of binary.

For example FASMLIB sources are over 250KB, but binary only has ~15KB.
Post 21 Jan 2007, 20:20
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1623
Location: Toronto, Canada
AsmGuru62 21 Jan 2007, 21:43
Great replies!

I use the FASM source code as a project to debug my IDE, but in my opinion it is a small project. I heard someone mention 25Mb of FASM code (which assembled into 5Mb binary file).
Post 21 Jan 2007, 21:43
View user's profile Send private message Send e-mail Reply with quote
coconut



Joined: 02 Apr 2004
Posts: 326
Location: US
coconut 22 Jan 2007, 04:01
i think that was a file made to test the speed of various optimizations. i believe the post about the test file is somewhere in one of these:

http://board.flatassembler.net/topic.php?t=854&postdays=0&postorder=asc&start=20


http://board.flatassembler.net/topic.php?t=1987
Post 22 Jan 2007, 04:01
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 22 Jan 2007, 06:09
fasm add-in for WinAsm Studio has 307kB source folder and uses shoolib of 280kB (without icons and docs) (at first it was single project, but later i had split it into two separate) (btw, i like dividers very much, but commentings is poor)
==============
Quote:
d:\fasm\FASM.EXE D:\projects\wafasm\conspawn.asm D:\projects\wafasm\conspawn.exe

flat assembler version 1.67.15 (110118 kilobytes memory)
4 passes, 0.1 seconds, 1536 bytes.

d:\fasm\FASM.EXE D:\projects\wafasm\wafasm.asm d:\winasm\AddIns\wafasmdeb.dll

flat assembler version 1.67.15 (110215 kilobytes memory)
7 passes, 0.9 seconds, 94208 bytes.

Celeron 2.7GHz

_________________
UNICODE forever!
Post 22 Jan 2007, 06:09
View user's profile Send private message Visit poster's website Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower 24 Jan 2007, 16:16
My biggest project, written on FASM, borrows ~ 647Kb, after compilation the general size of the output files - 72Kb.
Post 24 Jan 2007, 16:16
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 24 Jan 2007, 20:34
coconut wrote:
i think that was a file made to test the speed of various optimizations.

It was a real project (even though the source was generated synthetically) which later became very useful to test the optimizations because of its size and complexity. The original thread about it is here

I'm attaching both the C source that was used to generate the assembly source code, and 7zipped output of generator - the source that you may feed to fasm for benchmarking (note that you may change the settings of generator to make a source for MASM or NASM, too).


Description: The generated assembly source (huge file)
Download
Filename: GEN.7z
Filesize: 617.38 KB
Downloaded: 237 Time(s)

Description: The generator (C source)
Download
Filename: GenAsm2.zip
Filesize: 4.14 KB
Downloaded: 213 Time(s)

Post 24 Jan 2007, 20:34
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 24 Jan 2007, 21:40
My DirectDraw library project (TurboAsmDD.dll), of which I uploaded an example on this same forum today, has just over 300kb of pure assembly code. And, While not a TRUE assembly project, my assembly Include directory contains just over 4mb of windows include's, and still growing Very Happy .
Post 24 Jan 2007, 21:40
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1623
Location: Toronto, Canada
AsmGuru62 27 Jan 2007, 20:43
Thanks Tomasz,

I actually already had same idea of generating junk FASM code to test my parser(s). I was interested just out of curiosity if my generated code was bigger than largest projects. I generated 100 files with random size of 10-80Kb each.

You see, I am parsing the code and need to fill the navigation tree with structures and its members, procedures, labels, etc.
Post 27 Jan 2007, 20:43
View user's profile Send private message Send e-mail Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 27 Jan 2007, 21:37
Quote:
I actually already had same idea of generating junk FASM code
sounds like compliment to author of GenAsm2 Laughing Laughing
Post 27 Jan 2007, 21:37
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.