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
/
02_hello_world.s
ArmAsm · 237 bytes
Raw
Blame
History
1
.global
_main
2
.text
3
.p2align
2
4
5
_main
:
6
mov
x0
, #
1
7
adrp
x1
,
msg
@PAGE
8
add
x1
,
x1
,
msg
@PAGEOFF
9
mov
x2
, #
14
10
mov
x16
, #
4
11
svc #
0x80
12
13
mov
x0
, #
0
14
mov
x16
, #
1
15
svc #
0x80
16
17
.data
18
msg
:
19
.asciz
"
Hello, World!\n
"