Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

WILLING TO PAY $150 TO SOMEONE WHO CAN HELP ME WITH MY SPIM PROJECT.

assembly spim mips project

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 ArifBiyik

ArifBiyik

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 08 April 2016 - 08:08 PM

Project #2
 
Write a single program that does the following.  You would be well 
advised to complete each part before even attempting the next.
 
 
Part 1 (50 points)
 Write a program to accept a one-line string (maximum of
 100 characters) from the keyboard.  Then, edit (with
 code that you write) to remove all the white space,
 digits, punctuation, and other special characters,
 leaving only the letters.  Print out the resulting com-
 pressed string to the screen.
 
 for example, if the input string was
    If I've told you once, I've told you 1000 times!!
 then the output string would be
     IfIvetoldyouonceIvetoldyoutimes
 
Part 2 (50 points)
 Now, build a letter frequency table (you MUST use a 26
 entry WORD integer array) that counts how many times
 each letter is used in your compressed sentence for
 Part 1.  Count upper case letters as if they were lower
 case. 
 
          Print out the numbers in this table to the
 screen starting with the frequency of "a" and continu-
 ing to the frequency of "z". Format the table output
 to consist of two horizontal lines with 13 numbers in
 each line.  Separate the numbers on the line by a sin-
 gle space.
 
 The appropriate output here for the above input would
 be
 
   Letter Frequency Table
   0 0 1 2 4 1 0 0 4 0 0 2 1
   1 5 0 0 0 1 3 2 2 0 0 2 0
 
 Have the program handle multiple data sets and
 terminate execution when a null input string is
 entered.
 
 please name the source file
     project2.asm