programming MIPS ask 3

posted by .

Write a MIPS assembly language program for the following for loop:
Pseudocode: int x; # for(x=10; x>0; x--){ # printf("x=%d", 4x); #}
In the program use the slt or slti instruction and sll

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. C Programming

    How do you reprompt after the user inputs a wrong number into the program in C Programming?
  2. C Programming

    I am trying to find the sum of two integers. I entered the following program into the Visual Studio and it is telling me that there are errors. Can someone tell me where they are please?
  3. C programming

    A few questions, all involving "for" loops that I am unsure how to do (Thank you in advance for the help): Q1.) Write a table of conversions from Celsius to Rankin. Allow the user to enter the starting temperature and increment between …
  4. Programming

    Write a pseudocode program that asks the user for an integer between 1 and 12. The program is to calculate the times table for that number. So for example, if the user enters a 2, then the program has to calculate 2x1 and display the …
  5. MIPS Assembly programming

    Hi there, I need to implement in assembly mips an iterative binary search method. Here's my code: # this program implements binary search # the equivalent pseudo code is the following: # first = 0 # last = size -1 # while (last - first …
  6. programming MIPS ask

    Write a MIPS assembly language program that will cover the following steps: Prompt the user to enter a first integer named i1 Prompt the user to enter a second integer named i2 Compute i1+i2-200 Print the value of the result Repeat …
  7. C Programming

    Write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and total sales …
  8. computer programing

    okay I need a little help here on next program this what it say for first one which I have done. Create a counting program that counts backward from 100 to 1 in increments of 10. #include < stdio.h > int main () { Int i; while …
  9. cs203

    Write a MIPS assembly language program that displays the binary string of the content of register $t0.
  10. Assembly language

    For this project, you will write a MIPS assembly language program to calculate periodically compounding interest. Your program should prompt the user to enter the necessary parameters for the calculation and continue to loop until …

More Similar Questions