MIPS Assembly program **not normall assembly pleas do not write normal assembly code .***here MIPS require
Posted: Fri Jul 08, 2022 6:39 am
MIPS Assembly program **not normallassembly
pleas do not write normal assembly code .***here MIPSrequire
Write a well-documented MIPS program to perform the following tasks: Task #1: • Prompts the user to enter from the KBD an integer number in the range (10 .. +40). • Multiply the entered number by 20. (Multiply instructions are NOT allowed). • Display the entered and the calculated result separated by tab at the beginning of a new line. Task #2: • Prompts the user to enter from the KBD an integer number in the range (80.. +120). • Multiply the entered number by 40. (Multiply instructions are NOT allowed). • Display the entered and the calculated result separated by hash sign (#) at the beginning of a new line. Task #3: • Prompts the user to enter from the KBD an integer number in the range (20 .. +50). • Multiply the entered number by 56. (Multiply instructions are NOT allowed). • Display the entered and the calculated result separated by one space at the beginning of a new line. Methods and Hints: • Assignments must be prepared and submitted by a team of NO more than TWO students. • Define properly the needed variables and messages in the data segment. Display the results with proper messages. Solve and debug each of the above-mentioned tasks in order before moving to the next task. A program that does not assemble or run will be graded zero. Late submissions are NOT allowed. Multiply instructions are NOT allowed. Use shift instructions instead !!! Use simple values to verify the correctness of calculations in your program. Practice well with ALL buttons and commands to work with MARS software. ● Use single-step mode to watch the contents of registers and memory locations after executing each instruction.
pleas do not write normal assembly code .***here MIPSrequire
Write a well-documented MIPS program to perform the following tasks: Task #1: • Prompts the user to enter from the KBD an integer number in the range (10 .. +40). • Multiply the entered number by 20. (Multiply instructions are NOT allowed). • Display the entered and the calculated result separated by tab at the beginning of a new line. Task #2: • Prompts the user to enter from the KBD an integer number in the range (80.. +120). • Multiply the entered number by 40. (Multiply instructions are NOT allowed). • Display the entered and the calculated result separated by hash sign (#) at the beginning of a new line. Task #3: • Prompts the user to enter from the KBD an integer number in the range (20 .. +50). • Multiply the entered number by 56. (Multiply instructions are NOT allowed). • Display the entered and the calculated result separated by one space at the beginning of a new line. Methods and Hints: • Assignments must be prepared and submitted by a team of NO more than TWO students. • Define properly the needed variables and messages in the data segment. Display the results with proper messages. Solve and debug each of the above-mentioned tasks in order before moving to the next task. A program that does not assemble or run will be graded zero. Late submissions are NOT allowed. Multiply instructions are NOT allowed. Use shift instructions instead !!! Use simple values to verify the correctness of calculations in your program. Practice well with ALL buttons and commands to work with MARS software. ● Use single-step mode to watch the contents of registers and memory locations after executing each instruction.