CS-401 Computer Architecture & Assembly Language Programming

Slides:



Advertisements
Similar presentations
Chapter 12 Sorting and searching. This chapter discusses n Two fundamental list operations. u Sorting u Searching n Sorted lists. n Selection/bubble sort.
Advertisements

Instruction Sets: Characteristics and Functions Addressing Modes
Lecture 20: 11/12/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
COMP3221 lec23-decode.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 23: Instruction Representation; Assembly and Decoding.
School of Engineering & Technology Computer Architecture Pipeline.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /15/2013 Lecture 11: MIPS-Conditional Instructions Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 4 Assembly Language Programming 2.
CS 300 – Lecture 10 Intro to Computer Architecture / Assembly Language Strings and Characters and More.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Sequential Circuits.
1 CS1001 Lecture Overview Java Programming Java Programming Midterm Review Midterm Review.
Interrupts Chapter 6. Interrupts 68HC12 Interrupts 68HC11 Interrupts Interrupt Vector Jump Tables Writing WHYP Interrupt Service Routines Real-Time Interrupts.
Insertion Sorting Lecture 21. Insertion Sort Start from element 2 of list location 1 –In first iteration: Compare element 1 with all of its elements to.
CS 104 Introduction to Computer Science and Graphics Problems Data Structure & Algorithms (3) Recurrence Relation 11/11 ~ 11/14/2008 Yang Song.
General Computer Science for Engineers CISC 106 Lecture 07 James Atlas Computer and Information Sciences 9/18/2009.
Selection Sort
CS 300 – Lecture 6 Intro to Computer Architecture / Assembly Language Instructions.
Lecture 5 Sorting. Overview Mathematical Definition.
computer
 DEFINE COMPUTER ? EXPLAIN CLASSIFICATION OF COMPUTER.  WHAT ARE INPUT AND OUTPUT DEVICES OF COMPUTER ? EXPALIN OUTPUT DEVICES.  WHAT ARE MEMORY AND.
ECE Lecture 1 1 L8:Flowcharting a program Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
Selection Sort
Computer Architecture CSE 3322 Lecture 3 Assignment: 2.4.1, 2.4.4, 2.6.1, , Due 2/3/09 Read 2.8.
Chapter 5 Algorithms (1) Introduction to CS 1 st Semester, 2012 Sanghyun Park.
Branch Addressing op rs rt address address beq $s1, $s2, Label if ($s1 = =$s2) go to Label 6 bits 5 bits 5 bits 16 bits effective 32 bit address.
Recursion Chapter 16 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer, 2005.
1 CSE1301 Computer Programming: Where are we now in the CSE1301 syllabus?
Sorting  Selection Sort  Bubble Sort  Insertion Sort  Merge Sort (chap. 14)  Quick Sort (chap. 14)  Heap Sort (chap. 9)
1.5.3 Walkthrough #4 bouncing_ball.py wrapping_ball.py
Lecture 17: 10/31/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
CS501 Advanced Computer Architecture Lecture 29 Dr.Noor Muhammad Sheikh.
CS-401 Computer Architecture & Assembly Language Programming Lecture-16 Display Memory.
The History of ARM and Microcontrollers Chapter 1
CS Fall 2012, Lab 02 Haohan Zhu.
Problem Identification
Computer Architecture & Operations I
CS-401 Compute Architecture & Assembly Language Programming
CS-401 Computer Architecture Assembly Language Programming
CS-401 Assembly Language Programming
Welcome to CS140 Assembly Language and Computer Organization
CS-401 Computer Architecture & Assembly Language Programming
Figure 8.1 Architecture of a Simple Computer System.
Review for Test1.
Animation of Bubble Sort
Computer Architecture
CS-401 Computer Architecture & Assembly Language Programming
Ambily Krishnan PGT CS KV, Thrissur
University of Gujrat Department of Computer Science
Computer Architecture and Assembly Language CS 233 Lecture 1
University of Gujrat Department of Computer Science
CS 140 Lecture Notes: Introduction
CS-401 Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
Computer Architecture and Assembly Language CS 233 Lecture 1
CS 286 Computer Organization and Architecture
CS-401 Computer Architecture & Assembly Language Programming
Structured Programming
CS148 Introduction to Programming II
CS 140 Lecture Notes: Introduction
Selection Sort Fonte: Fondamenti di Informatica - A.Accattatis Selection Sort Fonte:
CS-401 Computer Architecture and Assembly Language Programming
Computer Architecture and Assembly Language CS 233 Lecture 1
LANGUAGE EDUCATION.
Introduction to OpenGL
CS148 Introduction to Programming II
CS-401 Computer Architecture & Assembly Language Programming
RANDOM NUMBERS SET # 1:
Computer Graphics, KKU. Lecture 11
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
Presentation transcript:

CS-401 Computer Architecture & Assembly Language Programming Lecture-9 Branching

In the Last Lecture We discussed - Conditional jumps - Compare itself

Compare

Bubble Sort Iteration 1: 60 55 45 58

Bubble Sort Iteration 1: 55 60 45 58

Bubble Sort Iteration 1: 55 45 60 58

Bubble Sort Iteration 1: 55 45 58 60

Bubble Sort Iteration 2: 55 45 58 60

Bubble Sort Iteration 2: 45 55 58 60

Bubble Sort Iteration 2: 45 55 58 60

Bubble Sort Iteration 2: 45 55 58 60

Bubble Sort Iteration 3: 45 55 58 60

Bubble Sort Iteration 3: 45 55 58 60

Bubble Sort Iteration 3: 45 55 58 60

Bubble Sort Iteration 3: 45 55 58 60