wiithon.ppc
PowerPC instruction encoding.
The Wii runs a PowerPC 750CL. This package assembles single instructions into the four-byte words expected by the console, which is what you need when injecting code into a DOL.
Modules
- wiithon.ppc.instructions module
One function per instruction, returning its encoded form as
bytes.
See also
PowerPC Instruction Reference documents the instruction formats and their bit fields. Patching a Wii ISO shows how to inject the result into a game.