-
- .globl GNAME(alloc_to_eax)
- .type GNAME(alloc_to_eax),@function
- .align align_4byte,0x90
-GNAME(alloc_to_eax):
- pushl %ecx # Save ecx and edx as C could destroy them.
- pushl %edx
- pushl %eax # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- popl %edx # Restore ecx and edx.
- popl %ecx
- ret
- .size GNAME(alloc_to_eax),.-GNAME(alloc_to_eax)
-
- .globl GNAME(alloc_8_to_eax)
- .type GNAME(alloc_8_to_eax),@function
- .align align_4byte,0x90
-GNAME(alloc_8_to_eax):
- pushl %ecx # Save ecx and edx as C could destroy them.
- pushl %edx
- pushl $8 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- popl %edx # Restore ecx and edx.
- popl %ecx
- ret
- .size GNAME(alloc_8_to_eax),.-GNAME(alloc_8_to_eax)
-
- .globl GNAME(alloc_8_to_eax)
- .type GNAME(alloc_8_to_eax),@function
- .align align_4byte,0x90
-
- .globl GNAME(alloc_16_to_eax)
- .type GNAME(alloc_16_to_eax),@function
- .align align_4byte,0x90
-GNAME(alloc_16_to_eax):
- pushl %ecx # Save ecx and edx as C could destroy them.
- pushl %edx
- pushl $16 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- popl %edx # Restore ecx and edx.
- popl %ecx
- ret
- .size GNAME(alloc_16_to_eax),.-GNAME(alloc_16_to_eax)
-
- .globl GNAME(alloc_to_ecx)
- .type GNAME(alloc_to_ecx),@function
- .align align_4byte,0x90
-GNAME(alloc_to_ecx):
- pushl %eax # Save eax and edx as C could destroy them.
- pushl %edx
- pushl %ecx # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%ecx # Set up the destination.
- popl %edx # Restore eax and edx.
- popl %eax
- ret
- .size GNAME(alloc_to_ecx),.-GNAME(alloc_to_ecx)
-
- .globl GNAME(alloc_8_to_ecx)
- .type GNAME(alloc_8_to_ecx),@function
- .align align_4byte,0x90
-GNAME(alloc_8_to_ecx):
- pushl %eax # Save eax and edx as C could destroy them.
- pushl %edx
- pushl $8 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%ecx # Set up the destination.
- popl %edx # Restore eax and edx.
- popl %eax
- ret
- .size GNAME(alloc_8_to_ecx),.-GNAME(alloc_8_to_ecx)
-
- .globl GNAME(alloc_16_to_ecx)
- .type GNAME(alloc_16_to_ecx),@function
- .align align_4byte,0x90
-GNAME(alloc_16_to_ecx):
- pushl %eax # Save eax and edx as C could destroy them.
- pushl %edx
- pushl $16 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%ecx # Set up the destination.
- popl %edx # Restore eax and edx.
- popl %eax
- ret
- .size GNAME(alloc_16_to_ecx),.-GNAME(alloc_16_to_ecx)
-
-
- .globl GNAME(alloc_to_edx)
- .type GNAME(alloc_to_edx),@function
- .align align_4byte,0x90
-GNAME(alloc_to_edx):
- pushl %eax # Save eax and ecx as C could destroy them.
- pushl %ecx
- pushl %edx # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%edx # Set up the destination.
- popl %ecx # Restore eax and ecx.
- popl %eax
- ret
- .size GNAME(alloc_to_edx),.-GNAME(alloc_to_edx)
-
- .globl GNAME(alloc_8_to_edx)
- .type GNAME(alloc_8_to_edx),@function
- .align align_4byte,0x90
-GNAME(alloc_8_to_edx):
- pushl %eax # Save eax and ecx as C could destroy them.
- pushl %ecx
- pushl $8 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%edx # Set up the destination.
- popl %ecx # Restore eax and ecx.
- popl %eax
- ret
- .size GNAME(alloc_8_to_edx),.-GNAME(alloc_8_to_edx)
-
- .globl GNAME(alloc_16_to_edx)
- .type GNAME(alloc_16_to_edx),@function
- .align align_4byte,0x90
-GNAME(alloc_16_to_edx):
- pushl %eax # Save eax and ecx as C could destroy them.
- pushl %ecx
- pushl $16 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%edx # Set up the destination.
- popl %ecx # Restore eax and ecx.
- popl %eax
- ret
- .size GNAME(alloc_16_to_edx),.-GNAME(alloc_16_to_edx)
-
-
-
- .globl GNAME(alloc_to_ebx)
- .type GNAME(alloc_to_ebx),@function
- .align align_4byte,0x90
-GNAME(alloc_to_ebx):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl %ebx # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%ebx # Set up the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_to_ebx),.-GNAME(alloc_to_ebx)
-
- .globl GNAME(alloc_8_to_ebx)
- .type GNAME(alloc_8_to_ebx),@function
- .align align_4byte,0x90
-GNAME(alloc_8_to_ebx):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl $8 # Push the size.
- call GNAME(alloc)
- addl $4,%esp # Pop the size arg.
- movl %eax,%ebx # Set up the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_8_to_ebx),.-GNAME(alloc_8_to_ebx)
-
- .globl GNAME(alloc_16_to_ebx)
- .type GNAME(alloc_16_to_ebx),@function
- .align align_4byte,0x90
-GNAME(alloc_16_to_ebx):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl $16 # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%ebx # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_16_to_ebx),.-GNAME(alloc_16_to_ebx)
-
-
-
- .globl GNAME(alloc_to_esi)
- .type GNAME(alloc_to_esi),@function
- .align align_4byte,0x90
-GNAME(alloc_to_esi):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl %esi # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%esi # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_to_esi),.-GNAME(alloc_to_esi)
-
- .globl GNAME(alloc_8_to_esi)
- .type GNAME(alloc_8_to_esi),@function
- .align align_4byte,0x90
-GNAME(alloc_8_to_esi):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl $8 # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%esi # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_8_to_esi),.-GNAME(alloc_8_to_esi)
-
- .globl GNAME(alloc_16_to_esi)
- .type GNAME(alloc_16_to_esi),@function
- .align align_4byte,0x90
-GNAME(alloc_16_to_esi):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl $16 # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%esi # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_16_to_esi),.-GNAME(alloc_16_to_esi)
-
-
- .globl GNAME(alloc_to_edi)
- .type GNAME(alloc_to_edi),@function
- .align align_4byte,0x90
-GNAME(alloc_to_edi):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl %edi # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%edi # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_to_edi),.-GNAME(alloc_to_edi)
-
- .globl GNAME(alloc_8_to_edi)
- .type GNAME(alloc_8_to_edi),@function
- .align align_4byte,0x90
-GNAME(alloc_8_to_edi):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl $8 # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%edi # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_8_to_edi),.-GNAME(alloc_8_to_edi)
-
- .globl GNAME(alloc_16_to_edi)
- .type GNAME(alloc_16_to_edi),@function
- .align align_4byte,0x90
-GNAME(alloc_16_to_edi):
- pushl %eax # Save eax, ecx, and edx as C could destroy them.
- pushl %ecx
- pushl %edx
- pushl $16 # Push the size
- call GNAME(alloc)
- addl $4,%esp # pop the size arg.
- movl %eax,%edi # setup the destination.
- popl %edx # Restore eax, ecx and edx.
- popl %ecx
- popl %eax
- ret
- .size GNAME(alloc_16_to_edi),.-GNAME(alloc_16_to_edi)