.file "test.c" .text .p2align 4,,15 .globl main .type main, @function main: leal 4(%esp), %ecx andl $-16, %esp pushl -4(%ecx) pushl %ebp movl %esp, %ebp pushl %ecx xorl %eax, %eax popl %ecx popl %ebp leal -4(%ecx), %esp ret .size main, .-main .p2align 4,,15 .globl test_data_bitmask .type test_data_bitmask, @function test_data_bitmask: pushl %ebp movl %esp, %ebp movl 8(%ebp), %ecx orb $1, (%ecx) movb (%ecx), %dl movb %dl, %al orl $2, %eax movb %al, (%ecx) andl $7, %eax cmpb $7, %al jne .L4 orl $10, %edx movb %dl, (%ecx) .L4: xorl %eax, %eax popl %ebp ret .size test_data_bitmask, .-test_data_bitmask .p2align 4,,15 .globl test_data_int .type test_data_int, @function test_data_int: pushl %ebp movl %esp, %ebp movl 8(%ebp), %eax movl $1, (%eax) movl $1, 4(%eax) movl (%eax), %ecx testl %ecx, %ecx je .L9 movl 8(%eax), %edx testl %edx, %edx je .L9 movl $1, 12(%eax) .L9: xorl %eax, %eax popl %ebp ret .size test_data_int, .-test_data_int .ident "GCC: (GNU) 4.1.2" .section .note.GNU-stack,"",@progbits