0389ec1ea0
ARM toolchaisn by removing .type and .size directives.
35 lines
571 B
ArmAsm
35 lines
571 B
ArmAsm
.cpu arm7tdmi-s
|
|
.fpu softvfp
|
|
.file "y.c"
|
|
.bss
|
|
.align 2
|
|
l:
|
|
.space 4
|
|
.text
|
|
.align 2
|
|
.global f1
|
|
|
|
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
|
|
|
|
.align 2
|
|
.global main
|
|
|
|
main:
|
|
stmfd sp!, {fp, lr}
|
|
add fp, sp, #4
|
|
bx lr
|
|
.align 2
|
|
.word 1717986919
|
|
.word -1840700269
|
|
.word l
|
|
|
|
.ident "GCC: (Sourcery G++ 2011.03) 4.5.1"
|