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
/
13_helper_function.s
ArmAsm · 244 bytes
Raw
Blame
History
1
.global
_main
2
.text
3
.p2align
2
4
5
_main
:
6
mov
x0
, #
7
7
bl
_triple
8
mov
x16
, #
1
9
svc #
0x80
10
11
_triple
:
12
stp
x29
,
x30
,
[sp
, #
-
16
]!
13
mov
x29
,
sp
14
mov
x1
,
x0
15
add
x0
,
x0
,
x0
16
add
x0
,
x0
,
x1
17
ldp
x29
,
x30
,
[sp]
, #
16
18
ret