Skip to content

bubbleSort and insertionSort algorithms written in ARM assembly language - uses C++ menu driver to call external functions and sort over 200,000 integers

Notifications You must be signed in to change notification settings

jacobtredwell/assembly-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

assembly-sort

bubbleSort and insertionSort algorithms written in ARM assembly language - uses C++ menu driver to call external functions

Menu driver program in C that executes the following menu. The purpose of the assignment is demonstrate the calling Assembly language macros from C++. only loads via the menu.

input file "input.txt" (200,000 random integers). I made C++ file that randomly generates the 200,000 integers and outputs to a file.

saves the array to its respective text file (i.e. "c_output.txt" and "a_output.txt") to verify sorting algorithms work.

           MASM5 C vs Assembly
          File Element Count: 200000

C Bubblesort Time: 0 secs Assembly Bubblesort Time: 0 secs

<1> Load input file (integers) <2> Sort using C Bubblesort algorithm <3> Sort using Assembly Bubblesort algorithm <4> Quit

About

bubbleSort and insertionSort algorithms written in ARM assembly language - uses C++ menu driver to call external functions and sort over 200,000 integers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published