This commit is contained in:
hexplor
2026-05-11 20:38:29 +02:00
parent 8c3f9f7940
commit e10375126d
2 changed files with 5 additions and 2 deletions
Binary file not shown.
+5 -2
View File
@@ -4,14 +4,17 @@ global main
extern printf extern printf
section .data section .data
src db "La source a venir" src db "La source a venir", 10, 0
section .text section .text
main: main:
call affiche_source call affiche_source
ret
affiche_source: affiche_source:
lea rdi, [src] ; 1er argument: format lea rdi, [src] ; 1er argument: format
;lea rsi, [name] ; 2e argument: %s ;lea rsi, [name] ; 2e argument: %s
call printf call printf
ret
section .note.GNU-stack noalloc noexec nowrite progbits