Hi everyone!
This code shows how to make simple bubblesort namesorting routine
in an assembly procedure called from a Visual C++ program
It sorts the names with the help of the C function strcmp


See it run
http://www.busybeesolutions.com/cgi-bin/c_asm/bnamesort.exe

Look at the source

C++ file:
http://www.busybeesolutions.com/sourcefiles/c_asm/NameSortCGI.txt

Assembly procedures:
http://www.busybeesolutions.com/sourcefiles/c_asm/PointersStruct.txt
http://www.busybeesolutions.com/sourcefiles/c_asm/NameSort.txt

How to create a C++ or C to call assembly procedures in Visual C++
note: this project was a console project

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q106399

:)
Posted on 2001-12-19 19:45:24 by andy981
Nice to see it come together Andy - good work.
Posted on 2001-12-19 20:00:57 by bitRAKE
Thanks BitRake

Now I got to make a QuickSort

I'd like to do it two ways, one with C functions
but best yet, see how I could use yours in C, but It'll take some knowledge how to use other libraries like the one from Masm32 , in Visual C++
Andy
Posted on 2001-12-19 20:39:13 by andy981
Should be able to make a LIB and add it to your link options.

Why not do it all in ASM?
Posted on 2001-12-19 23:34:16 by bitRAKE