PowerPC For Dummies: A simplified guide to understanding the PowerPC Instruction Set
#24
(07-03-2021, 11:15 PM)Vega Wrote: lwzu looks good but lwzx is wrong, you could write them like this....

lwzu rA, VALUE (rB)

Register A is loaded with the word located at rB+VALUE. Afterwards, rB is incremented by the amount in VALUE.

--

lwzx rA, rB, rC

Register A is loaded with the word located at rB+rC.

--

Simple and straight to the point.


So whatever is the sum of register b and c added together becomes the pointer added to the address in register A? (for lwzx)
Reply


Messages In This Thread
RE: PowerPC For Dummies: A simplified guide to understanding the PowerPC Instruction Set - by JimmyKazakhstan - 07-04-2021, 02:33 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)