source: vendor/bash/3.1/lib/malloc/i386-alloca.s

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 269 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.