PowerPC For Dummies: Guides And Examples Page
#4
Sometimes over simplification is bad for ASM as ASM is a lower level language thus naturally the user needs to learn some of the finer details.

r2 is the rtoc. Like r1 and r13, it is not for general use. Has specific usages.

Regarding the Logic stuff, the very first sentence for each category is correct but everything after that is fundamentally wrong. ORs, ANDs, and XORs can used as tools for a variety of objectives and thus should be taught with the finer details involved. Or else the user will never truly understand how logical operations work.

For instance go to the C0 code type tutorial thread. There is a snippet of code using AND to make controller activation work in the C0 codes. In order to understand how that snippet of code actually gets the job done you need to learn Logical Operations the 'correct' way.

-

A user can basically make any size of stack frame they desire and store whatever registers they want on said stack. It's not complicated at all. Basic math and some alignment rules. View the About Stack Frames tut.
Reply


Messages In This Thread
RE: PowerPC For Dummies: Guides And Examples Page - by Vega - 06-30-2021, 01:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)