update
This commit is contained in:
Binary file not shown.
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user