I am trying to Link one function developed in assembly with .s extensions to C code main program main.c
I need to debug assembly routine to see my stack and registers.
How can i do it?
int main() {
char str[] = "remembering toUpperSelective exercise..";
const char* findChars = "re";
int result = toUpperSelective(str, findChars);
printf("Result Expected is %d and got %d \n", 14, result);
printf("Printing result: %s \n", str);
getchar();
return 0;
}
how i say the compiler to search in a X location and stop throwing this error? (Linking)
alright.
I was trying doing this on visual studio, but before i tried use insight debugger without any success on Windows Platform.
I started another question in StackOverflow before this, but i already achieved what i want.
The thread is here.
I link assembly with C code and debug on Insight C + My Assembly routine.
Thanks!