1 .file "alloca.s" 2 .text 3 .align 4 4 .def alloca; .val alloca; .scl 2; .type 044; .endef 5 .globl alloca 6alloca: 7 popl %edx 8 popl %eax 9 addl $3,%eax 10 andl $0xfffffffc,%eax 11 subl %eax,%esp 12 movl %esp,%eax 13 pushl %eax 14 pushl %edx 15 ret 16 .def alloca; .val .; .scl -1; .endef 17