The C code "d = a - e" could be represented in MIPS assembly as

The C code "d = a - e" could be represented in MIPS assembly as



A. sub $t0, $t1, $t2 where d=$t0, a=$t2 and e=$t1
B. SUB a, e, d
C. sub $t0, $t1, $t2 where d=$t0, a=$t1 and e=$t2
D. SUB d, a, e
E. SUB d, e, a
F. sub $t0, $t2, $t1 where d=$t0, a=$t1 and e=$t2
G. d SUB a, e


Answer:


C. sub $t0, $t1, $t2 where d=$t0, a=$t1 and e=$t2
D. SUB d, a, e


Learn More :