source:
vendor/bash/3.1-p17/lib/malloc/i386-alloca.s
| Last change on this file was 3228, checked in by , 19 years ago | |
|---|---|
| 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 |
| 6 | alloca: |
| 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.
