UK: +44 748 007-0908, USA: +1 917 810-5386 [email protected]

program using system calls

Q1 (25 points)
Write assembly program using system calls that implement the following tasks:
1- Declare array1 that has the following element {2, 4, 6, 8, 10, 20, 40}
2- Declare array2 that has the following element {0, 0, 0, 0, 0, 0, 0}
3- Print the array1’s element
4- Build a function that multiply each element by 5
5- Store the new elements in array2
6- Print the array2’s element

Q2 (25 points)
Write assembly program using system calls that implement the following tasks:
1- Declare array that has the following element {12, 16, 6, 18, 10, 40, 30}
2- Print the array element
3- Use loop and if statement to find the maximum value in the array
4- Print the maximum value in the array
5- Use loop and if statement to find the minimum value in the array
6- Print the minimum value in the array

Ready to Score Higher Grades?