www.main.lv
Don't think just code it

2010-01-21 Linux assembler and gcc

format ELF

section '.text' executable

public eexit
eexit:
	mov	eax,1
	xor	ebx,ebx
	int	0x80
	ret



#include <stdlib.h>
#include <stdio.h>

extern void eexit();

int main()
{
	eexit();
	printf("Problem?\n");
	return 0;
}

Compile:

fasm eexit.asm eexit.ogcc -c main.c
gcc main.o eexit.o -o main