hello.c
#include <stdio.h>
void main(void){ // << entry point
printf("Hello World!");
}
hello.asm
global _main
extern _printf
section .text
_main: ; << entry point
push message
call _printf
add esp, 4
ret
message:
db 'Hello, World!', 10, 0