flat assembler
Message board for the users of flat assembler.

Index > Heap > Online C to ASM generator

Author
Thread Post new topic Reply to topic
KevinN



Joined: 09 Oct 2012
Posts: 161
KevinN
http://gcc.godbolt.org/#

Saw this on another board
Post 11 Mar 2013, 21:19
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6034
Location: Poland
MHajduk
KevinN wrote:
http://gcc.godbolt.org/#

Saw this on another board
Thanks KevinN, it's one of the most interesting and useful sites I've seen recently. Smile
Post 11 Mar 2013, 21:46
View user's profile Send private message Visit poster's website Reply with quote
KevinN



Joined: 09 Oct 2012
Posts: 161
KevinN
I think it'd be nice to have some more software like this, with LCC, basi or whatever compiler to generate FASM etc. I'll pay a person $50 to make it happen as it's all I can afford right now..

The source code to the "gcc explorer" is on sourceforge apparently
Post 11 Mar 2013, 23:22
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:22; edited 1 time in total
Post 20 Mar 2013, 19:32
View user's profile Send private message Reply with quote
uart777



Joined: 17 Jan 2012
Posts: 369
uart777
Impressive Smile
Code:
#include <stdio.h>

int main() {
  puts("Hello");
  return 0;
}    
Code:
main:                                   # @main
        pushq   %rbp
        movq    %rsp, %rbp
        movl    $.L.str, %edi
        callq   puts
        xorl    %eax, %eax
        popq    %rbp
        ret

.L.str:
        .asciz   "Hello"    
Small-C by Jim Hendrix: http://en.wikipedia.org/wiki/Small-C
Post 20 Mar 2013, 22:19
View user's profile Send private message Reply with quote
zir_blazer



Joined: 05 Dec 2006
Posts: 66
zir_blazer
That site makes this...

http://board.flatassembler.net/topic.php?t=15188

...one step easier.
Post 20 Mar 2013, 22:28
View user's profile Send private message MSN Messenger 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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.