2013 Computer Architecture Project MIPS Programming : Merge Sort ChangHyun Yun Room 236, Engineering Building.

Slides:



Advertisements
Similar presentations
Guide to Uploading Videos For staff needing to upload and save videos of students per Agency policy: AR7245b.
Advertisements

1 CS 446 – Tutorial 6 Frid. Nov. 6 th, 2009 Implementation Tutorial.
CPU Review and Programming Models CT101 – Computing Systems.
The 8051 Microcontroller and Embedded Systems
IT253: Computer Organization Lecture 6: Assembly Language and MIPS: Programming Tonga Institute of Higher Education.
1 COMS 361 Computer Organization Title: Instructions Date: 9/28/2004 Lecture Number: 10.
Managing a Club A club is trying to persuade more people to take part. Some features of the club are: Open to all ages Takes part in competitions and.
Lab #1 PCSpim SPIM is a software simulator that loads and executes assembly language programs for the MIPS RISC computers. Download and install PCSpim.
 The Dinky Database Dantai has received an unreasonable number of complaints about the speed of their Zip Code sorting procedure  DDD has hired you.
ONLINE DATA STORAGE & DOCUMENTS Lesson 3. Lesson 3 – Online documents In this lesson we will be covering:  Online documents  Compression and expansion.
MBAC 611.  We have been using MS Access to query and modify our databases.  MS Access provides a GUI (Graphical User Interface) that hides much of the.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
COMPSCI 101 S Principles of Programming Lecture 1 – Introduction.
IMC service provider bidding steps. Add your Username and Password as shown above.
PCSpim How to Program ?. Some Resource There are some useful online document! You can find the links on our TAs’ website. tw/~xdd/Arc06/
Computer Architecture B-tree construction & Traversal YongSoo Bae Room 236, Engineering Building [Project 1]
Introduction to CS-215 Computer Organization & Assembly Language: Module 0.
IT253: Computer Organization Lecture 4: Instruction Set Architecture Tonga Institute of Higher Education.
First Programming Assignment For MIPS R3000 Processor Department of Computer Science Southern Illinois University Edwardsville Fall, 2015 Dr. Hiroshi Fujinoki.
2011 Computer Architecture Project #1 MIPS Programming: Merge Sort Ki Sup Hong Room 236, Engineering Building.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Practice and Evaluation. Practice Develop a java class called: SumCalculator.java which computes a sum of all integer from 1 to 100 and displays the result.
PowerPoint Minimizer. Content 1.What is a PowerPoint Minimizer? 2.Why using a minimizer? 3.How to use it? 4.Tips on minimizing PowerPoint.
2014 AIA Jacksonville Design Awards (Test of Time Award) Instructions Slide Upon downloading file from your please save file as submittal number.ppt.
MIPS coding. slt, slti slt $t3, $t1, $t2 – set $t3 to be 1 if $t1 < $t2 ; else clear $t3 to be 0. – “Set Less Than.” slti $t3, $t1, 100 – set $t3 to be.
MIPS Project -- Simics Yang Diyi Outline Introduction to Simics Simics Installation – Linux – Windows Guide to Labs – General idea Score Policy.
Lecture # 1 SPIM & MIPS Programming. SPIM SPIM is a MIPS32 simulator that reads and executes assembly language program written for SPIM. Platform -Unix,
WHAT IS A COMPUTER? LESSON 1-1. OBJECTIVES The student will be able to: Explain and give examples of the concepts on computers and computing.
SOML Large Optics Daily Reporting Guide to using the new ETSEDMS server for Large Optics Daily Reporting.
Mail merge Sort records in field Select certain records Putting many on the same page Adding a comment – If … Then … Else.
Queue 09/10/081. Queue (Linear Queue) It is a linear data structure consisting of list of items. In queue, data elements are added at one end, called.
Santa’s s By Jack Carr. Sending an attachment to Santa Explain how you attached the . New message, insert, attachment Explain why you.
3/5/2009Computer systems1 Using Data flow Diagrams Computer System: 1. Input 2. Data Processing 3. Output.
What is this “thing”?  Basically it is a website where you would be able to collaborate with the group in a safe and private environment through a powerful.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
MIPS coding. slt, slti slt $t3, $t1, $t2 – set $t3 to be 1 if $t1 < $t2 ; else clear $t3 to be 0. – “Set Less Than.” slti $t3, $t1, 100 – set $t3 to be.
Matthew Glenn AP2 Techno for Tanzania This presentation will cover the different utilities on a computer.
Introduction To Greenfoot
Searching Topics Sequential Search Binary Search.
Open the index.html Open this PowerPoint from the S Drive IDT folder Chapman Images.ppt.
3-Apr-2006cse spim © 2006 DW Johnson and University of Washington1 SPIM simulator CSE 410, Spring 2006 Computer Systems
1 EKT 225 MICROCONTROLLER I CHAPTER ASSEMBLY LANGUAGE PROGRAMMING.
MIPS simulators There are 3 widely used MIPS simulators PC-SPIM, MARS, QTSPIM. PC-SPIM (the one we should use) the oldest one with poor graphics Very simple.
PROJECT Instructions Should be able to test on SITE systems Connection to the server via SSH POSTGRESQL version Must be done in groups If.
1 Journaling: Guide for Academic and Professional staff 2013.
MIPS simulators There are 3 widely used MIPS simulators PC-SPIM, MARS, QTSPIM. PC-SPIM (the one we should use) the oldest one with poor graphics Very simple.
Assembler, Compiler, MIPS simulator
Component 1.6.
eSchoolPLUS District Data Coordinator May Webex
CS 286 Computer Organization and Architecture
ACOE301: Computer Architecture II Labs
The 8051 Microcontroller and Embedded Systems
Click on the assignment you wish to complete
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
MIPS coding.
Figure 8.1 Architecture of a Simple Computer System.
ICS 143 Principles of Operating Systems
Click on the Create Student Account Link
MIPS coding.
Figure 8.1 Architecture of a Simple Computer System.
Computer Programming.
Turning in Assignments
Project 1 Guidelines.
The session website can be reached at wmo
Computational Urban Modelling and Simulation
CS 286 Computer Organization and Architecture
MIPS coding.
The session website can be reached at wmo
Learning Intention I will learn about the different types of programming errors.
CMPT 225 Lecture 10 – Merge Sort.
Presentation transcript:

2013 Computer Architecture Project MIPS Programming : Merge Sort ChangHyun Yun Room 236, Engineering Building

MIPS Programming : Merge Sort ▣ Main Purpose of this Project  Understand MIPS ISA and Recursive Function Algorithm  Develop a MIPS machine program  SPIM –A self-contained simulator that runs MIPS programs –Reads and executes assembly language programs –You can use PCSpim –Download an Installation file from the following website: –How to use PCSpim? Simple instructions on how to use PCSpim »Write your code in notepad »Save as assembly file (file extension:.s,.asm, etc) »Open your file in PCSpim, and execute

MIPS Programming : Merge Sort ▣ Grade Management Program  Implement grade management system  Each entry has student name field, student number field, and student grade field  Your program has to support following functions: –Insert : add a record –Delete : remove a record –Merge sort : sort records by any field(name, student number, and grade) The program should be able to sort in any field you want –Show : show current records –Exit : end of program

MIPS Programming : Merge Sort ▣ Before ▣ After (name field) ▣ After (number field) ▣ After (grade field) Name: ccc Number: Grade: 60 Name: ddd Number: Grade: 70 Name: aaa Number: Grade: 20 Name: eee Number: Grade: 90 Name: bbb Number: Grade: 45 Name: aaa Number: Grade: 20 Name: bbb Number: Grade: 45 Name: ccc Number: Grade: 60 Name: ddd Number: Grade: 70 Name: eee Number: Grade: 90 Name: ccc Number: Grade: 60 Name: eee Number: Grade: 90 Name: bbb Number: Grade: 45 Name: ddd Number: Grade: 70 Name: aaa Number: Grade: 20 Name: eee Number: Grade: 90 Name: ddd Number: Grade: 70 Name: ccc Number: Grade: 60 Name: bbb Number: Grade: 45 Name: aaa Number: Grade: 20

MIPS Programming : Merge Sort ▣ Merge Sort Algorithm  Divide and conquer algorithm  Average and worst case performance : Θ(nlogn)

MIPS Programming : Merge Sort ▣ What to submit?  A code file [student number.s] : 60% –Ex) s or asm –Must include detailed comments inside your code!  A Word/HWP document that describes your algorithm : 40% –File name is same as code file, ex) doc or hwp –You must explain your code and algorithm in detail! –Your document will be used to determine partial credit if the code fails to run  Compress your code and document into ZIP file –Submit your ZIP file( zip) through (

MIPS Programming : Merge Sort ▣ Caution  You can use only Merge Sort algorithm about sorting  You have to use recursive function –Do not use iteration method even if it can improve both speed and space requirements.  Do not copy the code of your friends!!! ▣ Due date : (sun) ▣ If you have any question about this project,  Please send me