You are developping a software which should run on a specific ARM cpu. This software has around 20 000 lines of code, written in C. Most of these lines are not often executed therefore the running time of them is not an issue but you have 4 different functions (total: 80 lines of C-code, functions have 1 to 7 parameters) which take 99.9% of the running time of the software and this is a serious issue since this software is slow and its running speed needs to be improved. Since the compiler available for this specific ARM cpu is not producing an efficient code, one may suggest to write the software in assembly to be able to have a faster software. What do you think? Is it possible and how you will do it? Explain in detail and justify your answer
You are developping a software which should run on a specific ARM cpu. This software has around 20 000 lines of code, written in C. Most of these lines are not often executed therefore the running time of them is not an issue but you have 4 different functions (total: 80 lines of C-code, functions have 1 to 7 parameters) which take 99.9% of the running time of the software and this is a serious issue since this software is slow and its running speed needs to be improved.
Since the compiler available for this specific ARM cpu is not producing an efficient code, one may suggest to write the software in assembly to be able to have a faster software.
What do you think? Is it possible and how you will do it? Explain in detail and justify your answer.
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)