Skip to content

Kiyoshika/asm-quicksort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assembly Quicksort

For the learning experience, I decided to torture myself by attempting to implement quicksort in GNU Assembly (GAS).

Admittedly, this is not the cleanest implementation ever...could use some extra work.

This uses 10 "random" hardcoded integers allocated on the stack and sorts them in ascending order. Below is the output:

Original Array:
12 8 25 13 30 2 9 18 55
Sorted Array:
2 8 9 12 13 14 18 25 30

A makefile was written to compile the assembly using gcc - NOTE that this was written and compiled on Linux, it may or may not work on other platforms.

About

A quicksort implementation in GNU Assembly (gcc)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published