Helpful Information
 
 
Category: Other Programming Languages
[Homework] - Please Help Me With Mips Program

write a MIPS program that calculates d=a*b-a*c without using mult instruction --- just for practicing your MIPS assembly.

• Hint: use loop of additions to replace mult.



• Practice SPIM system calls to input values for a, b and c, as well as printout the value of d.

please help me out

It looks like you've been given a good hint. Think about how you figured out multiplication when you were a little kid before you knew your times tables.

Can you post the code you've tried.










privacy (GDPR)