Question: program in Assembly language for MIPS (Mars) Architecture that prints the geometric sequence and then prints the sum of this sequence on screen. The formula
program in Assembly language for MIPS (Mars) Architecture that prints the geometric sequence and then prints the sum of this sequence on screen. The formula for geometric sequence is
An= a1*rn-1
Get the values of a1, n and r from user. Sample Output: Geometric sequence Enter a1: 2 Enter r: 3 How many values (n): 5 The geometric sequence is 2, 6, 18, 54, 162 Sum= 242 --------------------------------------------------------------------------------------------------------------------- Write a program in Assembly language for MIPS ( MArs) Architecture that converts octal numbers into decimal. Sample Output: Enter octal number: 3762 Decimal number of 3762 is: 2034
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
