[BITS 32]
[section .text]

global main
extern printf
extern scanf
extern getchar
extern putc
extern fread
extern fwrite
extern fprintf
extern fscanf
extern fgetc
extern fputc
extern fflush
extern fclose
extern fseek
extern ftell
extern rewind
extern fgetpos
extern fsetpos

[segment .text]

%include "macros.asm"

struc _FILE
   .data resb 100
endstruc



main:
	push ebp
	mov ebp,esp
	push C0
	call printf
	add esp,dword 4
	mov eax,dword 0
	leave
	ret



[section .data]

C0: db 'Hello, World!',10,0

[section .bss]

stdin: resd 1
stdout: resd 1
stderr: resd 1
