CS 286 Computer Organization and Architecture

Slides:



Advertisements
Similar presentations
Assembly Language.
Advertisements

Analysis of Algorithms CS 477/677
CECS 341 – Computer Design Primer.1(c) R. W. Allison.
D75P 34 – HNC Computer Architecture Week 4 Reading and writing to RAM. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where.
Fall 2001CS 4471 CS 447: Fall 2001 Chapter 1: Computer Abstraction and Technology (Introduction to the course)
Computer Organization Boolean Logic and the CPU i206 Fall 2010 John Chuang Some slides adapted from Marti Hearst, Brian Hayes, or Glenn Brookshear.
Low-Level Programming Languages
Microprogramming Andreas Klappenecker CPSC321 Computer Architecture.
Computer Organization and Architecture Tutorial 2 Kenneth Lee.
Table 1. Software Hierarchy Levels.. Essential Tools An assembler is a program that converts source-code programs into a machine language (object file).
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
Topic 1: Introduction to Computers and Programming
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
CPS120: Introduction to Computer Science
1 Intro to Computer Science I Chapter 1 Introduction to Computation Algorithms, Processors, and Programs.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Technology in Focus: Under the Hood
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
ECP2036 Microprocessor and Interfacing Registers Control & Status Registers Program Counter User-Visible Registers Instruction Register... General-Purpose.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE # 2 BY MUHAMMAD JAFER 1.
Data Basics. Binary Number System Numeration systems are methods of representing numbers. All current number systems are positional in nature. In
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2013.
Chapter 2 Data Manipulation Yonsei University 1 st Semester, 2015 Sanghyun Park.
Computer Operations A computer is a programmable electronic device that can store, retrieve, and process data Data and instructions to manipulate the data.
Copyright 2006 by Timothy J. McGuire, Ph.D. 1 MIPS Assembly Language CS 333 Sam Houston State University Dr. Tim McGuire.
ACOE2511 Assembly Language for the 80X86/Pentium Intel Microprocessors Lecturer: Dr. Konstantinos Tatas.
PIC – ch. 2c. 2.5 PIC Data formats Numbers can be – Hex – Binary – Decimal – ASCII formats.
Lecture 1: 8/27/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Internal Components of a Computer Week 2 The Bus Main Memory Processor.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2012.
Computer Architecture Lecture 24 Fasih ur Rehman.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
CMSC Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number.
Sahar Mosleh California State University San MarcosPage 1 Assembly language and Digital Circuit By Sahar Mosleh California State University San Marcos.
Copyright 2006 by Timothy J. McGuire, Ph.D. 1 MIPS Assembly Language CS 333 Sam Houston State University Dr. Tim McGuire.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
CBP 2002ITY 270 Computer Architecture1 Module Structure Whirlwind Review – Fetch-Execute Simulation Instruction Set Architectures RISC vs x86 How to build.
Translating Assembly Language to Machine Language.
Representation of Data Binary Representation of Instructions teachwithict.weebly.com.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
First Foray into Programming (the hard way). A reminder from last lesson: A machine code instruction has two parts:  Op-code  Operand An instruction.
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
CS501 Advanced Computer Architecture Lecture 29 Dr.Noor Muhammad Sheikh.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Computer Organization Exam Review CS345 David Monismith.
CHAPTER NINE.
Assembler, Compiler, MIPS simulator
Microprocessor and Microcontroller Fundamentals
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Figure 8.1 Architecture of a Simple Computer System.
Computer Programming Machine and Assembly.
CNET 315 Microprocessors & Assembly Language
Computer Architecture
ECEG-3202 Computer Architecture and Organization
Machine Architecture and Number Systems
Embedded System Development Lecture 13 4/11/2007
MARIE: An Introduction to a Simple Computer
Machine Architecture and Number Systems
Machine Architecture and Number Systems
How Computers Work Part 1 6 February 2008.
CS-401 Assembly Language Programming
Computers, Programs, and Programming Languages
William Stallings Computer Organization and Architecture 8 th Edition Chapter 11 Instruction Sets: Addressing Modes and Formats.
Computer Programming (CS101) Lecture-02
Computer Architecture and System Programming Laboratory
Introduction to Computer Science
Dr. Clincy Professor of CS
Presentation transcript:

CS 286 Computer Organization and Architecture Source codes in a high-level programming language A program source codes that make sense to human programmers (C++ source codes) “statement” Week_01/001

CS 286 Computer Organization and Architecture Assembly Instructions (Intel X86 assembly instructions) For human assembly programmers Memory address of each instruction Assembly instructions Week_01/002

CS 286 Computer Organization and Architecture Machine Codes Machine codes (in Hex-Decimal) (Machine codes for “WinVNC.exe”) Each Hex-Decimal # consists of 8 bits “4C” = “01001100” (= “76”) We can no longer understand what a processor will do Week_01/003

CS 286 Computer Organization and Architecture Machine codes (in binary expression) in memory Machine Codes (in binary format) Execute Processor Week_01/004

CS 286 Computer Organization and Architecture Example: Hexadecimal Number File System Analyzer Week_01/009

CS 286 Computer Organization and Architecture Memory Chip Memory Cell (= Capacitor) Memory Chip Memory Module Week_01/005

CS 286 Computer Organization and Architecture Row Wire (Control Wire) Column Wire (Data) On/OFF Switch Memory Cell (= Capacitor) Capacitor = Water Tank Capacitor Capacitor On/OFF Switch Capacitor holds electricity Week_01/006

CS 286 Computer Organization and Architecture Water Tank = Empty Bit = “0” There are only 2 different cases Water Tank = Full Bit = “1” Week_01/007

CS 286 Computer Organization and Architecture How does a memory module work? Week_01/008

CS 286 Computer Organization and Architecture Example: Binary Number Network administrators should be able to perform this Week_01/008

CS 286 Computer Organization and Architecture Week_01/008