View Single Post
Old Oct 29th, 2007, 5:21 PM   #12
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 928
Rep Power: 4 lectricpharaoh will become famous soon enough
Re: tasm sorting 5 integers with array

Quote:
Originally Posted by akioshin
yeah at first i was trying to use the insertion sort, because i have a turbo c code for insertion sort but its kinda hard for me to convert it to assembly code
I never used Turbo C, but I did use Borland C++ v3.1. I seem to recall there being a command line parameter to output assembly (as the result of compilation). Thus, you could write a small C/C++ source file, and view the assembly equivalent. I'm sure Turbo C has similar functionality.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp
lectricpharaoh is online now   Reply With Quote