On Mon, 18 Aug 2008, Scott Wood wrote:
> Steven Rostedt wrote: > > What syntax to do that with? > > > > lwz %1,0(%U2) > > stu %3, 0(%X2) > > > > I'm new to those. (and the above does not compile) > > lwz%U2%X2 %1, %2 > stw%U2%X2 %3, %2 Thanks, that's new to me. > > > > Why stwu with an offset of zero, > > > > How else to do it? stwu %3, (%2) does not compile for me. > > stw %3, 0(%2) > > The "u" tells it to write the effective address back to %2 -- but with an > offset of zero, the effective address is unchanged. Ah! Right! /me should open up his PowerPC ref books again :-p -- Steve _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev