What does '.word' on Wiird Disassembler mean?

Started by mdmwii, November 04, 2008, 09:34:11 PM

Previous topic - Next topic

mdmwii

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.

brkirch

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.

mdmwii


Link

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!

Panda On Smack

Whats latest version number and link for wiird please?


mdmwii

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!


Link

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!