master
parent
fd4c26850b
commit
70c3756257
@ -0,0 +1,17 @@
|
||||
extern printf
|
||||
;default rel
|
||||
global main
|
||||
|
||||
section .text
|
||||
main:
|
||||
;int 3
|
||||
;db 0xcc
|
||||
;lea eax, [hello]
|
||||
push hello
|
||||
call printf
|
||||
add esp, 4
|
||||
xor eax, eax
|
||||
ret
|
||||
|
||||
section .data
|
||||
hello db "Liberté, égalité, fraternité!", 10, 0
|
Reference in New Issue