作者在 2010-12-20 19:53:35 发布以下内容
#hellos.s printf string "hello world" using C library calls
.data
output:
.asciz "hello world.\n"
.text
.global _start
_start:
pushl $output
call printf
addl $4, %esp
pushl $0
call exit
.data
output:
.asciz "hello world.\n"
.text
.global _start
_start:
pushl $output
call printf
addl $4, %esp
pushl $0
call exit