Last active
August 29, 2015 14:06
-
-
Save circuitsenses/2eacf105c7412284e479 to your computer and use it in GitHub Desktop.
Bubble sort ARM assembly implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MAX_ELEMENTS 10 | |
extern void __sortc(int *, int); | |
int main() | |
{ | |
int arr[MAX_ELEMENTS] = {5, 4, 1, 3, 2, 12, 55, 64, 77, 10}; | |
__sortc(arr, MAX_ELEMENTS); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment