A program that checks to see if a string is a palindrome

Assignment Help Computer Engineering
Reference no: EM132206487

Write a MIPS assembly program that checks to see if a string is a palindrome. The string can be stored in the static data area of your main, and is passed from main to 2 functions.

The first function named string length determines the string's length.

Then the string and the string length are passed to a function named palindrome, which returns a true or false indication of whether the string is a palindrome.

The program should print out an indication of whether the stored string is a palindrome. Provide examples that show both cases. Allow your program to handle blanks and mixed case in the input, ignoring them, and still finding a palindrome.

For example, "A daffodil slid off Ada" is an example of a palindrome if you ignore spaces and letter case. Verify it can run with MARS.

Reference no: EM132206487

Questions Cloud

Simulate a clock that prints out minutes and seconds : Write a MIPS assembly program that simulates a clock that prints out minutes and seconds on the screen.
What value would the given work add to the organization : What value would this work add to the organization? How would this work improve practice and create outcomes with impact?
Write a mips program to calculate the fibonacci number : Write a MIPS program to calculate the Fibonacci number for small numbers by defining a function.
Write a method switchpairs that switches the order of values : Write a method switchPairs that switches the order of values in an ArrayList of strings in a pairwise fashion.
A program that checks to see if a string is a palindrome : Write a MIPS assembly program that checks to see if a string is a palindrome.
How many students had both asthma and wheezing : In Week 4, you will continue to assume the role of the public health informatician and use your pre-intervention asthma surveillance data set from the CDC.
Define barriers to collecting a comprehensive health history : What are the barriers you face to collecting a comprehensive health history so that you can give culturally-competent care?
Prepare a statement of cash flows for 2008 : How much will each deposit have to be if you want to meet your financial goals - prepare a statement of cash flows for 2008. Assume that there were no changes
Calculate OCFs for this project : Project X involves a new type of graphite composition in-line skate wheel. Calculate OCFs for this project. What is the project's IRR

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd