MIPS Assembly
MIPS Assembly. Saleh Dindar CDA3101 Fall 2014. mul $t0, $a0, $a1 add $v0, $t0, $a2. Problem 1: Linear function. x → $a0 a → $a1 b → $a2 y → $v0. lw $t0, 0($a0) lw $t1, 0($a1) sw $t1, 0 ($a0 ) sw $t0, 0 ($a1 ). Problem 2: Swap numbers.
229 views • 9 slides