section .text global _start _start: xor eax, eax ; mise à 0 du registre eax push 'AAAA' ; On met le caractère à afficher sur la pile (4 'A' pour éviter les nul bytes) mov ebx, esp ; adresse du caractère à afficher mov al, 1 ; On empile la taille push eax push ebx ; On empile le buffer push eax ; On empile 1 (STDOUT) push eax ; PADDING mov al, 4 ; syscall sys_write int 0x80 ; appel système mov al, 1 ; exit int 0x80