Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 04, 2012, 10:09:33 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Welcome to PSP-Programming.com
Home Help Search Shop Login Register
Digg This!
Pages: [1]
Print
Author Topic: MIPS instruction set  (Read 4779 times)
Noware
C/C++ Developer
C/C++ Developer
Hero Member
*

Karma: +41/-2
Offline Offline

Posts: 685
37495.68 points

View Inventory
Send Money to Noware

Avatar by: Jason Hise


View Profile
« on: November 26, 2008, 11:56:06 AM »

Hi,

Does someone knows a good link where I can find the MIPS instruction set + the hex value i.e.

0x8fbfxxxx = "lw ra,offset(sp)"
0x27bdxxxx = "addiu sp,sp,amount"
etc.

[EDIT]
The idee is to write a very simple disassembler or dump a small piece of memory and make some sence of it

Thanks in advance,
 Noware
« Last Edit: November 26, 2008, 12:36:34 PM by Noware » Logged

Reporter - What do you think of western civilization?
Gandhi - I think it would be a good idea!


Flatmush
Has a normal user title
Administrator
Hero Member
*

Karma: +84/-26
Offline Offline

Posts: 1046
12906.27 points

View Inventory
Send Money to Flatmush

The Omniscient One


View Profile WWW
« Reply #1 on: November 26, 2008, 02:15:20 PM »

I know it's not complete but the wikipedia page for MIPS contains a few of the binary values of each instruction, can't really use hex to describe the instruction set well as it doesn't use 4-bit aligned values for each field (i.e 32 registers is 5 bits).
http://en.wikipedia.org/wiki/MIPS_architecture

For the rest you'd be better asking on the psp section of the ps2dev forums (or irc) as the likes of hlide and a few others on there are more likely to know about this.

Edit: These docs may be useful to you, dunno quite how much MIPS32R2 differs from classic mips though, I suspect that the basics like add, mul, bitwise, etc are still the same.
(classic mips) http://www.d.umn.edu/~gshute/spimsal/talref.html
(mips32) http://www.math.unipd.it/~sperduti/ARCHITETTURE-1/mips32.pdf
« Last Edit: November 26, 2008, 02:22:35 PM by Flatmush » Logged

Firmware History: 2.60 -> 2.71 -> 1.50 -> 3.03oe-c

I am nerdier than 66% of all people. Are you nerdier? Click here to find out!I am 62% loser. What about you? Click here to find out!NerdTests.com User Test: The Can I Run A Business Test.

Hehe I'm a "Hero Member" because I bought posts back when they were in the shop.

Creator of FlatEditPSP, funcLib and flAstro
Noware
C/C++ Developer
C/C++ Developer
Hero Member
*

Karma: +41/-2
Offline Offline

Posts: 685
37495.68 points

View Inventory
Send Money to Noware

Avatar by: Jason Hise


View Profile
« Reply #2 on: November 26, 2008, 03:01:09 PM »

Hi Flatmush,

Thanks for the links, I will take a look at them

Noware
Logged

Reporter - What do you think of western civilization?
Gandhi - I think it would be a good idea!
Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.141 seconds with 26 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com