C to MIPS Conversion | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

C to MIPS Conversion

Table 1: C variable: h, i, j, k, c, a or &a[0] MIPS register replacement: $s0, $s1, $s2, $s3, $s4, $sa0 Translate the following C code to MIPS Assembly: j = a[2]; j += 2; a[10] = j;

13th Mar 2018, 9:43 PM
3 Antworten
+ 8
what is MIPS Assembly ??? @Ajay Agrawal //short idea & its use
19th Mar 2018, 12:39 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
I'm also interested
19th Mar 2018, 12:27 PM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
Gaurav Agrawal MIPS Assembly is the programming language like C. but it is low level(assembly). So it is fast to execute, but worst in coding. even a factorial program takes more than 50 lines which can be code in 10 lines C.
6th Apr 2018, 4:28 AM
Ajay Agrawal
Ajay Agrawal - avatar