![]() |
Accessing Array from ASM passed from C++?
I've been studying assemby for about a semester now. I am having a horrible time figuring out how to access the data I pass from C++ to ASM. The data is a array of strings which I will have to sort in ASM and return a sorted array back to C++. The biggest problem I am having is accessing the data itself. The array is being passed at [ebp+8]... Any help with this is appreciated.
This is the C++ code I'm working with; Code:
extern "C" int Sort (char [] [20], int, int);Code:
Sort (Strings, 10, 20);Code:
_Sort proc |
| All times are GMT +5.5. The time now is 06:41. |