 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
gauri
Joined: 20 Jan 2008 Posts: 35 Location: Belarus
|
Posted: Sun Jan 27, 2008 9:55 pm Post subject: Allegrex opcodes |
|
|
When going thru interruptman code with IDA, I've noticed some unknown opcodes here and there.
The first ones seem to map to COP0 family, but they are marked reserved in MIPS docs. These insns seem all to be R-types and use rs=0x04 or 0x06 or 0x00.
The second ones appear to be SPECIAL3-BSHFL insns, but also they are not marked in MIPS docs. These are:
| Code: | 0x7C171D20
0x7C0F7D20
0x7C063520
0x7C1A2D20 |
Any suggestions what these might be?
And the third thing is, I see dsrlv insn used here and there, but, as we know, SC is 32-bit and there's no way dsrlv will ever be implemented there. _________________ Freelance game industry veteran. 8] |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Sun Jan 27, 2008 10:17 pm Post subject: |
|
|
0x7C171D20: bitrev $v1, $s7
0x7C0F7D20: bitrev $t7, $t7
0x7C063520: bitrev $a2, $a2
0x7C1A2D20: bitrev $a1, $k0
It converts input "01010001" into output "10001010"
Anyways, if you want to see the rest of opcodes, get prxtool ;) |
|
| Back to top |
|
 |
gauri
Joined: 20 Jan 2008 Posts: 35 Location: Belarus
|
Posted: Sun Jan 27, 2008 11:32 pm Post subject: |
|
|
| moonlight wrote: | | Anyways, if you want to see the rest of opcodes, get prxtool ;) |
Hmmm. Didn't think about that. Thanks for the advice!
An updated IDA Pro plugin will be completed in a day or two. :-) _________________ Freelance game industry veteran. 8] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|