.arch armv6 .eabi_attribute 27, 3 .eabi_attribute 28, 1 .fpu vfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 1 .eabi_attribute 18, 4 .file "add.c" .text .align 2 .global add .type add, %function add: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. sub sp, sp, #16 str r0, [sp, #4] str r1, [sp] ldr r2, [sp, #4] ldr r3, [sp] add r3, r2, r3 str r3, [sp, #12] ldr r3, [sp, #12] mov r0, r3 add sp, sp, #16 @ sp needed bx lr .size add, .-add .align 2 .global main .type main, %function main: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 0, uses_anonymous_args = 0 str lr, [sp, #-4]! sub sp, sp, #20 mov r3, #3 str r3, [sp, #12] mov r3, #5 str r3, [sp, #8] ldr r0, [sp, #12] ldr r1, [sp, #8] bl add str r0, [sp, #4] mov r0, r0 @ nop add sp, sp, #20 @ sp needed ldr pc, [sp], #4 .size main, .-main .ident "GCC: (Raspbian 4.9.2-10) 4.9.2" .section .note.GNU-stack,"",%progbits