%include "asm_io.inc"
;
; initialized data is put in the .data segment
;
segment .data
msg1 db "Et un message !",10,0
msg2 db "Et de deux !!",10,0
	
;
; uninitialized data is put in the .bss segment
;
segment .bss
 

;
; code is put in the .text segment
;
segment .text
        global  asm_main
asm_main:
        enter   0,0               ; mise en place 
        pusha

	mov eax,msg1
        call write
	mov eax,msg2
	call write

	
        popa
        mov     eax, 0            ; retour vers le C
        leave                     
        ret

	
write   :
;;
;; A compléter
;;