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
/
06_fibonacci_10.s
ArmAsm · 213 bytes
Raw
Blame
History
1
.global
_main
2
.text
3
.p2align
2
4
5
_main
:
6
mov
x0
, #
0
7
mov
x1
, #
1
8
mov
x2
, #
10
9
1
:
10
cbz
x2
,
2f
11
add
x3
,
x0
,
x1
12
mov
x0
,
x1
13
mov
x1
,
x3
14
sub
x2
,
x2
, #
1
15
b
1b
16
2
:
17
mov
x16
, #
1
18
svc #
0x80