flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > What RELLY Happens?

Author
Thread Post new topic Reply to topic
EMA2242



Joined: 26 Oct 2003
Posts: 4
EMA2242
Hi,

I am trying to make a Compiler. The compiler part I can do I want to though make my own Assembler, Resource Assembler, and Linker...

So I though this would be a good place to ask about the assembler...

So My question is this: "What RELLY happens in a assembler?".

Now I know that is takes assembly code and translate it to object code.. But there is much more to it like memory allocation do you do something there?, ect...

I am going to download the Flat Assembler Source code and look at it but please help out here too!

Thanks,
Andrew

P.S. - I need to know what linker dose too... I mean I know it links files together and changes the object code to machine code (which are almost the say thing just a few missing things).

P.S.S - A Resource Linker... I have no clue what this dose at all!

Thanks Again!,
Andrew
Post 26 Oct 2003, 01:42
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
Well... There's a fasm guide that covers fasm's internals, can be useful to you. Unfortunatelly it is incompleted... I couldn't find it in a forum, so I attached the file from Fresh package.

But, why do you want to do your own tools? There are more than enough assemblers (and linkers and resource compilers...) made already. Why can't you stay with Fasm? Very Happy

regards

[edit]outdated attachment removed[/edit]


Description: Fasm Guide
Download
Filename: fasmguide.zip
Filesize: 4.97 KB
Downloaded: 531 Time(s)



Last edited by decard on 18 May 2004, 20:21; edited 1 time in total
Post 26 Oct 2003, 13:48
View user's profile Send private message Visit poster's website Reply with quote
EMA2242



Joined: 26 Oct 2003
Posts: 4
EMA2242
Right now I don't use FASM. I am trying to build my own Free/Open-Source Compiler, Assembler, Resource Assembler, and Linker so I can in the end build a tutorial showing how I made them all.

I am looking to start EMA (Extreme Modeling Application) but I am extending it to EMA Free and the EMA stands for nothing... It is going to be a "Free Foundation" every ting made there (anyone can make a project here) will have to be Free/Open-Source and it is more a learning place and to make your project that much better, You also make tutorials on how it was made, ect...

I need something to base this off of and I figured something like a Compiler, Assembler, Resource Assembler, and Linker and four good things to start off with...

Because I am starting EMA Free with them I need to make my own... I know it will take a long while but that is OK..

Thanks For the file I will check it out!,
Andrew
Post 26 Oct 2003, 14:52
View user's profile Send private message Reply with quote
EMA2242



Joined: 26 Oct 2003
Posts: 4
EMA2242
BTW: That file you have me is great and just what I need... But I need to whole thing anytime expected to be finished?

Andrew
Post 26 Oct 2003, 14:54
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
This depends on Privalov - he is the author of FasmGuide. But, AFAIK, he is very busy at the moment... Maybe he has already made some progress in documenting fasm internals, but I just don't know.

I suggest you to look at Fasm sources and learn from them - the source, although it doesn't have any comments, is very clear and you should understand it. Good luck!
Post 26 Oct 2003, 16:11
View user's profile Send private message Visit poster's website Reply with quote
EMA2242



Joined: 26 Oct 2003
Posts: 4
EMA2242
Will do!. Thanks for all the help...

Andrew
Post 26 Oct 2003, 16:24
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.