Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 946 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 946 Bytes

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