Make a(b+c) Into A Procedure
This distributive law procedure will receive a, b and c via the argument registers
No other procedures are called, so nothing has to be saved
Dist: # A procedure to compute $a0($a1+$a2)
add $t1,$a1,$a2 # Add b and c
mult $v0,$a0,$t1 # Multiply result times a
jr $ra # Return to caller
The procedure Dist is called by ...
Procedures that do not call other procedures are sometimes