This is some code I wrote for a class on assembly language years ago. The code works well with ASCII strings, the catch is that it is in assembly for the PDP-11. Since I've not so much as seen one of these since our VMS mainframe switched over to Alphas, I don't know where you'd use this.
int string_to_int(char*): string_to_int.marchar* int_to_string(int): int_to_string.marvoid binary_search(int*): binary_search.marvoid selection_sort(int*): selection_sort.marcheck_line.mar