Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
Makefile
README.md
bsort.s
count.s
errors.s
files.s
heap-print.s
heap.s
hsort.s
numbers.s
program.s
qsort.s
rsort.s
strings.s
syscalls.s
test-count.s
test-heap.s
test-sort.s

README.md

ARM Assembly Utility Methods

This folder contains various utility methods written in ARM assembly language.

They don't need to be linked against any other code, including libstdc.

Sorting Algorithms:

  • rsort - Radix MSB Sort
  • bsort - Bubble Sort
  • qsort - Quick Sort
  • hsort - Heap Sort

Data Structures:

  • Minimum Heap (Priority Queue)

Number Handling:

  • itoa - integer to string
  • div - division with remainder
  • word_to_binary - word to binary string

String Handling:

  • newline - prints a new line character
  • strlen
  • strcmp
  • puts
  • fputs

File Functions:

  • open_read - open a file for reading
  • open_write - open a file for writing

Error Handling:

  • check_read_error - check error codes from a read operation

Misc:

  • Methods for counting characters in a file
  • Methods for printing various debugging information

Linux System Calls:

  • exit
  • fork
  • read
  • write
  • open
  • close
  • getpid
  • getrandom
You can’t perform that action at this time.