WiiRd forum

Wii & Gamecube Hacking => WiiRD Remote Debugger => Topic started by: Maniac on November 20, 2008, 02:52:29 AM

Title: ASM compilier and questions..
Post by: Maniac on November 20, 2008, 02:52:29 AM
I was wondering where I can find a PowerPC ASM compiler to convert it to wiiRD code? Also, what registers can I use freely and what registers should I not touch?

Thanks :)
Title: Re: ASM compilier and questions..
Post by: Romaap on November 20, 2008, 04:47:55 PM
use Links ASM helper tool -> http://usbgecko.com/files/asmwiird.zip (http://usbgecko.com/files/asmwiird.zip)
Title: Re: ASM compilier and questions..
Post by: Maniac on November 20, 2008, 05:48:16 PM
Yeah, I've tried that but I'm going to be using the c0 code type, not the c2 and I've also found that that compiler won't allow any address in the 0x90000000 range, and the address I want to use is in that memory block.. anything on the registers? :\

Edit: I've also noticed that compiler doesn't allow labels. Unless I'm doing something wrong.. :\
Edit: ah read something wrong and I figured out a few things though I'd still like to know what registers I can use and what I cant. Thanks!
Title: Re: ASM compilier and questions..
Post by: Igglyboo on November 20, 2008, 09:56:06 PM
You dont use an address when using the C0 codetype
just change the first line from
C2XXXXXX to C0000000
where XXXXXX = address
Title: Re: ASM compilier and questions..
Post by: Maniac on November 20, 2008, 11:25:59 PM
Yes I know how the c0 type code works... thanks though.
Title: Re: ASM compilier and questions..
Post by: Igglyboo on November 20, 2008, 11:56:22 PM
Then why do you care if the assembler cant use addresses above 0x90000000 if you are only using c0?
Title: Re: ASM compilier and questions..
Post by: Maniac on November 21, 2008, 10:56:54 PM
Did I not just say I figured it out? -.-' I got it to do what I wanted it to do..
Title: Re: ASM compilier and questions..
Post by: Maniac on November 28, 2008, 01:17:51 AM
Found the registers I can use. Locking.