[Cs35101] multiply psuedo instruction

Dianne Foreback dforebac at kent.edu
Tue Sep 20 12:30:45 EDT 2016


Dear Computer Architecture Class:

You may use the multiply pseudo instruction "mul" for your homework.

mul instruction format
mul rd, rs, rt  # rd = rs * rt

example:

mul $t1, $t2, $t3  # $t1 = $t2 * $t3   (register $t1 gets the contents of
what's in $t2 times the contents of what's in $t3).

Best,
Dianne
_______________________________________________
Dr. Dianne Foreback, Assistant Professor
Department of Computer Science
Math and Computer Science Building (MSB) 266
P.O. Box 5190, Kent, Ohio 44242-0001, USA
Phone: 330.672.9064
Email: dforebac at kent.edu
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://listmail.cs.kent.edu/pipermail/cs35101/attachments/20160920/357a0e03/attachment.html 


More information about the CS35101 mailing list