|
- ... (r0-r31)3.1
- PowerPC 64-bit processors have 64-bit general-purpose registers, but still use 32-bit opcodes
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ... value.3.2
- Multi-word memory instructions exist, but are considered bad practice to use, since they may not be supported in future PowerPC processors.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ... bits3.3
- Some people prefer to use add-immediate-shift against the r0 general purpose register. The r0 register has a special property in that anytime it is used for addition or substraction, it is treated as a zero, regardless of the current value
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...3.33.4
- 64-bit PowerPC processors require five separate instructions to load a 32-bit immediate value into a general-purpose register
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ... bits.4.1
- Although the current line of PowerPC chips used with Mac OS X seem to ignore the undefined bits, future processors may actually use these bits. It is entirely possible that undefined bit abuse can prevent your code from working on newer processors
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
|