|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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.
__________________
Making teachers cry like babies since 2006. --nicky paper/xerox/staples zine distro/press - Support the first ammendment. Support independent publishing. Stupid Things I've Done |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > [Homework] - Please Help Me With Mips Program |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|