Arithmetic Operations
Desired result:
MIPS assembly:
a = b + c
add a, b, c
Conventions:
Always three variables
Result goes into first variable
How do you add up more than two variables?
Desired result:
MIPS assembly:
a = b + c + d
???
Previous slide
Next slide
Back to first slide
View graphic version