GCT <-> ASM Converter
Convert between Wii Gecko codes and ASM
Another one of the many already existing tools out there because why not :)
Input
Waiting...Output
Supports
- Gecko Code Types: C2/C3 (Insert ASM), C0 (Execute), 00-05 (8/16/32-bit write), 06/07 (String write)
- ASM (GCTRM) Format:
HOOK @ $address { instructions }orop instruction @ $address
Examples
Gecko Code (C2 Hook)
C2044A34 00000003
80830008 2C080001
4082000C 3D808059
91EC82F8 00000000
80830008 2C080001
4082000C 3D808059
91EC82F8 00000000
ASM Hook Format
HOOK @ $80044A34
{
lwz r4, 0x8(r3)
cmpwi r8, 0x1
bne- %END%
lis r12, 0x8059
stw r15, -0x7D08(r12)
}
{
lwz r4, 0x8(r3)
cmpwi r8, 0x1
bne- %END%
lis r12, 0x8059
stw r15, -0x7D08(r12)
}
Single Instruction
04044A34 38600001
ASM Single Op
op li r3, 0x1 @ $80044A34
To-do:
- ASM Syntax Highlighting: Who doesn't like colors
- You tell me: What's missing? What's wrong? idk 😉