CS64 Computer Organization

Size: px
Start display at page:

Download "CS64 Computer Organization"

Transcription

1 CS64 Computer Organization Lecture 1 Prof. Heather Zheng (1) Your computer never complains about the # of languages you use.. 1

2 (2) The same program runs on almost all the computers? 2

3 How Computer Operates Levels of Representa5on temp = v[k];! v[k] = v[k+1];! v[k+1] = temp;! High Level Language Program (e.g., C)! Compiler! Assembly Language Program (e.g.,mips)! Assembler! Machine Language Program (MIPS)! lw lw sw sw $t0, 0($2) $t1, 4($2) $t1, 0($2) $t0, 4($2) ! Machine Interpretation! Hardware Architecture Description (Logic, Logisim, etc.)! Architecture Implementation! Logic Circuit Description (Logisim, etc.)! 3

4 Levels of Representa5on High Level Language Program (e.g., C)! Compiler! Assembly Language Program (e.g.,mips)! Assembler! Machine Language Program (MIPS)! Machine Interpretation! Hardware Architecture Description (Logic, Logisim, etc.)! Architecture Implementation! Logic Circuit Description (Logisim, etc.)! temp = v[k];! v[k] = v[k+1];! v[k+1] = temp;! lw $t0, 0($2) lw $t1, 4($2) sw $t1, 0($2) sw $t0, 4($2) ! Abstrac5ons Software! Hardware! Application (ex: browser)! Compiler! Assembler! Operating! System! (Mac OSX)! Processor! Memory! I/O system! Datapath & Control! Digital Design! Circuit Design! transistors! Instruction Set! Architecture (ISA)! * Coordina5on across many levels (layers) of abstrac0on * ISA can free hardware/so9ware from each other 4

5 Levels of Representa5on High Level Language Program (e.g., C)! Compiler! Assembly Language Program (e.g.,mips)! Assembler! Machine Language Program (MIPS)! Machine Interpretation! Hardware Architecture Description (Logic, Logisim, etc.)! temp = v[k];! v[k] = v[k+1];! v[k+1] = temp;! lw $t0, 0($2) lw $t1, 4($2) sw $t1, 0($2) sw $t0, 4($2) ! Assembly programming Architecture Implementation! Logic Circuit Description (Logisim, etc.)! Digital logic design Linking SoAware & Hardware software Assembly programming Digital logic design hardware 5

6 WHY DO I CARE? From a Programmer s Perspec5ve Most people learn to program in a high level language (e.g. Java, C++, etc.) Abstracts hardware to reduce programming complexity Difficult or impossible to do some programming tasks efficiently Lower- level languages needed for low- level programming Lower- level means more control and flexibility Improve Your SoIware s Efficiency and Speed 6

7 From a Hardware Designer s Perspec5ve Understand the interac5on between hardware and soaware Build a proper goal of hardware design Improve Your Hardware s Performance Avoid Unnecessary Complexity à Reduce Cost Lecture Schedule 7

8 General Class Info When, where and who Lecture: TTh 11-12:15pm, SH 1430 Discussion (required): Friday, 12-12:50 (SH1609), 1-1:50 (LSB 1101) Website: hpp:// Professor: Heather Zheng, TA: Gang Wang Wendy Chun Office Hours: Prof. Zheng: TBD (HFH 1121) TA: TBD General Class Info (2) Prerequisites Engineering 3 or CS 5AA- ZZ or 16; and, Mathema5cs 3C Not open if you have received credit for ECE 15B or 15 Textbooks R - - Charles H. Roth, Jr. and Larry Kinney, Fundamentals of Logic Design, 6th Edi5on B - - Robert L. Brijon: MIPS Assembly Language Programming Class handouts 8

9 Grading Policy Grading Homework : 20% Lab : 25% Quiz: 10% (5-7) Randomly scheduled throughout the quarter Simple ques5ons, no ajendance = 0 Midterm: 20% Final: 25% Academic conduct Verbal discussion of homework assignments is fine No sharing of wrijen assignments or lab assignments Chea5ng will not be tolerated! And will be treated seriously and punished harshly Homework and Lab Homework 3-5 total No late HW submissions accepted Labs 3-4 Use PCSPIM to do assembly programming Mul5- level logic design Sugges5on: start early One- 5me 2- day extension coupon 9

10 Discussion group Google Group (CS64S11) as the discussion forum / mailing list hjp://groups.google.com/group/cs64s11 I will mass add everyone using your umail account Before April 1, gangw@cs.ucsb.edu With your name and preferred account so that we will add you to the group History and Basic Concepts INTRODUCTION TO COMPUTER SYSTEMS 10

11 History of Computer Abacus C B.C. Transistors IBM PC Apple II

12 Moore s Law 2X transistors/chip per years The Rate of Technology Advance 2X every 2.0 years in memory size; every 1.5 years in processor speed; every 1.0 year in disk capacity; Moore s Law enables processor 2X transistors/chip per 1.5 years 12

13 COMPUTER BASICS 5 components of any Computer Computer! Processor!! Control! ( brain )! Datapath! ( brawn )! Memory!!! (where! programs,! data! live when! running)! Devices! Input! Output! Hello World! Keyboard, Mouse! Disk (where! programs,! data! live when! not running)! Display, Printer! 13

14 Opening up a computer box Can you find the 5 classic components? I/O Mouse, Keyboard, Monitor, Printer.. Memory ROM, RAM, DRAM, Cache Hard disk, FLASH Processor- Motherboard CPU Basic job of a CPU: execute lots of instruc5ons. HOW DO WE COMMAND A CPU? 14

15 Instruc5ons Language of the Machine Arithme5c such as add and subtract Logic instruc5ons such as and, or, and not Data instruc5ons such as move, load, and store Control flow instruc5ons such as goto, if... goto, More restricted - Different CPUs implement different sets of instruc5ons. The set of instruc5ons a par5cular CPU implements is an Instruc5on Set Architecture (ISA). Examples: Intel 80x86 (Pen5um 4), IBM/Motorola PowerPC (Macintosh), MIPS ( Nintendo, Silicon Graphics, Sony), Intel IA64,... Instruc5on Set Architectures(1/2) Describes the aspects of a computer architecture visible to a programmer The na5ve datatypes, instruc5ons, registers, addressing modes, memory architecture, interrupt and excep5on handling, and external I/O (if any). ISA is dis5nguished from the microarchitecture, which is the set of processor design techniques used to implement the instruc5on set. Computers with different microarchitecture can share a common instruc5on set. For example, the Intel Pen5um and the AMD Athlon implement nearly iden5cal versions of the x86 instruc5on set, but have radically different internal design 15

16 Instruc5on Set Architectures(2/2) Early trend was to add more instruc5ons to new CPUs to do elaborate opera5ons VAX architecture had an instruc5on to mul5ply polynomials! Complex Instruc5on Set Compu5ng (CISC) RISC philosophy (Cocke IBM, Pajerson, Hennessy, 1980s) Reduced Instruc5on Set Compu5ng (RISC) Keep the instruc5on set small and simple, makes it easier to build fast hardware. Let soaware do complicated opera5ons by composing simpler ones. Simpler is Faster! MIPS Architecture MIPS semiconductor company that built one of the first commercial RISC architectures Nintendo 64, playsta5on, PL2, PSP, HP printers, Cisco routers, use MIPS processors. Why MIPS instead of Intel 80x86? MIPS is simple, elegant. Don t want to get bogged down in grijy details. MIPS widely used in embedded apps, x86 lijle used in embedded, and more embedded computers than PCs By the late 1990s it was es5mated that one in three RISC chips produced were MIPS- based designs. 16

17 MIPS Programming and Emula5on MIPS assembly language = MIPS instruc5ons A freely available "MIPS R2000/R3000 Simulator" called SPIM UNIX or GNU/Linux; Mac OS X; MS Windows 95, 98, NT, 2000, XP; and DOS) Good for learning MIPS assembly language programming and the general concepts of RISC- assembly language programming Informa5on PLEASE READ! hjp:// We will be using PCSPIM to do projects 17

18 TODO: Tutorial on PCSPIM Read hjp:// Especially hjp:// Highly recommended tutorial videos h5p://users.ece.gatech.edu/~sudha/2030/temp/ spim/spim- tutorial.html Install and Get to know PCSPIM PCSPIM 18

Instructors: Randy H. Katz David A. PaHerson hhp://inst.eecs.berkeley.edu/~cs61c/fa10. Fall Lecture #1. Agenda

Instructors: Randy H. Katz David A. PaHerson hhp://inst.eecs.berkeley.edu/~cs61c/fa10. Fall Lecture #1. Agenda CS 61C: Great Ideas in Computer Architecture (Machine Structures) Instructors: Randy H. Katz David A. PaHerson hhp://inst.eecs.berkeley.edu/~cs61c/fa10 1 Agenda Great Ideas in Computer Architecture Administrivia

More information

Agenda. Old School CS61c. Agenda. New School CS61c 8/26/10. CS 61C: Great Ideas in Computer Architecture (Machine Structures)

Agenda. Old School CS61c. Agenda. New School CS61c 8/26/10. CS 61C: Great Ideas in Computer Architecture (Machine Structures) Agenda CS 61C: Great Ideas in Computer Architecture (Machine Structures) Instructors: Randy H. Katz David A. PaHerson hhp://inst.eecs.berkeley.edu/~cs61c/fa10 1 Great Ideas in Computer Architecture Administrivia

More information

CS61C Machine Structures. Lecture 1 Introduction. 8/27/2006 John Wawrzynek (Warzneck)

CS61C Machine Structures. Lecture 1 Introduction. 8/27/2006 John Wawrzynek (Warzneck) CS61C Machine Structures Lecture 1 Introduction 8/27/2006 John Wawrzynek (Warzneck) (http://www.cs.berkeley.edu/~johnw/) http://www-inst.eecs.berkeley.edu/~cs61c/ CS 61C L01 Introduction (1) What are Machine

More information

ECE 15B COMPUTER ORGANIZATION

ECE 15B COMPUTER ORGANIZATION ECE 15B COMPUTER ORGANIZATION What are Computing Systems? CMOS Camera (courtesy of Samsung Electronics Co., Ltd) Lecture 1 Introduction Dr. Rahul Singh UCLA Gonda Robotic Surgery Center da Vinci surgical

More information

CS61C Machine Structures. Lecture 8 - Introduction to the MIPS Processor and Assembly Language. 9/14/2007 John Wawrzynek

CS61C Machine Structures. Lecture 8 - Introduction to the MIPS Processor and Assembly Language. 9/14/2007 John Wawrzynek CS61C Machine Structures Lecture 8 - Introduction to the MIPS Processor and Assembly Language 9/14/2007 John Wawrzynek (www.cs.berkeley.edu/~johnw) www-inst.eecs.berkeley.edu/~cs61c/ CS 61C L08 C Introduction

More information

EECE 321: Computer Organization

EECE 321: Computer Organization EECE 321: Computer Organization Mohammad M. Mansour Dept. of Electrical and Compute Engineering American University of Beirut Lecture 1: Introduction Administrative Instructor Dr. Mohammad M. Mansour,

More information

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro Instructors: Vladimir Stojanovic & Nicholas Weaver http://inst.eecs.berkeley.edu/~cs61c/sp16 1 Machine Interpretation

More information

ELEC 5200/6200. Computer Architecture & Design. Victor P. Nelson Broun 326

ELEC 5200/6200. Computer Architecture & Design. Victor P. Nelson Broun 326 ELEC 5200/6200 Computer Architecture & Design Victor P. Nelson Broun 326 nelsovp@auburn.edu The Concept of a Computer Application software Systems software User Hardware Operating system compiler assembler

More information

Intro to Math 230 Assembly Language Programming. Lecture # 01 01/15/08

Intro to Math 230 Assembly Language Programming. Lecture # 01 01/15/08 Intro to Math 230 Assembly Language Programming Lecture # 01 01/15/08 Lecture Overview Course Overview Short history of industry trends and motivation for course need Lab: command line environment review

More information

CS61C Machine Structures. Lecture 1 Introduction. 8/25/2003 Brian Harvey. John Wawrzynek (Warznek) www-inst.eecs.berkeley.

CS61C Machine Structures. Lecture 1 Introduction. 8/25/2003 Brian Harvey. John Wawrzynek (Warznek) www-inst.eecs.berkeley. CS61C Machine Structures Lecture 1 Introduction 8/25/2003 Brian Harvey (www.cs.berkeley.edu/~bh) John Wawrzynek (Warznek) (www.cs.berkeley.edu/~johnw) www-inst.eecs.berkeley.edu/~cs61c/ CS 61C L01 Introduction

More information

Handouts. (CSC-3501) Lecture 1 (15 Jan 2008) Seung-Jong Park (Jay) Class information. Schedule (check online frequently)

Handouts. (CSC-3501) Lecture 1 (15 Jan 2008) Seung-Jong Park (Jay) Class information. Schedule (check online frequently) Computer Architecture (CSC-3501) Lecture 1 (15 Jan 2008) Seung-Jong Park (Jay) http://www.csc.lsu.edu/~sjpark 1 Handouts Class information http://www.csc.lsu.edu/~sjpark/cs3501/overview.html Schedule (check

More information

CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from. CS61C - Machine Structures Dave Patterson Fall 2000

CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from. CS61C - Machine Structures Dave Patterson Fall 2000 CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from CS61C - Machine Structures Dave Patterson Fall 2000 CS 430 Intro.1 WJ Taffe, Fall 2002 Overview Intro to Machine Structures Organization

More information

I ve been getting this a lot lately So, what are you teaching this term? Computer Organization. Do you mean, like keeping your computer in place?

I ve been getting this a lot lately So, what are you teaching this term? Computer Organization. Do you mean, like keeping your computer in place? I ve been getting this a lot lately So, what are you teaching this term? Computer Organization. Do you mean, like keeping your computer in place? here s the monitor, here goes the CPU, Do you need a class

More information

ECE232: Hardware Organization and Design

ECE232: Hardware Organization and Design ECE232: Hardware Organization and Design Lecture 4: MIPS Instructions Adapted from Computer Organization and Design, Patterson & Hennessy, UCB From Last Time Two values enter from the left (A and B) Need

More information

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro 1 Levels of Representation/Interpretation Machine Interpretation High Level Language Program (e.g., C) Compiler Assembly

More information

14:332:331. Lecture 1

14:332:331. Lecture 1 14:332:331 Computer Architecture and Assembly Language Fall 2003 Lecture 1 [Adapted from Dave Patterson s UCB CS152 slides and Mary Jane Irwin s PSU CSE331 slides] 331 W01.1 Course Administration Instructor:

More information

ECE232: Hardware Organization and Design

ECE232: Hardware Organization and Design ECE232: Hardware Organization and Design Lecture 2: Hardware/Software Interface Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Overview Basic computer components How does a microprocessor

More information

CSE : Introduction to Computer Architecture

CSE : Introduction to Computer Architecture Computer Architecture 9/21/2005 CSE 675.02: Introduction to Computer Architecture Instructor: Roger Crawfis (based on slides from Gojko Babic A modern meaning of the term computer architecture covers three

More information

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 1: Introduction

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 1: Introduction ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 1: Introduction Ujjwal Guin, Assistant Professor Department of Electrical and Computer Engineering Auburn University, Auburn, AL 36849

More information

CS 61C: Great Ideas in Computer Architecture Introduction to Assembly Language and RISC-V Instruction Set Architecture

CS 61C: Great Ideas in Computer Architecture Introduction to Assembly Language and RISC-V Instruction Set Architecture CS 61C: Great Ideas in Computer Architecture Introduction to Assembly Language and RISC-V Instruction Set Architecture Instructors: Krste Asanović & Randy H. Katz http://inst.eecs.berkeley.edu/~cs61c 9/7/17

More information

ECE 154A. Architecture. Dmitri Strukov

ECE 154A. Architecture. Dmitri Strukov ECE 154A Introduction to Computer Architecture Dmitri Strukov Lecture 1 Outline Admin What this class is about? Prerequisites ii Simple computer Performance Historical trends Economics 2 Admin Office Hours:

More information

מבנה מחשבים Amar Lior Based on lectures notes from Arie Schlesinger

מבנה מחשבים Amar Lior Based on lectures notes from Arie Schlesinger מבנה מחשבים 2006 Amar Lior Based on lectures notes from Arie Schlesinger (aries@cs.columbia.edu) Adapted from Computer Organization&Design, H/S interface, Patterson Hennessy@UCB,1999 1 Administration Course

More information

Computer Architecture. Fall Dongkun Shin, SKKU

Computer Architecture. Fall Dongkun Shin, SKKU Computer Architecture Fall 2018 1 Syllabus Instructors: Dongkun Shin Office : Room 85470 E-mail : dongkun@skku.edu Office Hours: Wed. 15:00-17:30 or by appointment Lecture notes nyx.skku.ac.kr Courses

More information

ECE 15B Computer Organization Spring 2011

ECE 15B Computer Organization Spring 2011 ECE 15B Computer Organization Spring 2011 Dmitri Strukov Lecture 1: Introduction Partially adapted from Computer Organization and Design, 4 th edition, Patterson and Hennessy, and classes taught by Patterson

More information

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading 178 322 Computer Architecture Lecturer: Watis Leelapatra Office: 4301D Email: watis@kku.ac.th Course Webpage: http://gear.kku.ac.th/~watis/courses/178322/178322.html Computer Architecture Grading Midterm

More information

CPE300: Digital System Architecture and Design. Fall 2011 MW 17:30-18:45 CBC C316

CPE300: Digital System Architecture and Design. Fall 2011 MW 17:30-18:45 CBC C316 CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 2 Outline Intro to Computer Systems and Architecture Need for this class Course objectives Views of the general purpose

More information

Computer Architecture

Computer Architecture 188 322 Computer Architecture Lecturer: Watis Leelapatra Office: 4301D Email: watis@kku.ac.th Course Webpage http://gear.kku.ac.th/~watis/courses/188322/188322.html 188 322 Computer Architecture Grading

More information

W1005 Intro to CS and Programming in MATLAB. Brief History of Compu?ng. Fall 2014 Instructor: Ilia Vovsha. hip://www.cs.columbia.

W1005 Intro to CS and Programming in MATLAB. Brief History of Compu?ng. Fall 2014 Instructor: Ilia Vovsha. hip://www.cs.columbia. W1005 Intro to CS and Programming in MATLAB Brief History of Compu?ng Fall 2014 Instructor: Ilia Vovsha hip://www.cs.columbia.edu/~vovsha/w1005 Computer Philosophy Computer is a (electronic digital) device

More information

CSE 141 Computer Architecture Spring Lecture 3 Instruction Set Architecute. Course Schedule. Announcements

CSE 141 Computer Architecture Spring Lecture 3 Instruction Set Architecute. Course Schedule. Announcements CSE141: Introduction to Computer Architecture CSE 141 Computer Architecture Spring 2005 Lecture 3 Instruction Set Architecute Pramod V. Argade April 4, 2005 Instructor: TAs: Pramod V. Argade (p2argade@cs.ucsd.edu)

More information

CS 3410 Computer System Organization and Programming

CS 3410 Computer System Organization and Programming CS 3410 Computer System Organization and Programming K. Walsh kwalsh@cs TAs: Deniz Altinbuken Hussam Abu-Libdeh Consultants: Adam Sorrin Arseney Romanenko If you want to make an apple pie from scratch,

More information

CS 3410 Computer System Organization and Programming

CS 3410 Computer System Organization and Programming CS 3410 Computer System Organization and Programming K. Walsh kwalsh@cs TAs: Deniz Altinbuken Hussam Abu-Libdeh Consultants: Adam Sorrin Arseney Romanenko If you want to make an apple pie from scratch,

More information

levels (layers) of abstraction I stand on the shoulders of giants Lecture #1 Introduction Are Computers Smart? Where does CS61C fit in?

levels (layers) of abstraction I stand on the shoulders of giants Lecture #1 Introduction Are Computers Smart? Where does CS61C fit in? CS61C L01 Introduction (1) inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 Introduction 2006-08-28 There are two handouts today at the front and middle of the room! I stand on the shoulders

More information

Erik Jonsson School of Engineering and Computer Science THE UNIVERSITY OF TEXAS AT DALLAS HISTORY OF EE 2310

Erik Jonsson School of Engineering and Computer Science THE UNIVERSITY OF TEXAS AT DALLAS HISTORY OF EE 2310 HISTORY OF EE 2310 Initially planned by Prof. David Harper as a counterpart to courses on computer organization and design at Berkeley and Stanford D. Patterson (Berkeley) and J. Hennessy (Stanford) are

More information

CSE Introduction to Computer Architecture

CSE Introduction to Computer Architecture -- Introduction to Computer Architecture What is Computer Architecture? (am I in the right class?) Hardware Designer thinks about circuits, components, timing, functionality, ease of debugging Computer

More information

Computer Architecture. Introduction. Lynn Choi Korea University

Computer Architecture. Introduction. Lynn Choi Korea University Computer Architecture Introduction Lynn Choi Korea University Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: 3290-3249, 공학관 411, lchoi@korea.ac.kr, TA: 윤창현 / 신동욱, 3290-3896,

More information

CPS104 Computer Organization Lecture 1

CPS104 Computer Organization Lecture 1 CPS104 Computer Organization Lecture 1 Robert Wagner Slides available on: http://www.cs.duke.edu/~raw/cps104/lectures 1 CPS104: Computer Organization Instructor: Robert Wagner Office: LSRC D336, 660-6536

More information

CS 61C: Great Ideas in Computer Architecture Introduction to Assembly Language and MIPS Instruction Set Architecture

CS 61C: Great Ideas in Computer Architecture Introduction to Assembly Language and MIPS Instruction Set Architecture CS 61C: Great Ideas in Computer Architecture Introduction to Assembly Language and MIPS Instruction Set Architecture Instructors: Bernhard Boser & Randy H. Katz http://inst.eecs.berkeley.edu/~cs61c/fa16

More information

Computer Systems & Architecture

Computer Systems & Architecture Computer Systems & Architecture Ian Batten Dr Iain Styles I.G.Batten@bham.ac.uk I.B.Styles@cs.bham.ac.uk Timetable Lectures 9.00am 10.00am Tuesday Chem Law LT1 Eng 124 2.00pm 3.00pm Friday Chem Muirhead

More information

CS61C : Machine Structures

CS61C : Machine Structures inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #5 Memory Management; Intro MIPS 2007-7-2 Scott Beamer, Instructor iphone Draws Crowds www.sfgate.com CS61C L5 Memory Management; Intro

More information

EEC170 Computer Architecture. Lecture 1: Introduction to Computer Architecture

EEC170 Computer Architecture. Lecture 1: Introduction to Computer Architecture EEC170 Computer Architecture Lecture 1: Introduction to Computer Architecture Soheil Ghiasi Electrical and Computer Engineering University of California, Davis Fall 2005 What is a Computer? It has memory

More information

CPS104 Computer Organization Lecture 1. CPS104: Computer Organization. Meat of the Course. Robert Wagner

CPS104 Computer Organization Lecture 1. CPS104: Computer Organization. Meat of the Course. Robert Wagner CPS104 Computer Organization Lecture 1 Robert Wagner Slides available on: http://www.cs.duke.edu/~raw/cps104/lectures 1 CPS104: Computer Organization Instructor: Robert Wagner Office: LSRC D336, 660-6536

More information

Instructors. ECE 152 Introduction to Computer Architecture. Undergrad Teaching Assistants. Course Website. Textbook.

Instructors. ECE 152 Introduction to Computer Architecture. Undergrad Teaching Assistants. Course Website. Textbook. Instructors ECE 152 Introduction to Computer Architecture Intro and Overview Copyright 2005 Daniel J. Sorin Duke University Slides are derived from work by Amir Roth (Penn) and Alvy Lebeck (Duke) Spring

More information

Are Computers Smart? To a programmer: Lecture #1 Introduction & Numbers Andy Carle. Are Computers Smart? What are Machine Structures?

Are Computers Smart? To a programmer: Lecture #1 Introduction & Numbers Andy Carle. Are Computers Smart? What are Machine Structures? CS 61C L01 Introduction + Numbers (1) insteecsberkeleyedu/~cs61c CS61C : Machine Structures Lecture #1 Introduction & Numbers 2006-06-26 Are Computers Smart? To a programmer: Very complex operations/functions:

More information

CSSE232 Computer Architecture. Introduc5on

CSSE232 Computer Architecture. Introduc5on CSSE232 Computer Architecture Introduc5on Reading Be:er for you if done before class For today: Ch 1 (esp 1.1-3, 10) App. C Sec5ons 2.4, 3.1-2 Outline Introduc5ons Class details Syllabus, website, schedule

More information

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng IT 252 Computer Organization and Architecture Introduction Chia-Chi Teng What is computer architecture about? Computer architecture is the study of building computer systems. IT 252 is roughly split into

More information

CS61C : Machine Structures

CS61C : Machine Structures inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 Introduction 2007-01-17 There are two handouts today at the front and middle of the room! CS61C L01 Introduction (1) Lecturer SOE Dan

More information

Computer Architecture

Computer Architecture Computer Architecture Mehran Rezaei m.rezaei@eng.ui.ac.ir Welcome Office Hours: TBA Office: Eng-Building, Last Floor, Room 344 Tel: 0313 793 4533 Course Web Site: eng.ui.ac.ir/~m.rezaei/architecture/index.html

More information

EC 413 Computer Organization

EC 413 Computer Organization EC 413 Computer Organization Review I Prof. Michel A. Kinsy Computing: The Art of Abstraction Application Algorithm Programming Language Operating System/Virtual Machine Instruction Set Architecture (ISA)

More information

EE108B Lecture 2 MIPS Assembly Language I. Christos Kozyrakis Stanford University

EE108B Lecture 2 MIPS Assembly Language I. Christos Kozyrakis Stanford University EE108B Lecture 2 MIPS Assembly Language I Christos Kozyrakis Stanford University http://eeclass.stanford.edu/ee108b 1 Announcements EE undergrads: EE108A and CS106B Everybody else: E40 and CS106B (or equivalent)

More information

ECE 250 / CPS 250 Computer Architecture. Introduction

ECE 250 / CPS 250 Computer Architecture. Introduction ECE 250 / CPS 250 Computer Architecture Introduction Benjamin Lee Slides based on those from Andrew Hilton (Duke), Alvy Lebeck (Duke) Benjamin Lee (Duke), and Amir Roth (Penn) Instructor and Graduate TAs

More information

Computer Architecture

Computer Architecture Informatics 3 Computer Architecture Dr. Vijay Nagarajan Institute for Computing Systems Architecture, School of Informatics University of Edinburgh (thanks to Prof. Nigel Topham) General Information Instructor

More information

URL: Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture

URL:   Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture 01 1 EE 4720 Computer Architecture 01 1 URL: https://www.ece.lsu.edu/ee4720/ RSS: https://www.ece.lsu.edu/ee4720/rss home.xml Offered by: David M. Koppelman 3316R P. F. Taylor Hall, 578-5482, koppel@ece.lsu.edu,

More information

What is Computer Architecture? CSE Introduction to Computer Architecture. Why do I care? Which is faster? Allan Snavely

What is Computer Architecture? CSE Introduction to Computer Architecture. Why do I care? Which is faster? Allan Snavely What is Computer Architecture? -- Introduction to Computer Architecture Hardware Designer thinks about circuits, components, timing, functionality, ease of debugging construction engineer Computer Architect

More information

CS 352H Computer Systems Architecture Exam #1 - Prof. Keckler October 11, 2007

CS 352H Computer Systems Architecture Exam #1 - Prof. Keckler October 11, 2007 CS 352H Computer Systems Architecture Exam #1 - Prof. Keckler October 11, 2007 Name: Solutions (please print) 1-3. 11 points 4. 7 points 5. 7 points 6. 20 points 7. 30 points 8. 25 points Total (105 pts):

More information

Lecture 3: Instruction Set Architecture

Lecture 3: Instruction Set Architecture Lecture 3: Instruction Set Architecture CSE 30: Computer Organization and Systems Programming Summer 2014 Diba Mirza Dept. of Computer Science and Engineering University of California, San Diego 1. Steps

More information

CS61C C/Assembler Operators and Operands Lecture 2 January 22, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)

CS61C C/Assembler Operators and Operands Lecture 2 January 22, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson) CS61C C/Assembler Operators and Operands Lecture 2 January 22, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson) www-inst.eecs.berkeley.edu/~cs61c/schedule.html cs 61C L2 Asm Ops.1 Machine Structures

More information

URL: Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture

URL:   Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture 01 1 EE 4720 Computer Architecture 01 1 URL: http://www.ece.lsu.edu/ee4720/ RSS: http://www.ece.lsu.edu/ee4720/rss home.xml Offered by: David M. Koppelman 345 ERAD, 578-5482, koppel@ece.lsu.edu, http://www.ece.lsu.edu/koppel

More information

CPE300: Digital System Architecture and Design

CPE300: Digital System Architecture and Design CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 Layered View of the Computer http://www.egr.unlv.edu/~b1morris/cpe300/ 2 Outline Recap Assembly/Machine Programmer View

More information

Chapter 2. OS Overview

Chapter 2. OS Overview Operating System Chapter 2. OS Overview Lynn Choi School of Electrical Engineering Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: 3290-3249, Kong-Hak-Kwan 411, lchoi@korea.ac.kr,

More information

Instructor. ECE 152 Introduction to Computer Architecture. Course Website. Undergrad Teaching Assistants

Instructor. ECE 152 Introduction to Computer Architecture. Course Website. Undergrad Teaching Assistants Instructor ECE 152 Introduction to Computer Architecture Intro and Overview Copyright 2009 Daniel J. Sorin Duke University Slides are derived from work by Amir Roth (Penn) and Alvy Lebeck (Duke) Spring

More information

Reduced Instruction Set Computers

Reduced Instruction Set Computers Reduced Instruction Set Computers The acronym RISC stands for Reduced Instruction Set Computer. RISC represents a design philosophy for the ISA (Instruction Set Architecture) and the CPU microarchitecture

More information

Computer Architecture!

Computer Architecture! Informatics 3 Computer Architecture! Dr. Vijay Nagarajan and Prof. Nigel Topham! Institute for Computing Systems Architecture, School of Informatics! University of Edinburgh! General Information! Instructors

More information

Computer Architecture Dr. Charles Kim Howard University

Computer Architecture Dr. Charles Kim Howard University EECE416 Microcomputer Fundamentals Computer Architecture Dr. Charles Kim Howard University 1 Computer Architecture Computer Architecture Art of selecting and interconnecting hardware components to create

More information

EE108B: Digital Systems II EE108B. Digital Systems II. Major Topics. What EE108b is About

EE108B: Digital Systems II EE108B. Digital Systems II. Major Topics. What EE108b is About EE108B: Digital Systems II EE108B Digital Systems II Christos Kozyrakis Stanford University christos@ee.stanford.edu Part of the Digital Systems sequence of the new ugrad EE curriculum Revision of EE182

More information

Please put your cellphone on vibrate

Please put your cellphone on vibrate week 1 Page 1 Introduction Administration Overview of this course Assignment #1 Examples Download design tool Get into groups of 3 Please put your cellphone on vibrate week 1 Page 2 Administration http://cseweb.ucsd.edu/classes/su09/cse141l/index.html

More information

CS 110 Computer Architecture Lecture 5: Intro to Assembly Language, MIPS Intro

CS 110 Computer Architecture Lecture 5: Intro to Assembly Language, MIPS Intro CS 110 Computer Architecture Lecture 5: Intro to Assembly Language, MIPS Intro Instructor: Sören Schwertfeger http://shtech.org/courses/ca/ School of Information Science and Technology SIST ShanghaiTech

More information

EEM 486: Computer Architecture

EEM 486: Computer Architecture EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer EEM 486 Course Information Instructor: Atakan Doğan (atdogan@anadolu.edu.tr) Office Hours: Anytime Materials:

More information

Administrative matters. EEL-4713C Computer Architecture Lecture 1. Overview. What is this class about?

Administrative matters. EEL-4713C Computer Architecture Lecture 1. Overview. What is this class about? Administrative matters EEL-4713C Computer Architecture Lecture 1 Instructor: Ann Gordon-Ross (Dr. Ann) Larsen 221 Office hours: TBD http://www.ann.ece.ufl.edu; ann@ece.ufl.edu Web Page: Sakai TA: Ryan

More information

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2 Computer Organization and Design Dr. Arjan Durresi Louisiana State University Baton Rouge, LA 70803 durresi@csc.lsu.edu d These slides are available at: http://www.csc.lsu.edu/~durresi/csc3501_07/ Louisiana

More information

Computer Architecture

Computer Architecture Computer Architecture Virendra Singh Associate Professor Computer Architecture and Dependable Systems Lab Department of Electrical Engineering Indian Institute of Technology Bombay http://www.ee.iitb.ac.in/~viren/

More information

Modern Instruc?on Sets

Modern Instruc?on Sets ECPE 170 Jeff Shafer University of the Pacific Modern Instruc?on Sets 2 Schedule Today Finish Chapter 5 (instruc?on sets) Wednesday, Friday Chapter 6 Memory systems Monday March 19 th Exam 2 Exam 2 Chapters

More information

Instructions: MIPS arithmetic. MIPS arithmetic. Chapter 3 : MIPS Downloaded from:

Instructions: MIPS arithmetic. MIPS arithmetic. Chapter 3 : MIPS Downloaded from: Instructions: Chapter 3 : MIPS Downloaded from: http://www.cs.umr.edu/~bsiever/cs234/ Language of the Machine More primitive than higher level languages e.g., no sophisticated control flow Very restrictive

More information

CSE Introduction to Computer Architecture. Jeff Brown

CSE Introduction to Computer Architecture. Jeff Brown CSE 141-- Introduction to Computer Architecture What is Computer Architecture? Hardware Designer thinks about circuits, components, timing, functionality, ease of debugging construction engineer Computer

More information

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from David Culler, UC Berkeley CS252, Spr 2002

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from David Culler, UC Berkeley CS252, Spr 2002 Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from David Culler, UC Berkeley CS252, Spr 2002 course slides, 2002 UC Berkeley Some material adapted

More information

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. MIPS Assembly

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. MIPS Assembly ECPE 170 Jeff Shafer University of the Pacific MIPS Assembly 2 Lab Schedule This Week Activities MIPS discussion Practice problems (whiteboard) Using the QtSPIM simulator Discuss available resources Lab

More information

CMPSCI 201: Architecture and Assembly Language

CMPSCI 201: Architecture and Assembly Language CMPSCI 201: Architecture and Assembly Language Deepak Ganesan Computer Science Department 1-1 Course Administration Instructor: Deepak Ganesan (dganesan@cs.umass.edu) 250 CS Building Office Hrs: T 10:45-12:15,

More information

Chapter 2 Instruction: Language of the Computer

Chapter 2 Instruction: Language of the Computer Chapter 2 Instruction: Language of the Computer 1 Table of Contents Ch.1 Introduction Ch. 2 Instruction: Machine Language Ch. 3-4 CPU Implementation Ch. 5 Cache and VM Ch. 6-7 I/O & Multiprocessors Computer

More information

Review of instruction set architectures

Review of instruction set architectures Review of instruction set architectures Outline ISA and Assembly Language RISC vs. CISC Instruction Set Definition (MIPS) 2 ISA and assembly language Assembly language ISA Machine language 3 Assembly language

More information

CS Computer Architecture Spring Lecture 01: Introduction

CS Computer Architecture Spring Lecture 01: Introduction CS 35101 Computer Architecture Spring 2008 Lecture 01: Introduction Created by Shannon Steinfadt Indicates slide was adapted from :Kevin Schaffer*, Mary Jane Irwinº, and from Computer Organization and

More information

Instructor: Randy H. Katz hap://inst.eecs.berkeley.edu/~cs61c/fa13. Fall Lecture #7. Warehouse Scale Computer

Instructor: Randy H. Katz hap://inst.eecs.berkeley.edu/~cs61c/fa13. Fall Lecture #7. Warehouse Scale Computer CS 61C: Great Ideas in Computer Architecture Everything is a Number Instructor: Randy H. Katz hap://inst.eecs.berkeley.edu/~cs61c/fa13 9/19/13 Fall 2013 - - Lecture #7 1 New- School Machine Structures

More information

Instruction Set Architectures. CS301 Prof. Szajda

Instruction Set Architectures. CS301 Prof. Szajda Instruction Set Architectures CS301 Prof. Szajda Instruction Categories Arithmetic w x = x + 1 Memory w mem[addr] = x; Control w for(int i = 0; i < 10 ; i++) Arguments to Arithmetic Operations Constant:

More information

EECE 417 Computer Systems Architecture

EECE 417 Computer Systems Architecture EECE 417 Computer Systems Architecture Department of Electrical and Computer Engineering Howard University Charles Kim Spring 2007 1 Computer Organization and Design (3 rd Ed) -The Hardware/Software Interface

More information

Chapter 1. Computer Abstractions and Technology

Chapter 1. Computer Abstractions and Technology Chapter 1 Computer Abstractions and Technology The Computer Revolution Progress in computer technology Underpinned by Moore s Law Makes novel applications feasible Computers in automobiles Cell phones

More information

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro. Machine Interpreta4on

CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro. Machine Interpreta4on CS 61C: Great Ideas in Computer Architecture Intro to Assembly Language, MIPS Intro Instructors: Krste Asanovic & Vladimir Stojanovic hbp://inst.eecs.berkeley.edu/~cs61c/sp15 1 Levels of RepresentaKon/

More information

CS3350B Computer Architecture

CS3350B Computer Architecture CS3350B Computer Architecture Winter 2015 Lecture 4.1: MIPS ISA: Introduction Marc Moreno Maza www.csd.uwo.ca/courses/cs3350b [Adapted d from lectures on Computer Organization and Design, Patterson & Hennessy,

More information

Inf2C - Computer Systems Lecture 1 Course overview & the big picture

Inf2C - Computer Systems Lecture 1 Course overview & the big picture Inf2C - Computer Systems Lecture 1 Course overview & the big picture Boris Grot School of Informatics University of Edinburgh Practicalities Lectures: Tue 15:10 16:00 @ Appleton Tower, LT 2 Fri 15:10 16:00

More information

CS 152 Computer Architecture and Engineering Lecture 1 Single Cycle Design

CS 152 Computer Architecture and Engineering Lecture 1 Single Cycle Design CS 152 Computer Architecture and Engineering Lecture 1 Single Cycle Design 2014-1-21 John Lazzaro (not a prof - John is always OK) TA: Eric Love www-inst.eecs.berkeley.edu/~cs152/ Play: 1 Today s lecture

More information

CS 61C: Great Ideas in Computer Architecture (Machine Structures) Introduc)on to Machine Language

CS 61C: Great Ideas in Computer Architecture (Machine Structures) Introduc)on to Machine Language CS 61C: Great Ideas in Computer Architecture (Machine Structures) Introduc)on to Machine Language TA: Sco? Beamer h?p://inst.eecs.berkeley.edu/~cs61c/sp12 1 New- School Machine Structures (It s a bit more

More information

levels (layers) of abstraction

levels (layers) of abstraction CS61C L01 Introduction + Numbers (1) inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 Number Representation 2005-08-29 Lecturer PSOE, new dad Dan Garcia www.cs.berkeley.edu/~ddgarcia

More information

CISC 360. Computer Architecture. Seth Morecraft Course Web Site:

CISC 360. Computer Architecture. Seth Morecraft Course Web Site: CISC 360 Computer Architecture Seth Morecraft (morecraf@udel.edu) Course Web Site: http://www.eecis.udel.edu/~morecraf/cisc360 Overview Intro to Computer Architecture About the Course Organization

More information

Modern Instruc?on Sets

Modern Instruc?on Sets ECPE 170 Jeff Shafer University of the Pacific Modern Instruc?on Sets 2 Schedule Today Quiz 4 Next week Beyond Finish Chapter 5 (instruc?on sets) Chapter 6 Memory systems Exam 2 Tuesday, Nov 1 st 3 Gradebook

More information

CS61C : Machine Structures

CS61C : Machine Structures inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #1 Introduction & Numbers 2005-06-20 Andy Carle CS 61C L01 Introduction + Numbers (1) Are Computers Smart? To a programmer: Very complex

More information

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 1 Introduction Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Classes of Computing Applications Hierarchical Layers of Hardware and Software Contents

More information

MIPS Instruction Set Architecture (1)

MIPS Instruction Set Architecture (1) MIPS Instruction Set Architecture (1) Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu EEE3050: Theory on Computer Architectures, Spring 2017, Jinkyu

More information

9/9/12. New- School Machine Structures (It s a bit more complicated!) CS 61C: Great Ideas in Computer Architecture IntroducMon to Machine Language

9/9/12. New- School Machine Structures (It s a bit more complicated!) CS 61C: Great Ideas in Computer Architecture IntroducMon to Machine Language CS 61C: Great Ideas in Computer Architecture IntroducMon to Machine Language Instructors: Krste Asanovic Randy H. Katz h

More information

CS61C : Machine Structures

CS61C : Machine Structures inst.eecs.berkeley.edu/~cs61c/su06 CS61C : Machine Structures Lecture #14: Combinational Logic, Gates, and State 2006-07-20 CS 61C L14 Combinational Logic (1) Andy Carle What are Machine Structures? Software

More information

CS 61C: Great Ideas in Computer Architecture. Lecture 5: Intro to Assembly Language, MIPS Intro. Instructor: Sagar Karandikar

CS 61C: Great Ideas in Computer Architecture. Lecture 5: Intro to Assembly Language, MIPS Intro. Instructor: Sagar Karandikar CS 61C: Great Ideas in Computer Architecture Lecture 5: Intro to Assembly Language, MIPS Intro Instructor: Sagar Karandikar sagark@eecs.berkeley.edu hbp://inst.eecs.berkeley.edu/~cs61c 1 Machine Interpreta4on

More information

CS 2630 Computer Organization. What did we accomplish in 15 weeks? Brandon Myers University of Iowa

CS 2630 Computer Organization. What did we accomplish in 15 weeks? Brandon Myers University of Iowa CS 2630 Computer Organization What did we accomplish in 15 weeks? Brandon Myers University of Iowa require slide from day 1 Why take 2630? The esoteric answer: Computer Science graduates should have an

More information

Announcements HW1 is due on this Friday (Sept 12th) Appendix A is very helpful to HW1. Check out system calls

Announcements HW1 is due on this Friday (Sept 12th) Appendix A is very helpful to HW1. Check out system calls Announcements HW1 is due on this Friday (Sept 12 th ) Appendix A is very helpful to HW1. Check out system calls on Page A-48. Ask TA (Liquan chen: liquan@ece.rutgers.edu) about homework related questions.

More information

CSEE 3827: Fundamentals of Computer Systems

CSEE 3827: Fundamentals of Computer Systems CSEE 3827: Fundamentals of Computer Systems Lecture 15 April 1, 2009 martha@cs.columbia.edu and the rest of the semester Source code (e.g., *.java, *.c) (software) Compiler MIPS instruction set architecture

More information