#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2006
    Posts
    2
    Rep Power
    0

    Thumbs down [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
  2. #2
  3. No Profile Picture
    rebel with a cause
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    May 2004
    Location
    The Batsh!t Crazy State.
    Posts
    5,817
    Rep Power
    3462
    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.
    Dear God. What is it like in your funny little brains? It must be so boring.

IMN logo majestic logo threadwatch logo seochat tools logo