Thibaud GUERIN writes:
> hi,
> I'm actually writing a program in C and i'm fighting with an address
> dereferencing since some days now.
>
> int the_bug(const char *fmt, ...)
> {
> char **ap;
> char **s = (char **)(&fmt);
>
> /* __asm__ volatile ( */
> /* "\tleal %1, %%eax\n" */
> /* "\tmovl %%eax,%0\n" */
> /* "\tmovl %1, %%eax\n" */
> /* "\tmovl %2, %%ebx \n" */
> /* "\tmovl %%eax, (%%ebx)\n" */
> /* : "=m"(ap) : "m" (fmt), "m"(ap)); */
This is wrong in so many ways I don't know where to start.
It may be better if you try to tell us what you are trying to do.
Redirecting [EMAIL PROTECTED]
Andrew.