I am just starting to learn assembly and having trouble getting this code to work so if anyone could help me out that would me much appreciated.
main:
ori $5,$0,x
addu $10,$0,$5
sll $5,3,shft
addu $10, $0, $5
sll $5,2,shft
addu $10,$0 ,$5
"Write a program that computes 13*x. Do this by using register $5 for x and loading it at the beginning of the program with an ori instruction. Assume x is a positive integer represented in unsigned binary. Compute 13*x by shifting and adding. Don't use an explicit multiply instruction. Don't do input or output. Put the result in register $10 at the end of the program. Write the program so that the value for x can easily be changed."