SHOW:
|
|
- or go back to the newest paste.
1 | .arch armv6 | |
2 | .eabi_attribute 27, 3 | |
3 | .eabi_attribute 28, 1 | |
4 | .fpu vfp | |
5 | .eabi_attribute 20, 1 | |
6 | .eabi_attribute 21, 1 | |
7 | .eabi_attribute 23, 3 | |
8 | .eabi_attribute 24, 1 | |
9 | .eabi_attribute 25, 1 | |
10 | .eabi_attribute 26, 2 | |
11 | - | .eabi_attribute 30, 6 |
11 | + | .eabi_attribute 30, 2 |
12 | .eabi_attribute 18, 4 | |
13 | .file "hfpt.c" | |
14 | - | .section .rodata |
14 | + | .section .text.startup,"ax",%progbits |
15 | .align 2 | |
16 | .global main | |
17 | .type main, %function | |
18 | - | .text |
18 | + | |
19 | @ args = 0, pretend = 0, frame = 0 | |
20 | @ frame_needed = 0, uses_anonymous_args = 0 | |
21 | @ link register save eliminated. | |
22 | ldr r0, .L2 | |
23 | - | @ args = 0, pretend = 0, frame = 16 |
23 | + | mov r1, #2 |
24 | - | @ frame_needed = 1, uses_anonymous_args = 0 |
24 | + | b printf |
25 | - | stmfd sp!, {fp, lr} |
25 | + | |
26 | - | add fp, sp, #4 |
26 | + | |
27 | - | sub sp, sp, #16 |
27 | + | |
28 | - | ldr r3, .L2 @ float |
28 | + | |
29 | - | str r3, [fp, #-8] @ float |
29 | + | |
30 | - | ldr r3, .L2+4 @ float |
30 | + | .section .rodata.str1.4,"aMS",%progbits,1 |
31 | - | str r3, [fp, #-12] @ float |
31 | + | |
32 | - | flds s14, [fp, #-8] |
32 | + | |
33 | - | flds s15, [fp, #-12] |
33 | + | |
34 | - | fdivs s15, s14, s15 |
34 | + | |
35 | - | ftosizs s15, s15 |
35 | + |