代码如下:
.section .data
output:
.asciz "This is section %d\n"
.section .text
.globl main
main:
pushl $1
pushl $output
call printf
add $8, %esp # should clean up stack
call overhere
pushl $3
pushl $output
call printf
add $8, %esp # should clean up stack
pushl $