Sign in to follow this  
phil05

Any good MIPS Assembly compilers?

Recommended Posts

phil05    100
I'm taking C++/Assembly in college in a few weeks, and I was wondering if you recommend any free MIPS Assembly compilers. I don't know if VS 6.0 does or not. Thanks.

Share this post


Link to post
Share on other sites
markr    1692
By "Assembly compilers" do you mean assemblers or compilers?

I doubt whether the standard Microsoft tools do MIPS - you can't run (full) versions of Windows on MIPS processors. WinCE perhaps, but I think you need separate developer tools for that.

Of course GCC compiles for MIPS processors. You can build a cross compiler that runs on a PC and produces MIPS code, but you will need a whole toolchain and libraries built for MIPS of course.

It may be possible to build a GCC cross compiler on Windows on Cygwin, but is likely to be easier on Linux.

I'm sure there are commercial (extremely expensive) MIPS compilers which do super-optimisation and used for stuff like PS2 development. Your college might get an educational discount on one.

Mark

Share this post


Link to post
Share on other sites
Fruny    1658
You can configure GCC to generate MIPS code.

Metrowerks probably has a MIPS version of Codewarrior.

As for Visual Studio, if there is a way to target MIPS, you'll need to buy a specific version/package/extension... It doesn't come out of the box.

Share this post


Link to post
Share on other sites
vovansim    336
Hi,

Quote:
Original post by philvaira
I'm taking C++/Assembly in college in a few weeks, and I was wondering if you recommend any free MIPS Assembly compilers. I don't know if VS 6.0 does or not. Thanks.


Are you sure your university will not give you the necessary software? When I took a class like that, there was everything I ever needed, and some more on the class website. :)

Though admittedly, we never compiled MIPS into binary, just ran it on SPIM...

Vovan

Share this post


Link to post
Share on other sites
phil05    100
Thanks for the link.

I'm sure we will be given the necessary software when school begins. I thought I'd start ahead since I'm a complete nerd.

Share this post


Link to post
Share on other sites
Anon Mike    1098
Quote:
you can't run (full) versions of Windows on MIPS processors


NT used to run on MIPS. They dropped support around the NT4 timeframe.

I know that there was a version of msvc that created MIPS code. I don't know if it ran native or was a cross-compiler. I also don't know if there was a native IDE or not.

Share this post


Link to post
Share on other sites
Malone1234    139
SPIM is the way to go to learn MIPS assembly. When your program screws up, you just get an error and a view of all the current regitsters and the stack. Much better than actually crashing your machine.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this