macaw/macaw-arm/tests/arm/test-just-exit.s

39 lines
839 B
ArmAsm

.cpu arm7tdmi
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 1
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "test-just-exit.c"
.text
.align 2
.global _start
.syntax unified
.arm
.fpu softvfp
.type _start, %function
_start:
@ Function supports interworking.
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
@ link register save eliminated.
str fp, [sp, #-4]!
add fp, sp, #0
.syntax divided
@ 4 "test-just-exit.c" 1
svc #0
@ 0 "" 2
.arm
.syntax unified
nop
add sp, fp, #0
@ sp needed
ldr fp, [sp], #4
bx lr
.size _start, .-_start
.ident "GCC: (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437]"