CPSC250 Assembly Language Programming Lab 4 solution

$25.00

Category:

Description

5/5 - (4 votes)

Purpose

Learn to develop more advanced assembly language programs

What to Hand In

Completed Atoi.asm, Palindrome.asm

  1. Write a MIPS program that will read a line of text from the terminal, interpret it as an integer, and then print it out. In effect, we’ll be reimplementing the read_int system call.

 

  1. Write a MIPS program that will read a line of text and determine whether or not the text is a palindrome. A palindrome is a word or sentence that spells exactly the same thing both forward and backward. For example, the string “anna” is a palindrome, while “ann” is not.