------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-14 20:44 ------- Try: __asm volatile("lidt (%0)" : : "r" (p), "m"(*p));
Other than that, this is invalid as the asm just says it take the value of p and nothing about the contences of p. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28729