Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse W

Alphabetical listing with fast deep pagination.
66619 items • Page 957 / 1333

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Write a MIPS assembly language program to do the following. Do not use any pseud
Write a MIPS assembly language program to do the following. Do not use any pseudo or extended 1. 2. Print your name Using a bottom testing loop, prompt the user to enter a number …
Write a MIPS assembly language program to solve the following problem. For a set
Write a MIPS assembly language program to solve the following problem. For a set of integers stored in an array, calculate the sum of the positive numbers and the sum of the negat…
Write a MIPS assembly language program which uses an array of integers with 10 e
Write a MIPS assembly language program which uses an array of integers with 10 elements. The program prompts the user to input an integer to store in each element of the array. Af…
Write a MIPS assembly language program, 3x+1problem.asm, to input apositive inte
Write a MIPS assembly language program, 3x+1problem.asm, to input apositive integer from the keyboard and compute and print all theelements in the 3x+1 sequence through the first …
Write a MIPS assembly program that asks the user for an integer value five times
Write a MIPS assembly program that asks the user for an integer value five times saving each value to a separate register. Then using those five registers, your program should be …
Write a MIPS assembly program that checks to see if a string is a palindrome (pa
Write a MIPS assembly program that checks to see if a string is a palindrome (palindrome wiki: http://en.wikipedia.org/wiki/Palindrome). The string can be stored in the static dat…
Write a MIPS assembly program that prompts the user for 2 positive integers (>0)
Write a MIPS assembly program that prompts the user for 2 positive integers (>0). Then it uses the Euclidean Algorithm to calculate GCD (the Greatest Common Divisor). Please se…
Write a MIPS assembly program that simulates a clock that prints out hour, minut
Write a MIPS assembly program that simulates a clock that prints out hour, minutes, and seconds on the screen. Here's what i have so far Please put some comments on the parts you'…
Write a MIPS assembly program that simulates a clock that prints out minutes and
Write a MIPS assembly program that simulates a clock that prints out minutes and seconds on the screen. I need help in printing the minutes here's what I've got so far. .data newl…
Write a MIPS assembly program that simulates a clock that prints out minutes and
Write a MIPS assembly program that simulates a clock that prints out minutes and seconds on the screen. I need help in printing the minutes here's what I've got so far. .data newl…
Write a MIPS assembly program that sorts an array using bubble sort translating
Write a MIPS assembly program that sorts an array using bubble sort translating the C code below ---------------------------------- int main(void) {    int array[] = {10, 2, 7, 5,…
Write a MIPS assembly program that sorts data in the descending order (from the
Write a MIPS assembly program that sorts data in the descending order (from the biggest to the smallest) using any sorting algorithm. The input data is defined in the data section…
Write a MIPS assembly program that when run in MARS at 25 instructions/second wi
Write a MIPS assembly program that when run in MARS at 25 instructions/second will display in the Memory segment a 4-byte "sprite" that moves from left to right across the top of …
Write a MIPS assembly program that when run in MARS at 25 instructions/second wi
Write a MIPS assembly program that when run in MARS at 25 instructions/second will display in the Memory segment a 4-byte "sprite" that moves from left to right across the top of …
Write a MIPS assembly program to calculate A divided by B using the right approa
Write a MIPS assembly program to calculate A divided by B using the right approach.Assume the values are 6 bit unsigned numbers. j main # =========================================…
Write a MIPS assembly program using MARS which allows the user to convert number
Write a MIPS assembly program using MARS which allows the user to convert numbers between bases. Inputs from the user 1 - The old base (entered in base 10) 2 - The number to be co…
Write a MIPS assembly program using MARS which allows the user to convert number
Write a MIPS assembly program using MARS which allows the user to convert numbers between bases Inputs from the user 1 - The old base (entered in base 10) 2 - The number to be con…
Write a MIPS code The objectives of this program is to understand dynamic arrays
Write a MIPS code The objectives of this program is to understand dynamic arrays, stacks and subprogram calling another subprogram (function calls that are more than one level dee…
Write a MIPS code to compute the sum of N numbers such that each sum skips over
Write a MIPS code to compute the sum of N numbers such that each sum skips over certain numbers. Ask the user for how many numbers to skip (give option of 1-4) and then proceed to…
Write a MIPS function (called “median”) that computes the median of a set of non
Write a MIPS function (called “median”) that computes the median of a set of nonnegative integer values; your program should be named as “median.s”. The address of the array will …
Write a MIPS function (called “palindrome”) that returns 1 if the input string i
Write a MIPS function (called “palindrome”) that returns 1 if the input string is a palindrome and returns 0 otherwise. The address of the string will be passed in $a0 and the val…
Write a MIPS function int isPal (char *str) that takes a pointer to a C-string,
Write a MIPS function int isPal (char *str) that takes a pointer to a C-string, str, as a parameter. It should return 1 if the C-string is a palindrome, else it should return 0. A…
Write a MIPS function that given two user inputed integers, returns the product
Write a MIPS function that given two user inputed integers, returns the product of those two integers. You may NOT use arithmetic instructions in the code as primitives. The eligi…
Write a MIPS main program that calls a MIPS function \"calloc\". Your main progr
Write a MIPS main program that calls a MIPS function "calloc". Your main program and the calloc function must follow the function-call convention (without using the stack for para…
Write a MIPS procedure called findx which finds the first occurrence of the lett
Write a MIPS procedure called findx which finds the first occurrence of the letter ‘x’ in an area of memory (array). The procedure receives three arguments in $a1, $a2, and$a3, wh…
Write a MIPS procedure toFloat to put a floating-point number into IEEE single-p
Write a MIPS procedure toFloat to put a floating-point number into IEEE single-precision format. The procedure takes three integers as input: $a0, $a1, $a3, which represents a flo…
Write a MIPS program in MARS to \"guess a number\". Specification Create a varia
Write a MIPS program in MARS to "guess a number". Specification Create a variable called numToGuess and set it equal to your number to guess. Pass a number entered from the keyboa…
Write a MIPS program in MARS to \"guess a number\". Specification Create a varia
Write a MIPS program in MARS to "guess a number". Specification Create a variable called numToGuess and set it equal to your number to guess. Pass a number entered from the keyboa…
Write a MIPS program in the MARS simulator to evaluate: 5x^2 + 2xy - y^2 + 1 x a
Write a MIPS program in the MARS simulator to evaluate: 5x^2 + 2xy - y^2 + 1 x and y are user inputs the program should receive at runtime. The program should print the outcome of…
Write a MIPS program that accomplishes the following high-level code: // User pr
Write a MIPS program that accomplishes the following high-level code: // User provides a value. Program determines if it is a prime number. int num, ii, rem; output(“Enter a Numbe…
Write a MIPS program that asks the user to input string. The program then remove
Write a MIPS program that asks the user to input string. The program then removes all space characters from the string. The program finally displays the resulting string without s…
Write a MIPS program that checks whether two integers are exactly a factor of 2
Write a MIPS program that checks whether two integers are exactly a factor of 2 apart from this code. It is not recommended that you use any of the mult or div instructions. You c…
Write a MIPS program that declares a string (with .asciiz) containing a fairly s
Write a MIPS program that declares a string (with .asciiz) containing a fairly short string, such as "The quick brown fox jumps over a lazy dog".    .data str: .asciiz "The quick …
Write a MIPS program that determines how many instances of a character occur in
Write a MIPS program that determines how many instances of a character occur in a null-terminated string. The string is to be entered by the user at the keyboard, as is the charac…
Write a MIPS program that finds a fixed-point of the function f(x) = x*x - 2*x +
Write a MIPS program that finds a fixed-point of the function f(x) = x*x - 2*x + 1. There are two fixed-points for this function, but I want you to find the one that is between 0 …
Write a MIPS program that finds a fixed-point of the function f(x) = x*x - 2*x +
Write a MIPS program that finds a fixed-point of the function f(x) = x*x - 2*x + 1. There are two fixed-points for this function, but I want you to find the one that is between 0 …
Write a MIPS program that prompts the user to enter two numbers and performs add
Write a MIPS program that prompts the user to enter two numbers and performs addition, subtraction, multiplication, and division on two numbers and output the results. Please writ…
Write a MIPS program that takes up to 20 integers as input from the user using t
Write a MIPS program that takes up to 20 integers as input from the user using the array frontend and outputs the integers in descending order of value separated by spaces. The co…
Write a MIPS program that will read in a base (as an integer) and a value (nonne
Write a MIPS program that will read in a base (as an integer) and a value (nonnegative integer but as an ASCII string) in that base and print out the decimal value; you must imple…
Write a MIPS program that will read in a base (as an integer) and a value (nonne
Write a MIPS program that will read in a base (as an integer) and a value (nonnegative integer but as an ASCII string) in that base and print out the decimal value; you must imple…
Write a MIPS program that will read in a base (as an integer) and a value (nonne
Write a MIPS program that will read in a base (as an integer) and a value (nonnegative integer but as an ASCII string) in that base and print out the decimal value; you must imple…
Write a MIPS program to \"guess a number\". Specification Create a variable call
Write a MIPS program to "guess a number". Specification Create a variable called numToGuess and set it equal to your number to guess. Pass a number entered from the keyboard to a …
Write a MIPS program to \"guess a number\". Specification Create a variable call
Write a MIPS program to "guess a number". Specification Create a variable called numToGuess and set it equal to your number to guess. Pass a number entered from the keyboard to a …
Write a MIPS program to add two matrices and store the result in memory starting
Write a MIPS program to add two matrices and store the result in memory starting at address given in s4. The matrices are of the size 2 X 3 each. Deliverables: The two matrices ar…
Write a MIPS program to add two matrices and store the result in memory starting
Write a MIPS program to add two matrices and store the result in memory starting at address given in s4. The matrices are of the size 2 X 3 each. The two matrices are stored start…
Write a MIPS program to complete the following functions. You must write comment
Write a MIPS program to complete the following functions. You must write comments and follow the register convention. [30 points] (1) Declare an integer array of 20 elements and o…
Write a MIPS program to complete the following functions. You must write comment
Write a MIPS program to complete the following functions. You must write comments and follow the register convention. [30 points] (1) Declare an integer array of 20 elements and o…
Write a MIPS program to complete the following functions. You must write comment
Write a MIPS program to complete the following functions. You must write comments and follow the register convention. [30 points] (1) Declare an integer array of 20 elements and o…
Write a MIPS program to complete the following functions. You must write comment
Write a MIPS program to complete the following functions. You must write comments and follow the register convention. (1) Declare an integer array of 20 elements and other variabl…
Write a MIPS program to complete the following functions. You must write comment
Write a MIPS program to complete the following functions. You must write comments and follow the register convention. (1) Declare an integer array of 20 elements and other variabl…