flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Are there any books/articles/etc. about FASM SOURCE?

Author
Thread Post new topic Reply to topic
Necromancer13.13



Joined: 20 Apr 2008
Posts: 15
Location: Ukraine
Necromancer13.13 20 Apr 2008, 14:49
My dream is to understand FASM sources Wink
The number of comments in its sources is too few Sad
are there any books or articles about fasm sources?
Or are there any fasm sources with comments?
How is it possible to write so big project without comments? %)

_________________
FASM Rules!
Post 20 Apr 2008, 14:49
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 20 Apr 2008, 15:05
it is possible because labels and symbols are the comments.

for me, uncommented source is a source with only anonymous labels and randoms labels names.

fasm is well documented, just you have to read the source many times. and execute it in your head, liek if you had an x86 emulator in the head.
then, all symbols will have a sense.

and note, Tomasz Grysztar is an assembly artist, artists never comment theirs painting ( or only during interviews ), the painting itself is a comment.

there are no known books about fasm.
and i'm pretty sure there wil be one one day, cause there are some guys that love to write a lot about things and put their name on the book.
Very Happy
Post 20 Apr 2008, 15:05
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20489
Location: In your JS exploiting you and your system
revolution 20 Apr 2008, 15:30
I think that the fasm sources would be much easier to understand with symbolic constants. The comments are less important.
Post 20 Apr 2008, 15:30
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8363
Location: Kraków, Poland
Tomasz Grysztar 20 Apr 2008, 16:13
There was a project of documenting the fasm's source and internal structures, but I never finished it.

Look here to see what was done.
Post 20 Apr 2008, 16:13
View user's profile Send private message Visit poster's website Reply with quote
Necromancer13.13



Joined: 20 Apr 2008
Posts: 15
Location: Ukraine
Necromancer13.13 20 Apr 2008, 17:43
> it is possible because labels and symbols are the comments.

YES... may be... Smile

> fasm is well documented, just you have to read the source many times. and execute it in your head, liek if you had an x86 emulator in the head.
then, all symbols will have a sense.

Yeah.. Smile

> and note, Tomasz Grysztar is an assembly artist, artists never comment theirs painting ( or only during interviews ), the painting itself is a comment.

What does "assembly artist" mean? Smile

Tomasz Grysztar, thank you for fasmguide:)
And for FASM as well Smile
Post 20 Apr 2008, 17:43
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 796
Location: Massachusetts, USA
bitshifter 18 Sep 2008, 03:25
I am on the same path also.
The only way to understand how it works is to read it like a computer does.
If the the code goes here, then you go here.
If the code goes there, then you go there.
Anyway, what fun would it be if 'TheGrysz' had commented every line of code?
Post 18 Sep 2008, 03:25
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.