mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
21 lines
257 B
ArmAsm
21 lines
257 B
ArmAsm
|
.cpu generic+fp+simd
|
||
|
.global a
|
||
|
.section .rodata
|
||
|
.align 3
|
||
|
.LC0:
|
||
|
.string "foo"
|
||
|
.align 3
|
||
|
.type a, %object
|
||
|
.size a, 8
|
||
|
a:
|
||
|
.xword .LC0
|
||
|
.text
|
||
|
.align 2
|
||
|
.global foo
|
||
|
.type foo, %function
|
||
|
foo:
|
||
|
adrp x0, .LC0
|
||
|
add x0, x0, :lo12:.LC0
|
||
|
ret
|
||
|
.size foo, .-foo
|