SlideShare a Scribd company logo
1 of 17
ECE 265
Introduction to Microcontroller Based
Systems
(A first course in computer architecture)
9/28/2010
1ECE265
© Joanne E. DeGroat, OSU
Lecture Overview
 Outline of the course
 Syllabus
 General guidelines and policies
 A basic overview of computer architecture
 The Von Neumann Architecture
 The Harvard architecture
 Microprocessors and Microcontrollers
9/28/2010
2
ECE265
© Joanne E. DeGroat, OSU
The Syllabus
 This is ECE 265 – Introduction to
Microprocessor Based Systems
 Objective – A basic understanding of computer
architecture, specifically microcontrollers,
along with an understanding of the uses and
application of microcontrollers.
9/28/2010
3
ECE265
© Joanne E. DeGroat, OSU
General guidelines and policies
 Generally a quiz each week. Typically on Wednesday.
Quiz will not necessarily be announced each week.
Lowest Grade dropped.
 NO MAKEUP QUIZZES
 Homework due two classes after assigned. NO LATE
HOMEWORKS will be accepted. Homework will be
delivered to a dropbox in CARMEN. Dropbox will not
close but no submissions after due date will be
graded.
 Midterm exam will be announced one week prior.
 Final exam is during Finals Week
 Monday March 12 11:30-1:18 in this room.
 Other details on syllabus
9/28/2010
4
ECE265
© Joanne E. DeGroat, OSU
A Basic Overview of Computer
Architecture
 For your reference you can find much of this
information on Wikipedia.
 But can you trust wikipedia?
 When was the first computer created?????
9/28/2010
5
ECE265
© Joanne E. DeGroat, OSU
Early computing technology
 Early computing could be traced back to the
abacus. When was the abacus in use?
 Around 2700 B.C.
 In the mid 1600’s Blaise Pascal designed and
implemented a mechanical calculator.
 Note: Today we use voltage level to represent a
logical TRUE and FALSE. There is no reason that
the physical position of a mechanical component
cannot do the same thing.
9/28/2010
6
ECE265
© Joanne E. DeGroat, OSU
A little more modern
 Charles Babbage 1792-1871
 The Difference Engine
 The Difference Engine 2
 Basically a programmable calculator
 Calculated artillery tables
 The Analytic Engine – a more advanced machine
 Used punch cards for input
 A precursor to the modern computer
 Boole 1815-1864
 Boolean Algebra
9/28/2010
7
ECE265
© Joanne E. DeGroat, OSU
Still, a little more modern
 The von Neumann
architecture – 1940s
and 50s
 A stored-program
computer that uses a
central processing
unit and a single
separate storage
structure that hold
both instructions and
data.
9/28/2010
8
ECE265
© Joanne E. DeGroat, OSU
Basic operation of architecture
 Instructions are executed
in sequence
 First step during execution
 MEM(PC)  IR
 Send contents of PC
(Program counter) to
memory
 Memory responds with the
contents at that address
placing it on the data bus.
 Increment the PC
(PC+1->PC)
 The values on the data bus
are loaded into the
instruction register
9/28/2010
9
ECE265
© Joanne E. DeGroat, OSU
Decode Instruction and execute
 Say the instruction
was a load immediate
 This means that the
next word in the
instruction stream is
the data that we want
loaded into the
accumulator
 Operation is now
 MEM(PC) Accum
 Also increment the PC
9/28/2010
10
ECE265
© Joanne E. DeGroat, OSU
More von Neumann
 Earliest computers had fixed programs – such as
a desk calculator
 The von Neumann architecture introduced the
concept of a stored program. In fact, in early
computers, they often wrote programs that self
modified.
 Self-modifying code is now seen as a very bad
programming practice (also, it really isn’t needed).
 von Neumann’s was very familiar with Alan
Turing’s (1912-1954) work – the Turing Machine
(1936).
 Both von Neumann and Turing wrote papers on
stored program computers.
9/28/2010
11
ECE265
© Joanne E. DeGroat, OSU
Some Early von Neumann
architectures
 ORDVAC (U of Ill) - 1951
 IAS machine (Princeton) - 1952
 MANIAC I (Las Alamos) - 1952
 ILLIAC (U of Ill) - 1952
 AVIDAC (Argonne National Labs) – 1953
 ORACLE at Oak Ridge Ntl Lab– 1953
 JOHNNIAC at RAND Corp – 1954
 BESK in Stockholm – 1953
 PERM in Munich - 1956
9/28/2010
12
ECE265
© Joanne E. DeGroat, OSU
Early Microprocessors
 The Intel 4004 – 1971
 16-pin DIP package
 92,000 instructions per sec
 10.8 microseconds per instruction
 Processor had a small address space for data and a
small address space for instructions
 Designed for use in calculators
 Was the core element for the early electronic
calculators – early calculators did basic arithmetic.
 Early microprocessors were often programmed in
assembler or machine code. Compilers and many
modern high level programming languages just didn’t
exist.
9/28/2010
13
ECE265
© Joanne E. DeGroat, OSU
The Harvard Architecture
9/28/2010ECE265
14
 In the traditional von Neumann architecture
memory holds both programs and data
 In the Harvard Architecture you have separate
memory spaces for data and programs. (term
that came into use during the late 1990s)
 This is not really a new concept as the 4004
had separate data and program memory
address spaces.
© Joanne E. DeGroat, OSU
Microprocessor vs.
Microcontroller
9/28/2010ECE265
15
 Basically a features issue.
 Microprocessor – (the physicalpro ce sso r chip )
 Composed of control unit, register, arithmetic and logic units
 NO Memory, MaybeTimers, No direct external I/O ports
 Does have pins for a data bus and an address bus
 When implemented in a PC, add a keyboard for input, a monitor, a
mouse, a printer, etc.
 Mircocontroller
 Central core of microprocessor but limited capabilities in regards to
registers, memory size, and speed.
 On board memory
 Several Timers
 I/O configurable ports
 In implementation, may or may not have a keyboard, rather a
keypad/switches for input or other types of control, often does not have
monitor
© Joanne E. DeGroat, OSU
Lecture summary
9/28/2010ECE265
16
 Have covered
 What will be covered by this course and how the
course will operate
 The syllabus, general guidelines and policies
 An introduction to the history of computing –
computer are not new
 The von Neumann architecture
 Other architecture focuses
© Joanne E. DeGroat, OSU
Assignment
9/28/2010ECE265
17
 What is a Turing machine?
 HW1 - Write up what a Turing machine is and
how a Turing Machine executes a program.
(submit to dropbox HW1) Write 2/3 to 1 ½
pages.
 Due dates on web page.
 There are many sources for this assignment
 Google web search
 Wikipedia
 Library

More Related Content

Similar to Lecture 1 introduction to microcontroller systems

Embedded controls
Embedded controlsEmbedded controls
Embedded controlscantos_rpi
 
Computer systems
Computer systemsComputer systems
Computer systemsZainab&Sons
 
The Remote IO Port Expansion System Based on I2C Bus
 The Remote IO Port Expansion System Based on I2C Bus The Remote IO Port Expansion System Based on I2C Bus
The Remote IO Port Expansion System Based on I2C BusKyle Zheng
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in indiaEdhole.com
 
To expose students to various challenges and constraints of special purpose c...
To expose students to various challenges and constraints of special purpose c...To expose students to various challenges and constraints of special purpose c...
To expose students to various challenges and constraints of special purpose c...Sindhu Mani
 
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptxonur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptxsivasubramanianManic2
 
computer architecture.pptx
computer architecture.pptxcomputer architecture.pptx
computer architecture.pptxrudom28
 
Bt0068, computer organization and architecture
Bt0068, computer organization and architectureBt0068, computer organization and architecture
Bt0068, computer organization and architecturesmumbahelp
 
M1. Introducing Computers Part A .pdf
M1. Introducing Computers Part A .pdfM1. Introducing Computers Part A .pdf
M1. Introducing Computers Part A .pdfRohitRaj744272
 
Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019Mousuf Zaman C
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfDuy-Hieu Bui
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfTinaIngale
 
learn about computers how its work and operate
learn about computers how its work and operatelearn about computers how its work and operate
learn about computers how its work and operatethegodofmischief999
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfsiraj497688
 
Fundamentals of computers & information system
Fundamentals of computers & information system  Fundamentals of computers & information system
Fundamentals of computers & information system shefali mishra
 

Similar to Lecture 1 introduction to microcontroller systems (20)

Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
CS4961-L1.ppt
CS4961-L1.pptCS4961-L1.ppt
CS4961-L1.ppt
 
Embedded controls
Embedded controlsEmbedded controls
Embedded controls
 
Computer systems
Computer systemsComputer systems
Computer systems
 
The Remote IO Port Expansion System Based on I2C Bus
 The Remote IO Port Expansion System Based on I2C Bus The Remote IO Port Expansion System Based on I2C Bus
The Remote IO Port Expansion System Based on I2C Bus
 
CSC 101 2016_2017.pptx
CSC 101 2016_2017.pptxCSC 101 2016_2017.pptx
CSC 101 2016_2017.pptx
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
 
To expose students to various challenges and constraints of special purpose c...
To expose students to various challenges and constraints of special purpose c...To expose students to various challenges and constraints of special purpose c...
To expose students to various challenges and constraints of special purpose c...
 
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptxonur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
onur-comparch-fall2018-lecture3a-whycomparch-afterlecture.pptx
 
computer architecture.pptx
computer architecture.pptxcomputer architecture.pptx
computer architecture.pptx
 
Bt0068, computer organization and architecture
Bt0068, computer organization and architectureBt0068, computer organization and architecture
Bt0068, computer organization and architecture
 
M1. Introducing Computers Part A .pdf
M1. Introducing Computers Part A .pdfM1. Introducing Computers Part A .pdf
M1. Introducing Computers Part A .pdf
 
Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019Lecture 1 - introduction to computer systems architecture 2018 / 2019
Lecture 1 - introduction to computer systems architecture 2018 / 2019
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
 
learn about computers how its work and operate
learn about computers how its work and operatelearn about computers how its work and operate
learn about computers how its work and operate
 
BCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdfBCA-121 Computer Fundamental.pdf
BCA-121 Computer Fundamental.pdf
 
Fundamentals of computers & information system
Fundamentals of computers & information system  Fundamentals of computers & information system
Fundamentals of computers & information system
 

Recently uploaded

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 

Recently uploaded (20)

Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

Lecture 1 introduction to microcontroller systems

  • 1. ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/2010 1ECE265
  • 2. © Joanne E. DeGroat, OSU Lecture Overview  Outline of the course  Syllabus  General guidelines and policies  A basic overview of computer architecture  The Von Neumann Architecture  The Harvard architecture  Microprocessors and Microcontrollers 9/28/2010 2 ECE265
  • 3. © Joanne E. DeGroat, OSU The Syllabus  This is ECE 265 – Introduction to Microprocessor Based Systems  Objective – A basic understanding of computer architecture, specifically microcontrollers, along with an understanding of the uses and application of microcontrollers. 9/28/2010 3 ECE265
  • 4. © Joanne E. DeGroat, OSU General guidelines and policies  Generally a quiz each week. Typically on Wednesday. Quiz will not necessarily be announced each week. Lowest Grade dropped.  NO MAKEUP QUIZZES  Homework due two classes after assigned. NO LATE HOMEWORKS will be accepted. Homework will be delivered to a dropbox in CARMEN. Dropbox will not close but no submissions after due date will be graded.  Midterm exam will be announced one week prior.  Final exam is during Finals Week  Monday March 12 11:30-1:18 in this room.  Other details on syllabus 9/28/2010 4 ECE265
  • 5. © Joanne E. DeGroat, OSU A Basic Overview of Computer Architecture  For your reference you can find much of this information on Wikipedia.  But can you trust wikipedia?  When was the first computer created????? 9/28/2010 5 ECE265
  • 6. © Joanne E. DeGroat, OSU Early computing technology  Early computing could be traced back to the abacus. When was the abacus in use?  Around 2700 B.C.  In the mid 1600’s Blaise Pascal designed and implemented a mechanical calculator.  Note: Today we use voltage level to represent a logical TRUE and FALSE. There is no reason that the physical position of a mechanical component cannot do the same thing. 9/28/2010 6 ECE265
  • 7. © Joanne E. DeGroat, OSU A little more modern  Charles Babbage 1792-1871  The Difference Engine  The Difference Engine 2  Basically a programmable calculator  Calculated artillery tables  The Analytic Engine – a more advanced machine  Used punch cards for input  A precursor to the modern computer  Boole 1815-1864  Boolean Algebra 9/28/2010 7 ECE265
  • 8. © Joanne E. DeGroat, OSU Still, a little more modern  The von Neumann architecture – 1940s and 50s  A stored-program computer that uses a central processing unit and a single separate storage structure that hold both instructions and data. 9/28/2010 8 ECE265
  • 9. © Joanne E. DeGroat, OSU Basic operation of architecture  Instructions are executed in sequence  First step during execution  MEM(PC)  IR  Send contents of PC (Program counter) to memory  Memory responds with the contents at that address placing it on the data bus.  Increment the PC (PC+1->PC)  The values on the data bus are loaded into the instruction register 9/28/2010 9 ECE265
  • 10. © Joanne E. DeGroat, OSU Decode Instruction and execute  Say the instruction was a load immediate  This means that the next word in the instruction stream is the data that we want loaded into the accumulator  Operation is now  MEM(PC) Accum  Also increment the PC 9/28/2010 10 ECE265
  • 11. © Joanne E. DeGroat, OSU More von Neumann  Earliest computers had fixed programs – such as a desk calculator  The von Neumann architecture introduced the concept of a stored program. In fact, in early computers, they often wrote programs that self modified.  Self-modifying code is now seen as a very bad programming practice (also, it really isn’t needed).  von Neumann’s was very familiar with Alan Turing’s (1912-1954) work – the Turing Machine (1936).  Both von Neumann and Turing wrote papers on stored program computers. 9/28/2010 11 ECE265
  • 12. © Joanne E. DeGroat, OSU Some Early von Neumann architectures  ORDVAC (U of Ill) - 1951  IAS machine (Princeton) - 1952  MANIAC I (Las Alamos) - 1952  ILLIAC (U of Ill) - 1952  AVIDAC (Argonne National Labs) – 1953  ORACLE at Oak Ridge Ntl Lab– 1953  JOHNNIAC at RAND Corp – 1954  BESK in Stockholm – 1953  PERM in Munich - 1956 9/28/2010 12 ECE265
  • 13. © Joanne E. DeGroat, OSU Early Microprocessors  The Intel 4004 – 1971  16-pin DIP package  92,000 instructions per sec  10.8 microseconds per instruction  Processor had a small address space for data and a small address space for instructions  Designed for use in calculators  Was the core element for the early electronic calculators – early calculators did basic arithmetic.  Early microprocessors were often programmed in assembler or machine code. Compilers and many modern high level programming languages just didn’t exist. 9/28/2010 13 ECE265
  • 14. © Joanne E. DeGroat, OSU The Harvard Architecture 9/28/2010ECE265 14  In the traditional von Neumann architecture memory holds both programs and data  In the Harvard Architecture you have separate memory spaces for data and programs. (term that came into use during the late 1990s)  This is not really a new concept as the 4004 had separate data and program memory address spaces.
  • 15. © Joanne E. DeGroat, OSU Microprocessor vs. Microcontroller 9/28/2010ECE265 15  Basically a features issue.  Microprocessor – (the physicalpro ce sso r chip )  Composed of control unit, register, arithmetic and logic units  NO Memory, MaybeTimers, No direct external I/O ports  Does have pins for a data bus and an address bus  When implemented in a PC, add a keyboard for input, a monitor, a mouse, a printer, etc.  Mircocontroller  Central core of microprocessor but limited capabilities in regards to registers, memory size, and speed.  On board memory  Several Timers  I/O configurable ports  In implementation, may or may not have a keyboard, rather a keypad/switches for input or other types of control, often does not have monitor
  • 16. © Joanne E. DeGroat, OSU Lecture summary 9/28/2010ECE265 16  Have covered  What will be covered by this course and how the course will operate  The syllabus, general guidelines and policies  An introduction to the history of computing – computer are not new  The von Neumann architecture  Other architecture focuses
  • 17. © Joanne E. DeGroat, OSU Assignment 9/28/2010ECE265 17  What is a Turing machine?  HW1 - Write up what a Turing machine is and how a Turing Machine executes a program. (submit to dropbox HW1) Write 2/3 to 1 ½ pages.  Due dates on web page.  There are many sources for this assignment  Google web search  Wikipedia  Library