Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

The /prog/ game

Name: Anonymous 2009-05-25 14:46

Pussies: Post link to project, doesn't matter if there is no source code. No HTML, faggots.
Average programmers: Post source code. If your program is too long to be posted here, see pussies.
Real men: Write a program from scratch and post source code. DON'T TEST IT.

Name: Anonymous 2009-05-26 3:43

My personal way of writing 1024.


#include <stdio.h>
#include <stdint.h>

int lulz(void)
{
    uint8_t data[] = {0x55, 0x89, 0xe5, 0xb8, 0x00, 0x04, 0x00,
                      0x00, 0xc9, 0xc3, 0x66, 0x90};
    asm("movl %0, %%eax;"
        "call *%%eax;" :
        :
        "r"(data) :
        "%eax"
       );
}

int main(void)
{
    printf("%d\n", lulz());
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List