Retro prof in the lab University of Washington Computer Science & Engineering
 CSE 378 Spring 2006
  CSE Home   About Us    Search    Contact Info 

 Home
Administrative
 Syllabus
 Office Hours
 Mailing List
 Wiki
Assignments
 Reading
 Homework
 Labs
 Exams
Resources
 Lecture Slides
 Handouts
 MIPS Resources
 AHDL Resources
Anonymous Feedback
 Feedback Form
    Homework #1 - Warmup
To be done individually. Due April 3rd

Download and install SPIM (a MIPS simulator). It is available here

Write two functions in MIPS assembly: strcpy and strchr. To find out the semantics of these functions, on any UNIX system, type "man strcpy" and "man strchr".

Try and follow standard MIPS calling conventions. However, as this is the first week and this assignment is due before we discuss calling conventions in detail, no points will be taken off for not following them.

You should hand in the strcpy.s and strchr.s assembly files given, with your code embedded in it.

Update:  Here are templates that test your implementations

 

 


CSE logo Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA  98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to Shen]