shithub
fortrangoingonforty
/
armfortas
/
Sign in
Sign up
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
armfortas
Public
Watch
0
Fork
0
Star
0
armfortas
/
sample_programs
/
12_puts_call.s
ArmAsm · 242 bytes
Raw
Blame
History
1
.global
_main
2
.text
3
.p2align
2
4
5
_main
:
6
adrp
x0
,
msg
@PAGE
7
add
x0
,
x0
,
msg
@PAGEOFF
8
bl
_puts
9
10
mov
x0
, #
0
11
bl
_fflush
12
13
mov
x0
, #
0
14
mov
x16
, #
1
15
svc #
0x80
16
17
.section
__
TEXT,
__cstring
18
msg
:
19
.asciz
"
Hello from puts()
"