Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .cpu arm1136jf-s
- .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 "ex1.c"
- .text
- .align 2
- .global main
- .arch armv6j
- .syntax unified
- .arm
- .fpu softvfp
- .type main, %function
- main:
- @ args = 0, pretend = 0, frame = 16
- @ frame_needed = 1, uses_anonymous_args = 0
- @ link register save eliminated.
- str fp, [sp, #-4]!
- add fp, sp, #0
- sub sp, sp, #20
- str r0, [fp, #-16]
- str r1, [fp, #-20]
- mov r3, #0
- str r3, [fp, #-8]
- ldr r3, [fp, #-8]
- add r3, r3, #1
- str r3, [fp, #-8]
- mov r3, #0
- mov r0, r3
- add sp, fp, #0
- @ sp needed
- ldr fp, [sp], #4
- bx lr
- .size main, .-main
- .ident "GCC: (Ubuntu/Linaro 8.4.0-1ubuntu1~18.04) 8.4.0"
- .section .note.GNU-stack,"",%progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement