Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   c to mips (http://www.go4expert.com/forums/c-to-mips-t22049/)

paradise 9May2010 11:13

c to mips
int i ;
void set_array(int num){
int array[10];
int compare(int a ,int b){
return 1;
return 0;
int sub(int a,int b){
return a-b;

anybody know how to convert to mips code

addee 17Jun2010 01:23

Re: c to mips
I think the ctomips.com may help. They will convert your c source code into mips assembly. What you need to do is just put these code into a c file and upload it on their website, then you will get the assembly. It just works!

All times are GMT +5.5. The time now is 10:04.