使用call命令调用函数(AT&T汇编)

  代码如下:

.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 $

你可能感兴趣的:(使用call命令调用函数(AT&T汇编))