CPSC 250 Assembly Language Programming Lab 4

$35.00

Download Details:

  • Name: Lab4-0lhdfp.zip
  • Type: zip
  • Size: 13.87 KB

Category:

Description

5/5 - (1 vote)

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.