flat assembler
Message board for the users of flat assembler.

Index > Main > C to ASM Converter?

Author
Thread Post new topic Reply to topic
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance 29 Apr 2004, 21:20
Anyone know where to find one? Confused
Post 29 Apr 2004, 21:20
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 29 Apr 2004, 22:22
http://msdn.microsoft.com/visualc/vctoolkit2003/ Razz - in addition to your optimization flags etc, add /FAs to the cl.exe commandline to have the compiler produce a .asm listing.
Post 29 Apr 2004, 22:22
View user's profile Send private message Visit poster's website Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance 29 Apr 2004, 22:50
ow checking it.thnx for the help:D
Post 29 Apr 2004, 22:50
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 30 Apr 2004, 02:09
np. It's pretty cute that this compiler is available for free now, apart from intel's compiler, microsoft's is probably the best for x86... it does a pretty okay job at code generation. You can still beat both the compilers when it comes to MMX and SSE code, but it takes some effort for 'regular' code Smile
Post 30 Apr 2004, 02:09
View user's profile Send private message Visit poster's website Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 318
Vortex 30 Apr 2004, 09:45
Embrance,

Direct coding in asm is more preferable that using a C to asm converter since the compilers doesn't understand algos like humans. Are you trying to study the code generation of C compilers?

_________________
Code it... That's all...
Post 30 Apr 2004, 09:45
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 30 Apr 2004, 10:26
if you like GNU tools, you can also make GCC produce assembler outout (via --save-temps option), but it will be in AT&T syntax.
Post 30 Apr 2004, 10:26
View user's profile Send private message Visit poster's website Reply with quote
BiDark



Joined: 22 Jun 2003
Posts: 109
Location: .th
BiDark 30 Apr 2004, 10:57
decard wrote:
if you like GNU tools, you can also make GCC produce assembler outout (via --save-temps option), but it will be in AT&T syntax.


FYI, this behaviour can be changed by using '-masm=intel' option, to produce intel assembly style listing.
Post 30 Apr 2004, 10:57
View user's profile Send private message Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance 05 May 2004, 04:20
Thanks for the replies.However i think i will use only ASM.No C and such....
Post 05 May 2004, 04:20
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
ShortCoder



Joined: 07 May 2004
Posts: 105
ShortCoder 07 May 2004, 04:26
Another thing to do. ---you could write the software in C, compile it to an executable, then use a disassembler on the executable and try to read that code.
Post 07 May 2004, 04:26
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.