flat assembler
Message board for the users of flat assembler.

Index > Main > .NET framework application created using FASM

Author
Thread Post new topic Reply to topic
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 05 Apr 2005, 10:03
so, is it possible? to create a .NET application using FASM assembler?
anyone have tried it?

if yes, then, those VB peeps would coming to love FASM Smile
Post 05 Apr 2005, 10:03
View user's profile Send private message Visit poster's website Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend 05 Apr 2005, 14:37
I guess it's not possible, because .NET has its own "assembly language". What I mean is that it is an interpreted language, and compiler doesn't put any data like normal opcodes in the file, but some other stuff, that later on will be interpreted to "our assembly". That's also a reason why it won't ever be fast
Post 05 Apr 2005, 14:37
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 05 Apr 2005, 15:09
Theoretically, the .NET VM can analyze the usage patterns of the code, and generate "optimal" machine code, targetted for the processor you're using - something that won't happen with regular x86 machine code. Things like inserting branch hints on P4, taking use of available processor features, etc. Of course this is theoretical, and there's still a long way to go Smile
Post 05 Apr 2005, 15:09
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 05 Apr 2005, 15:25
Maybe something very basic may be implemented with macros? I've not studied the .NET platform much, but it might be possible, a bit bothersome though.. Very Happy
Post 05 Apr 2005, 15:25
View user's profile Send private message Visit poster's website Reply with quote
drs



Joined: 20 Jan 2005
Posts: 17
Location: Southern California, USA
drs 05 Apr 2005, 16:24
Here's an executable compiled with Mono on Windows. It just displays "Hello FASM Crew" but take a look at the compiled code under a disassembler or hex editor. It's really fairly complicated.

Ofcourse to compile... mcs hello.cs


Description: Hello World
Download
Filename: hello.rar
Filesize: 1.19 KB
Downloaded: 500 Time(s)

Post 05 Apr 2005, 16:24
View user's profile Send private message ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 05 Apr 2005, 17:02
PS: have a look at "ildasm" and friends for .NET "assembly" programming.
Post 05 Apr 2005, 17:02
View user's profile Send private message Visit poster's website Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 06 Apr 2005, 02:06
i downloaded the hello.exe
and i got this

hello.exe - Application Error
The application failed to initialize properly (0xc0000135). Click on OK to terminate the application.
Post 06 Apr 2005, 02:06
View user's profile Send private message Visit poster's website Reply with quote
drs



Joined: 20 Jan 2005
Posts: 17
Location: Southern California, USA
drs 07 Apr 2005, 16:15
Hi vbVeryBeginner..

I suppose you do not have .NET installed ? I'm not though why you would get that error.
Post 07 Apr 2005, 16:15
View user's profile Send private message ICQ Number Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 07 Apr 2005, 23:00
Very Happy

yup, did that on purpose :p
suppose the .gone app should msgbox us "hey, u there", "go and get a .net now" LOl
Post 07 Apr 2005, 23:00
View user's profile Send private message Visit poster's website 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.