Part 1.  Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?

Slides:



Advertisements
Similar presentations
Slide 4-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 4 Computer Organization.
Advertisements

Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.
Computer Architecture and Data Manipulation Chapter 3.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Computer Science: An Overview Tenth Edition by J. Glenn Brookshear Chapter.
1 Intro to CS: Part 2 Lecture 1 Ata Kaban School of Computer Science The University of Birmingham [adapted from B Bordbar and M Kwiatkowska]
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
RISC By Don Nichols. Contents Introduction History Problems with CISC RISC Philosophy Early RISC Modern RISC.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
5.2 Mathematical Power, Convenience, and Cost The set of operations represents a tradeoff among the cost of the hardware, the convenience for a programmer,
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee.
Computer Organization and Assembly language
Processor Organization and Architecture
COMPUTER ORGANIZATIONS CSNB123 May 2014Systems and Networking1.
RISC and CISC. Dec. 2008/Dec. and RISC versus CISC The world of microprocessors and CPUs can be divided into two parts:
Intro to Java The Java Virtual Machine. What is the JVM  a software emulation of a hypothetical computing machine that runs Java bytecodes (Java compiler.
Part 1.  Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Natawut NupairojAssembly Language1 Introduction to Assembly Programming.
Invitation to Computer Science 5th Edition
Instruction Set Architecture
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Implementation of a Stored Program Computer ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides2.ppt Modification date: Oct 16,
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
The Central Processing Unit (CPU) and the Machine Cycle.
The Microarchitecture Level
Ch. 2 Data Manipulation 4 The central processing unit. 4 The stored-program concept. 4 Program execution. 4 Other architectures. 4 Arithmetic/logic instructions.
Computer Architecture And Organization UNIT-II General System Architecture.
Module : Algorithmic state machines. Machine language Machine language is built up from discrete statements or instructions. On the processing architecture,
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Architecture 2 nd year (computer and Information Sc.)
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
MICROOCESSORS AND MICROCONTROLLER:
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Data Manipulation Brookshear, J.G. (2012) Computer Science: an Overview.
Adapted from Computer Organization and Design, Patterson & Hennessy, UCB ECE232: Hardware Organization and Design Part 5: MIPS Instructions I
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
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.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Organization and Architecture Lecture 1 : Introduction
Computer Architecture & Operations I
Computer Architecture & Operations I
Topics to be covered Instruction Execution Characteristics
Computer Organization
A Closer Look at Instruction Set Architectures
Overview Introduction General Register Organization Stack Organization
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
What is Computer Architecture?
Introduction to Microprocessor Programming
What is Computer Architecture?
What is Computer Architecture?
Computer Architecture
CPU Structure CPU must:
CSE378 Introduction to Machine Organization
Presentation transcript:

Part 1

 Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?  Binaries are not portable nor can they be secured  Complexity of C++

 Java  How?  Bytecode (for hypothetical machine)  Moved around the web  Interpreted by JVM (Java Virtual Machine)  32-bit w/ 226 instructions (some complex)  JIT compilation  SUN Pico Java II family of chips  No JVM  Optional cache and fp unit  Example is micro Java 701  Used by embedded systems

 CPU  Central Processing Unit  Bus  collection of (parallel) wires for transmitting address, data, and control signals  Instruction format  opcode[operand1,…]  Opcode = operation code (e.g., add)  Operand = (optional) data upon which opcode is performed (e.g., add 12,r0 – add 12 to register 0 – 12 and r0 are the operands)

Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The organization of a simple computer with one CPU and two I/O devices

 CU = control unit  Fetches instruction from main memory and determines their type  ALU = arithmetic logic unit  Performs operations such as add, subtract, or, etc.  Registers = small amount of high speed memory  Stores temp results and control info  Holds (only) one number  PC = program counter  Points to next instruction to be executed  PS = processor status (EFLAGS)

Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The data path of a typical Von Neumann machine.

1. Register-to-register 2. Register-to-memory (or mem-to-reg)

Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved Fetch next instruction from memory into instruction register. 2. Change program counter to point to next instruction. 3. Determine type of instruction just fetched. 4. If instructions uses word in memory, determine where, and fetch word into CPU register. 5. Execute the instruction. 6. Go to step 1 (to begin executing next instruction). Very similar to the JVM (see

 A program that fetches, examines, and executes the instructions of another program.

Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved An interpreter for a simple computer (written in Java)....

Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved An interpreter for a simple computer (written in Java).

1. Specify microinstructions 2. Specify machine language 3. Implement in software, hardware, or hybrid

 Late 50’s and on…  IBM (dominant company) defines a family or “architecture”  Top end machines ($$$) execute all instructions in hardware.  Bottom end machines ($) interpret many instructions (and therefore run slowly)

 Benefits 1. Bugs (in instructions) can later be fixed. 2. One may add new instructions. 3. Supports development, testing, and documentation.  Big trend in 70s and 80s was towards CISC (complex instruction set computer) with hundreds of instructions.  (Author’s view of DEC is not “complete.” DEC saw the advantages of RISC and introduced the DEC Alpha processor which was much faster and more powerful than Intel processors.)

 70s – CISC simplified compiler design by closing the gap between HLL and architecture.  RISC = reduced instruction set computer  1980 – Patterson et Berkeley - SPARC  No interpreter – just hardware  1981 – Hennessy – MIPS

 Initial emphasis on quick instruction execution  Issuing (starting the execution of) many instructions in parallel is the key to good performance.  Small number of instructions (~50) compared with for CISC.  4 or 5 RISC instruction = 1 CISC instructions  But RISC can be 10x faster!  Evolution of compiler technology made this possible.

 So why hasn’t RISC beat Intel (CISC)?  Market momentum  Economy of scale  486 had a RISC core (for frequently executed instructions) w/ other instructions interpreted