Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdio.h"
- int main() {
- unsigned long res;
- asm ("movl %%esp,%0" : "=r"(res));
- printf("esp == %d\n", res);
- return 0;
- }
- //test.c: Assembler messages:
- //test.c:5: Error: suffix or operands invalid for `mov'
Add Comment
Please, Sign In to add comment