2011-04-08 11:42:19 +00:00
|
|
|
.cpu arm7tdmi-s
|
|
|
|
.fpu softvfp
|
|
|
|
.file "y.c"
|
|
|
|
.bss
|
|
|
|
.align 2
|
|
|
|
l:
|
|
|
|
.space 4
|
|
|
|
.text
|
|
|
|
.align 2
|
|
|
|
.global f1
|
2011-04-11 15:12:29 +00:00
|
|
|
|
2011-04-08 11:42:19 +00:00
|
|
|
f1:
|
|
|
|
str fp, [sp, #-4]!
|
|
|
|
add fp, sp, #0
|
|
|
|
sub sp, sp, #12
|
|
|
|
str r0, [fp, #-8]
|
|
|
|
add sp, fp, #0
|
|
|
|
ldmfd sp!, {fp}
|
|
|
|
bx lr
|
|
|
|
.align 2
|
|
|
|
.word l
|
2011-04-11 15:12:29 +00:00
|
|
|
|
2011-04-08 11:42:19 +00:00
|
|
|
.align 2
|
|
|
|
.global main
|
2011-04-11 15:12:29 +00:00
|
|
|
|
2011-04-08 11:42:19 +00:00
|
|
|
main:
|
|
|
|
stmfd sp!, {fp, lr}
|
|
|
|
add fp, sp, #4
|
|
|
|
bx lr
|
|
|
|
.align 2
|
|
|
|
.word 1717986919
|
|
|
|
.word -1840700269
|
|
|
|
.word l
|
2011-04-11 15:12:29 +00:00
|
|
|
|
2011-04-08 11:42:19 +00:00
|
|
|
.ident "GCC: (Sourcery G++ 2011.03) 4.5.1"
|