Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-arm/attr-merge-arch-2a.s

19 lines
374 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.syntax unified
.cpu cortex-m4
.fpu softvfp
.thumb
.file "m.c"
.text
.align 2
.global main
.thumb
.thumb_func
.type main, %function
main:
push {r7, lr}
add r7, sp, #0
bl foo
mov r3, r0
mov r0, r3
pop {r7, pc}