#include <stdio.h>
unsigned long get_sp(void) {
   __asm__("movl %esp,%eax");
}
void main() {
  printf("0x%x\n", get_sp());
  printf("Position of printf: %x\n", &printf);
}
