WiiRd forum

Wii & Gamecube Hacking => WiiRD Remote Debugger => Topic started by: mdmwii on November 04, 2008, 09:34:11 PM

Title: What does '.word' on Wiird Disassembler mean?
Post by: mdmwii on November 04, 2008, 09:34:11 PM
Hey guys, I need help.

I can't find what '.word' on Wiird disassembler means. Example:

] stw r1, 12(r3)
] lis r2, 1
] .word 0xF1234411


Is an instruction that Wiird can't recognize? Or a special instruction?

I searched on IBM instruction list, but no dice...

Please, help me.
Title: Re: What does '.word' on Wiird Disassembler mean?
Post by: brkirch on November 04, 2008, 09:54:01 PM
Anything that begins with a period is an assembler directive and not an assembly instruction.  In this case the disassembler is outputting .word to indicate that it doesn't recognize the memory as a valid instruction, so it assumes that it is data.
Title: Re: What does '.word' on Wiird Disassembler mean?
Post by: mdmwii on November 04, 2008, 09:58:35 PM
So, it's a pseudo-op...

Thank you Brkirch.

Title: Re: What does '.word' on Wiird Disassembler mean?
Post by: Link on November 04, 2008, 11:08:09 PM
Please always make sure your WiiRd version is up to date.. the new version many people didn't seem to download contains a new disassembler.. some Gekko commands couldn't be disassembled in the old version.. maybe the new version can show you something else at the given address!
Title: Re: What does '.word' on Wiird Disassembler mean?
Post by: Panda On Smack on November 04, 2008, 11:22:36 PM
Whats latest version number and link for wiird please?

Title: Re: What does '.word' on Wiird Disassembler mean?
Post by: mdmwii on November 05, 2008, 08:13:50 AM
Quote from: Link on November 04, 2008, 11:08:09 PM
Please always make sure your WiiRd version is up to date.. the new version many people didn't seem to download contains a new disassembler.. some Gekko commands couldn't be disassembled in the old version.. maybe the new version can show you something else at the given address!

Thanks a lot, Link. It was a 0.9.0 disassebler limitation. What was a pseudo-op now with 0.9.1 is an instruction like 'psq_st'.

Problem solved: Don't use old version!

Title: Re: What does '.word' on Wiird Disassembler mean?
Post by: Link on November 05, 2008, 10:47:22 AM
Basically the old version already had support for all Power pc instructions.. the main thing is.. the Wii doesn't use a pure Power PC.. the Power PC in the Wii and the Gamecube has a so-called Gekko addon.. which is comparable to SSE on Intel Pentium und AMD Athlon XP architectures.. SSE was added to the x86 branch much like the Gekko was added to the PowerPC.. what I did for the last version: I found a document describing on how the Gekko commands work.. and implemented them in the disassembler.. there shouldn't be any assembly commands the disassembler does not understand by now.. if you find one and you're sure it's an instruction and not a memory valuel.. please send: maybe we missed a command!