Description
-
Implement the following code in ARMv8 assembly. Show your code (just copy/paste your working/tested/debugged code solution) for each exercise.
-
-
a=9
-
b=5
if (a >b):
a+=1
-
-
i=5
-
j=5
if (i!=j): f=g+2
else:
f=g+h
-
-
a=5
-
b=3 total=a-b
-
Implement the following code in ARMv8 assembly. Show your code (just copy/paste your working/tested/debugged code solution)
a=4
b=2
c=1
z=a*(b+c)
-
How can you implement the following c-code for loop in ARMv8 assembly? Show your code (just copy/paste your working/tested/debugged code solution)
m=2
for (k=0; k<5; k++): m=m+m;