Skip to content

rezKamal/assembly_sort

Repository files navigation

While taking CPSC 52 (Computer Architecture), I got interested in writing optimized low-level code. This repo contains 3 attempts at writing optimized Quicksort code in MIPS Assembly (and debugging it using MARS).

standard_quicksort

My first implementation of a Quicksort algorithm, created individually for a lab assignment.

improved_quicksort

standard_quicksort with tweaks, such as using pointers within loops and performing swap() in-line.

improved_mid_quicksort

Based on the Hoare partition scheme, this works faster on almost-sorted lists. I created this and improved_quicksort with Michelle Zhuang '23 for a final project.

About

3 implementations of Quicksort in MIPS Assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published