DJGPP inline assembler syntax...
Posted: Thu Jul 31, 2003 6:42 am
Hello everybody !
does anyone can explain me the following syntax ?
__asm__ __volatile__ ("lgdt (%0)": :"p" (((char *)tmp_val )+2));
this is in a c fonction, there is no input variable...
so, I don't know why %0 !
And what does "p" mean ?
thanks.
does anyone can explain me the following syntax ?
__asm__ __volatile__ ("lgdt (%0)": :"p" (((char *)tmp_val )+2));
this is in a c fonction, there is no input variable...
so, I don't know why %0 !
And what does "p" mean ?
thanks.