Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .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 18, 4
- .file "tmp.c"
- .section .rodata
- .align 2
- .LC0:
- .ascii "A: %d, B: %d\012\000"
- .text
- .align 2
- .global f
- .type f, %function
- f:
- @ args = 0, pretend = 0, frame = 8
- @ frame_needed = 1, uses_anonymous_args = 0
- stmfd sp!, {fp, lr}
- add fp, sp, #4
- sub sp, sp, #8
- str r0, [fp, #-8]
- str r1, [fp, #-12]
- ldr r3, .L2
- mov r0, r3
- bl printf
- sub sp, fp, #4
- ldmfd sp!, {fp, pc}
- .L3:
- .align 2
- .L2:
- .word .LC0
- .size f, .-f
- .align 2
- .global main
- .type main, %function
- main:
- @ args = 0, pretend = 0, frame = 0
- @ frame_needed = 1, uses_anonymous_args = 0
- stmfd sp!, {fp, lr}
- add fp, sp, #4
- mov r0, #1
- mov r1, #2
- bl f
- mov r3, #0
- mov r0, r3
- ldmfd sp!, {fp, pc}
- .size main, .-main
- .ident "GCC: (Debian 4.6.3-14+rpi1) 4.6.3"
- .section .note.GNU-stack,"",%progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement