The "b" constraint should be associated with "base_addr", not with "regindex": asm("stwbrx %0,%1,%2": : "r"(regdata), "r"(regindex), "b"(base_addr)); David ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/