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
:)
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
:)
Nice to see it come together Andy - good work.
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
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
Should be able to make a LIB and add it to your link options.
Why not do it all in ASM?
Why not do it all in ASM?