I'm having a little trouble grouping parts of assembly code generated in gdb with its corrosponding c code. I have a function called swap_n_add:
int swap n add ( int xp , int yp )
{
int x = xp ;
int y = yp ;
xp = y ;
yp = x ;
return x + y ;
}
I used the command disas swap_n_add to find a dumb of the assembly code, but I'm not really sure how to group parts of the assembly code with the given c code side by side.
Any help or pointers in the right direction would be much appreciated!
Thanks!

New Topic/Question
Reply



MultiQuote








|