Suffolk County Community College Mathematics and Computer Science Ammerman Campus CST 121Spring 2013 Section 151CRN: 27701 Computer Organization And System.

Slides:



Advertisements
Similar presentations
Programming Concepts What we are going to learn in this subject? The basic concepts of writing computer programs commonly known as software.
Advertisements

Assembly Language for x86 Processors 6 th Edition Chapter 1: Introduction to ASM (c) Pearson Education, All rights reserved. You may modify and copy.
CSC 221 Computer Organization and Assembly Language Lecture 21: Conditional and Block Structures: Assembly Programs.
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify and.
Computers Organization & Assembly Language Chapter 1 THE 80x86 MICROPROCESSOR.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Assembly Language for Intel-Based Computers, 4th Edition
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
Assembly Language Basic Concepts IA-32 Processor Architecture.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
CMP 131 Introduction to Computer Programming Violetta Cavalli-Sforza Week 1, Lab.
Assembly: Some background Why assembly? It is used to write 1.device drivers 2.Embedded systems 3.Real-time systems 4.Whenever there are significant speed.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Chapter 1 Overview of Computers and Programming. Copyright ©2004 Pearson Addison-Wesley. All rights reserved.1-2 Figure 1.3 Components of a Computer.
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#1) By Dr. Syed Noman.
Assembly Language for Intel-Based Computers, 5th Edition
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
1 Chapter-01 Introduction to Computers and C++ Programming.
Computer Organization & Assembly Language
Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify and copy this slide show for your personal use, or for.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Some material taken from Assembly Language for x86 Processors by Kip Irvine © Pearson Education, 2010 Slides revised 2/2/2014 by Patrick Kelley.
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 2: IA-32 Processor Architecture (c) Pearson Education, All rights reserved. You.
CSU0014 Assembly Languages Homepage: Textbook: Kip R. Irvine, Assembly Language for Intel-Based Computers,
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
Assembly Language for x86 Processors 7th Edition
Levels of Architecture & Language CHAPTER 1 © copyright Bobby Hoggard / material may not be redistributed without permission.
Tranlators. Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers.
Chapter 1: Basic Concepts
Computer Architecture And Organization UNIT-II Multilevel View Point Of A Machine.
CS2422 Basic Concepts Department of Computer Science National Tsing Hua University.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Assembly Language for x86 Processors 7 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify and copy this.
Programming With C.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Overview 1.1 Computer Systems 1.2 Programming and Problem Solving.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 19 Number Systems. Irvine, Kip R. Assembly Language for Intel-Based Computers, Translating Languages English: Display the sum of A times.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
Introduction to Programming Instructor: Yong Tang Brookhaven National Laboratory Working on accelerator control (BNL Phone #)
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
Levels of Abstraction Computer Organization. Level of Abstraction u Provides users with concepts/tools to solve problem at that level u Implementation.
Assembly Language for Intel-Based Computers Chapter 7: Integer Arithmetic (c) Pearson Education, All rights reserved. You may modify and copy.
Assembly Language for x86 Processors 7th Edition Chapter 13: High-Level Language Interface (c) Pearson Education, All rights reserved. You may modify.
Princes Nora Bint Abdul Rahman University Dept. of Computer & Information Sciences CS 206D Computer Organization Course Introduction.
Assembly Language for Intel-Based Computers, 4 th Edition Unpacked and Packed Integers (c) Pearson Education, All rights reserved. You may modify.
Computer Organization and Assembly Languages 2007/11/10
Sahar Mosleh California State University San MarcosPage 1 Assembly language and Digital Circuit By Sahar Mosleh California State University San Marcos.
Basic Concepts Computer Organization & Assembly Language Programming Instructor: Maram Alsahafi [Some of the contents Adapted from slides Dr Adnan Gutub,
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 2: IA-32 Processor Architecture (c) Pearson Education, All rights reserved. You.
Representation of Data - Instructions Start of the lesson: Open this PowerPoint from the A451 page – Representation of Data/ Instructions How confident.
1 Chapter 1: Basic Concepts Assembly Language for Intel-Based Computers, 4th edition Kip R. Irvine 9/6/2003.
CSC235 Computer Organization & Assembly Language
Computer Organization
Assembly Language for x86 Processors 6th Edition
Assembly Language (CSW 353)
Microprocessor and Assembly Language
Java programming lecture one
Assembly Language for Intel-Based Computers, 5th Edition
Assembly Language for x86 Processors 6th Edition
Teaching Computing to GCSE
Teaching Computing to GCSE
Assembly Language for Intel-Based Computers
CMP 131 Introduction to Computer Programming
Computer Organization and Assembly Language
University of Gujrat Department of Computer Science
Assembly Language for Intel-Based Computers, 5th Edition
Computer Organization and Assembly Language
Presentation transcript:

Suffolk County Community College Mathematics and Computer Science Ammerman Campus CST 121Spring 2013 Section 151CRN: Computer Organization And System Programming Tue,Thur 6:00pm - 7:50pm, Room R-212 Welcome Aboard

Assembly Language for x86 Processors 6 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify and copy this slide show for your personal use, or for use in the classroom, as long as this copyright statement, the author's name, and the title are not changed. Slides prepared by the author Revision date: 2/15/2010 Kip Irvine

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language Virtual Machine Concept Data Representation Boolean Operations

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Welcome to Assembly Language Some Good Questions to Ask Assembly Language Applications

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Questions to Ask Why am I learning Assembly Language? What background should I have? What is an assembler? What hardware/software do I need? What types of programs will I create? What do I get with this book? What will I learn?

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Welcome to Assembly Language (cont) How does assembly language (AL) relate to machine language? How do C++ and Java relate to AL? Is AL portable? Why learn AL?

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Assembly Language Applications Some representative types of applications: Business application for single platform Hardware device driver Business application for multiple platforms Embedded systems & computer games (see next panel)

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Comparing ASM to High-Level Languages

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, What's Next Welcome to Assembly Language Virtual Machine Concept Data Representation Boolean Operations

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Virtual Machine Concept Virtual Machines Specific Machine Levels

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Virtual Machines Tanenbaum: Virtual machine concept Programming Language analogy: Each computer has a native machine language (language L0) that runs directly on its hardware A more human-friendly language is usually constructed above machine language, called Language L1 Programs written in L1 can run two different ways: Interpretation – L0 program interprets and executes L1 instructions one by one Translation – L1 program is completely translated into an L0 program, which then runs on the computer hardware

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Translating Languages English: Display the sum of A times B plus C. C++: cout << (A * B + C); Assembly Language: mov eax,A mul B add eax,C call WriteInt Intel Machine Language: A F E

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Specific Machine Levels (descriptions of individual levels follow... )

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, High-Level Language Level 4 Application-oriented languages C++, Java, Pascal, Visual Basic... Programs compile into assembly language (Level 4)

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Assembly Language Level 3 Instruction mnemonics that have a one-to- one correspondence to machine language Programs are translated into Instruction Set Architecture Level - machine language (Level 2)

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Instruction Set Architecture (ISA) Level 2 Also known as conventional machine language Executed by Level 1 (Digital Logic)

Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Digital Logic Level 1 CPU, constructed from digital logic gates System bus Memory Implemented using bipolar transistors next: Data Representation