ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 8 Microcomputers.

Slides:



Advertisements
Similar presentations
Instruction Sets: Characteristics and Functions Addressing Modes
Advertisements

CPU Review and Programming Models CT101 – Computing Systems.
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
The 8051 Microcontroller and Embedded Systems
Princess Sumaya Univ. Computer Engineering Dept. Chapter 2: IT Students.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
© 2010 Kettering University, All rights reserved..
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
1BA3 G Lacey Lecture 51 Evaluating mathematical expressions  How do computers evaluate x + y or any mathematical expression ?  Answer : “Reverse Polish.
From Essentials of Computer Architecture by Douglas E. Comer. ISBN © 2005 Pearson Education, Inc. All rights reserved.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
6.1 Introduction Two details related to instructions –The way instructions are specified –The ways that operands can be specified.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
1 Assembly Language Professor Jennifer Rexford COS 217.
Design of Embedded Systems Using 68HC12(11) Microcontrollers - R. E. Haskell Introducing the 68HC12 Chapter 1.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
Microcontroller based system design
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
Computer architecture Microprocessor based computers.
Invitation to Computer Science 5th Edition
The 8051 Microcontroller and Embedded Systems
The variety Of Processors And Computational Engines CS – 355 Chapter- 4 `
Invitation to Computer Science 6th Edition Chapter 5 Computer Systems Organization.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Chapter 7 Logic Circuits 1.State the advantages of digital technology compared to analog technology. 2. Understand the terminology of digital circuits.
Development of Computers. Hardware 1. Original concept: Charles Babbage 1840’s 2. 4 basic components of a computer system: input store mill output (Now:
Computer organization Practical 1. Administrative Issues The course requirements are: –To be nice and open minded –To pass the exam (there is a boolean.
Computer Structure & Architecture 7b - CPU & Buses.
Operand Addressing And Instruction Representation Cs355-Chapter 6.
CSC 235 Computer Organization. Computer Organizaton ä Top_Level Structure ä The von-Neumann Machine ä Stack Machine ä Accumulator Machine ä Load/Store.
MICROOCESSORS AND MICROCONTROLLER:
Lecture 1: Review of Computer Organization
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Chapter 5 Computer Systems Organization. Levels of Abstraction – Figure 5.1e The Concept of Abstraction.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
The Principle and Application of Microcontrollers
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
GCSE Computer Science - Revision
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
Computer Organization
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 Introduction.
Chapter 7.2 Computer Architecture
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
The 8051 Microcontroller and Embedded Systems
Introduction of microprocessor
Chapter 3 Machine Language and Assembly Language.
Chapter 3 Machine Language and Assembly Language.
Introduction to Microprocessors
Microcomputer Programming
Computer Programming Machine and Assembly.
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
The Instruction Set Architecture Level
Addressing mode summary
Little work is accurate
Copyright © 2013 Elsevier Inc. All rights reserved.
MCU – Microcontroller Unit – 2
Sec (2.3) Program Execution.
Presentation transcript:

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 8 Microcomputers

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 8 Microcomputers 1. Identify and describe the functional blocks of a microcomputer. 2. Select the type of memory needed for a given application.

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. 3. Understand how microcomputers or microcontrollers can be applied in your field of specialization. 4. Identify the internal registers and their functions for the 68HC11 microcomputer. 5. List some of the instructions and addressing modes of the 68HC Write simple programs using the 68HC11 instruction set.

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. An embedded computer is part of a product, such as an automobile, printer, or bread machine, that is not called a computer. A microcomputer or microcontroller is a complete computer containing the CPU, memory, and I/O on a single silicon chip.

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.

This computer, in which the instructions and data are stored in the same memory, has von Neumann architecture (also known as Princeton architecture).

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.

MEMORY TYPES (1) Read-and-write memory (RAM) (2) Read-only memory (ROM) (3) Mass storage

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Selection of Memory 1.The trade-off between speed and cost 2. Whether the information is to be stored permanently or must be changed frequently 3. Whether data are to be accessed in random order or in sequence

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.

Stacks and the Stack Pointer Register Stacks are last-in first-out memories. Information is added to (pushed onto) the top of the stack and eventually read out (pulled off) in the reverse order that it was written.

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.

ASSEMBLY-LANGUAGE PROGRAMMING In general, Motorola assembly language statements take the form: LABEL INSTRUCTION/DIRECTIVE OPERAND COMMENT Directives are used to give commands to the assembler.

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.

Example 8.3 Machine Code for Example 8.2

ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc.