Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

The Fetch – Execute Cycle
Microprocessors.
The Microprocessor and its Architecture
Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Chapter 16 Control Unit Operation No HW problems on this chapter. It is important to understand this material on the architecture of computer control units,
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Chapter 0 Introduction to Computing
The CPU - Outline. Components of CPU Englander p
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Computer Organization and Architecture
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
Basic Operational Concepts of a Computer
SAP1 (Simple-As-Possible) Computer
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
created by :Gaurav Shrivastava
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Microcode Source: Digital Computer Electronics (Malvino and Brown)
MICROCOMPUTER ARCHITECTURE 1.  2.1 Basic Blocks of a Microcomputer  2.2 Typical Microcomputer Architecture  2.3 Single-Chip Microprocessor  2.4 Program.
Lecture 10 ALU and Control Unit Design Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
Lecture 11 ALU and Control Unit Design Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Computer Structure & Architecture 7b - CPU & Buses.
HOW a Computer Works ? Anatomy of Microprocessor.
MICROOCESSORS AND MICROCONTROLLER:
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Microarchitecture. Outline Architecture vs. Microarchitecture Components MIPS Datapath 1.
Dale & Lewis Chapter 5 Computing components
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2015.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
CSIT 301 (Blum)1 Instructions at the Lowest Level Some of this material can be found in Chapter 3 of Computer Architecture (Carter)
Designing a CPU –Reading a programs instruction from memory –Decoding the instruction –Executing the instruction –Transferring Data to/From memory / IO.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Lecture 9 Design of the Computer Instruction Set and the CPU Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Lec. 10 Assembly Programming Dr. Tamer Samy Gaafar Microprocessors.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
COURSE OUTCOMES OF Microprocessor and programming
COMP 1321 Digital Infrastructure
Lecture 5: Computer systems architecture
Lecture on Microcomputer
Introduction of microprocessor
Number Representations and Basic Processor Architecture
University of Gujrat Department of Computer Science
Computer Organization and Design
MICROCOMPUTER ARCHITECTURE
Morgan Kaufmann Publishers Computer Organization and Assembly Language
COMP 1321 Digital Infrastructure
COMP 1321 Digital Infrastructure
COMP 1321 Digital Infrastructure
COMPUTER ARCHITECTURE
Presentation transcript:

Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU

What is Microcomputer?

Typical Microcomputer Architecture

The Microcomputer Bus Address Bus – Information transfer one direction, microprocessor to memory or I/O elements, so unidirectional bus – Typically 20 to 32 bit long – Determines addressable memory, 1 MB to 4 GB

The Microcomputer Bus Data Bus – Bidirectional i.e. to or from microprocessor – Multiplexed / time shared data bus e.g. in bit address is send through 16-bit data bus and 4 status lines – Determines the word size of the microcomputer Control Bus – Used to send control signals to synchronize the operation of individual microcomputer elements – Each microcomputer has a unique set of control signals.

Clock Signals Clock generator generates clock signals Most MPs have external clock generator circuit Each instruction requires a number of clock signals Clock signals determines the speed of MPs The short period cycle means clock speed is large, means high speed of computer

The single chip microprocessor Microprocessor is the CPU of the microcomputer The main areas of microprocessor – Register section – The control unit – The arithmetic and logic unit (ALU)

Basic Microprocessor Registers Instruction Register (IR): stores instructions Program Counter (PC): contains the address of the next instruction to be executed Memory Address Register (MAR): contains address of data Accumulator (A): typically a 8 bit register, used to store result after most ALU operations

Accumulator based vs. general purpose based microprocessor Accumulator based – Intel 8085 and Motorola 6809 are accumulator based. – Accumulator is used as one of the data source – Result goes to accumulator – Example: ADD R1 General purpose based – Intel 8066/../Pentium are of this kind. – The registers contain hold data, memory address, results of ALU so on. – Example: ADD AX, BX, ADD [AX], BX

Use of the Basic Microprocessor Registers Let us add contents of two memory locations For example, add [2010] = 0002 and [2012] = 005 In general [NNNN] represents the content of the memory location NNNN.

Steps of Addition of [2010]+[2012] Load MAR with 2010 Move contents of 2010 into data register, D0, which may be AX/BX etc. Increment MAR by 2 to hold 2012 Add D0 with [2012] and store the result into D0 Instruction set form Motorola 68000

PC L E L E L E L E

Microprogramming the Control Unit Each instruction is executed by a set of microinstructions The microinstructions has their own codes The codes are stored into internal memory, called the control memory (ROM) Let us increment a register by 1

Assembly Language Instruction Format Three address Two address One address Zero address CLD; clear direction NOP; No operation For all microprocessors

References Chapter 6, Fundamental of Digital Logic and Microcomputer Design – by M. Rafiquzzaman – 6.1, 6.2, 6.3, 6.6.3