ee06_05sol

ee06_05sol - EE 3755 Homework 6 Due: TBA(After covering...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EE 3755 Homework 6 Due: TBA(After covering Note 3 and Note4) MIPS 2: You should know how to use xspim Use main at the beginning instead of __start and assume no delayed branch when you are using xspim. Estimated time to finish: Prob.1 : 5 hours. Prob.2 :1 hours. Prob.3: 1 hours. Total : 7 hours. When you submit the Hw., Please write down how much time did you spend for the problems. How to submit: Hard copy during the class and program on your account and name it( mips1.asm) for problem 1. Just hard copy for problem 2 and problem 3. Problem 1: (60 pts ) hard copy and leave your program on your account and name it mips1.asm . Write a MIPS program to show word statistics for a paragraph(textdata) Assume the longest word length is 25 output format: Occurrences of word of length x: 1 character word .= 1 2 character word .= 6. 3 . .. 25.character word. = 0 ############################################################# .data textdata: .asciiz In a distant galaxy eons before the creation of the mythical planet known as Earth, vast civilizations have evolved, and ruling the galaxy is an interstellar Empire created from the ruins of an Old Republic that held sway for generations\n Table: .space 100 #Hint) Words are separated by the space or spaces. # ASCII value for the space is 32(decimal) and ASCII value for the null(\n) # 0(this is for end of the sentence)....
View Full Document

Page1 / 8

ee06_05sol - EE 3755 Homework 6 Due: TBA(After covering...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online