Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of C Standard Library Functions in ARM Assembly

Overview of Process

The process overall was fairly straight-forward for me. I worked on the first half of the project, ensured that was implemented correctly, then started implementing the rest of the functions. It took me the longest to implement malloc and free because they were the most technologoically involved and were more challenging overall to code and debug. Once the heap was finalized, I ensured all other functions were implemented correctly and that the code was well structured.

Implemented C Functions

Below are all of the functions implemented in ARM Assembly:

  • bzero
  • strncpy
  • malloc
  • free
  • alarm
  • signal
  • strcmp
  • atoi
  • atol
  • atoll
  • memcpy
  • memmove

In addition to the required functions for the project, I also added additional ones inspired by already implemented C standard library functions for inspiration. This was why I started with strcmp as it was similar to strncpy and laid the foundation for how I would implement the rest of them. I ensured all functions were implemented similarly with clear comments and formatting.

Diagram

Figure 1: General Execution Flow of Program

About

Implementation of various C standard library functions in ARM Assembly.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages