Tim Lai wrote: > Thanks. > I did some search and find no answer. How do I define %0 as a register input and > assign the value of "addr" to it? Something like: __asm__ __volatile__( ".set push\n" ".set mips4\n" "pref " PREF_OP ", 0(%0)\n" ".set pop\n" : "=r" (addr)); For more information: "info gcc" and the kernel sources. Thiemo