Processor System Architecture

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

Microprocessors and Interfacing
Microprocessors.
Parul Polytechnic Institute
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
PCEL4303 MICROPROCESSOR & MICRO CONTROLLERS MODULE - I (10 hours) Microprocessor Architecture: Microprocessor and Microcomputer Architecture, Pins & Signals,
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
Chapter 2 Microprocessor Architecture
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
TK 2633 Microprocessor & Interfacing
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Microcontroller based system design
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
created by :Gaurav Shrivastava
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
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.
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
MICROCOMPUTER ARCHITECTURE 1.  2.1 Basic Blocks of a Microcomputer  2.2 Typical Microcomputer Architecture  2.3 Single-Chip Microprocessor  2.4 Program.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
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.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Z80 Overview internal architecture and major elements of the Z80 CPU.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Computer operation is of how the different parts of a computer system work together to perform a task.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
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.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
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.
8085 Microprocessor: Architecture & Support Components.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Gandhinagar Institute of Technology
Architecture of 8085 Nitin Mishra. Registers Microprocessor Instruction Cache Arithmetic & Logic Unit Control Unit Bus Interface Unit Data Cache Instruction.
The 8085A is a general-purpose microprocessor with low hardware overhead requirements. Within the 8085A are contained the functions of clock generation,
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني The 8085 Microprocessor Architecture.
Unit Microprocessor.
8085 Microprocessor Architecture
Seminar On 8085 microprocessor
COURSE OUTCOMES OF Microprocessor and programming
Gunjeet Kaur Dronacharya Group of institutions
Introduction of microprocessor
Dr. Michael Nasief Lecture 2
8085 microprocessor.
The 8085 Microprocessor Architecture
Computer Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Number Representations and Basic Processor Architecture
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Architecture & Support Components
Chapter 1 Introduction.
8085 Microprocessor Architecture
8085 Microprocessor Architecture
AGENDA Architecture Microprocessor Communication and Bus Timings
AGENDA Architecture Microprocessor Communication and Bus Timings
Computer Operation 6/22/2019.
Presentation transcript:

Processor System Architecture The typical processor system consists of: CPU (central processing unit) ALU (arithmetic-logic unit) Control Logic Registers, etc… Memory Input / Output interfaces Interconnections between these units: Address Bus Data Bus Control Bus

Microprocessor :- It is a programmable digital device, designed with registers, flip-flops, Timing elements which has a set of instructions, designed internally, to manipulate data and communicate with peripherals. The microprocessor can respond to external signals. It can be interrupted, reset, or asked to wait to synchronize with slower peripherals. Operation Types in a Microprocessor All of the operations of the microprocessor can be classified into one of three types: Microprocessor Initiated Operations Internal Operations Peripheral Initiated Operations

Microprocessor – Initiated Operations and 8085 BUS Organization Microprocessor Performs primarily four operations as a part of communication process between MPU and peripheral devices. Memory Read : Reads data ( instructions) from memory Memory Write : Writes data ( instructions) in to memory I/O Read : Accepts data from input devices. I/O Write : Sends data to output devices To communicate with a peripheral, the MPU need to perform following steps :- Identify the peripherals or the memory location (with its address) Transfer binary information ( data and instructions ) Provide timing or synchronization signals (control signals)

Bus and CPU Bus: A shared group of wires used for communicating signals among devices address bus: the device and the location within the device that is being accessed data bus: the data value being communicated control bus: describes the action on the address and data buses CPU: Core of the processor, where instructions are executed High-level language: a = b + c Assembly language: add r1 r2 r3 [ Machine language: 0001001010111010101

The 8085 Bus Structure The 8-bit 8085 CPU (or MPU – Micro Processing Unit) communicates with the other units using a 16-bit address bus, an 8-bit data bus and a control bus.

The 8085 Bus Structure Address Bus Consists of 16 address lines: A0 – A15 Operates in unidirectional mode: The address bits are always sent from the MPU to peripheral devices in one direction , not reverse. MPU uses the address bus to perform first function : identifying a peripheral or a memory location 16 address lines are capable of addressing a Total of 216 = 65,536 (64k) memory locations. Address locations: 0000 (hex) – FFFF (hex) When the 8085 wants to access a peripheral or a memory location, it places the 16-bit address on the address bus and then sends the appropriate control signals.

The 8085 Bus Structure Data Bus Consists of 8 data lines: D0 – D7 Operates in bidirectional mode: The data bits are sent from the MPU to peripheral devices, as well as from the peripheral devices to the MPU. The MPU uses the data bus to perform second function : Transfer binary information ( data and instructions ) Data range: 00 (hex) – FF (hex) Control Bus Comprised of various single lines that carry synchronization signals. The MPU uses such lines to perform third function : Provide timing or synchronization signals (control signals)

The 8085: CPU Internal Structure The internal architecture of the 8085 CPU is capable of performing the following operations: Store 8-bit data (Registers, Accumulator) Perform arithmetic and logic operations (ALU) Test for conditions (IF / THEN) Sequence the execution of instructions Store temporary data in RAM during execution

Memory Read Operation

The Read Operation To read the contents of a memory location, the following steps take place: The microprocessor places the 16-bit address of the memory location on the address bus. The microprocessor activates a control signal called “memory read” which enables the memory chip. The memory decodes the address and identifies the right location. The memory places the contents on the data bus. The microprocessor reads the value of the data bus after a certain amount of time.

Internal Data Operations The 8085 can perform a number of internal operations. Such as: storing data, Arithmetic & Logic operations, Testing for condition, etc. To perform these operations, the microprocessor needs an internal architecture similar to the following:

The Internal Architecture Registers Six general purpose 8-bit registers: B, C, D, E, H, L They can also be combined as register pairs to perform 16-bit operations: BC, DE, HL Registers are programmable (data load, move, etc.) Accumulator Single 8-bit register that is part of the ALU Used for arithmetic / logic operations – the result is always stored in the accumulator. Flag Bits Indicate the result of condition tests. Carry, Zero, Sign, Parity, etc. Conditional operations (IF / THEN) are executed based on the condition of these flag bits.

The Internal Architecture The Program Counter (PC) This is a register that is used to control the sequencing of the execution of instructions. This register always holds the address of the next instruction. Since it holds an address, it must be 16 bits wide. The Stack pointer The stack pointer is also a 16-bit register that is used to point into memory. The memory this register points to is a special area called the stack. The stack is an area of memory used to hold data that will be retreived soon. The stack is usually accessed in a Last In First Out (LIFO) fashion.

Externally Initiated Operations External devices can initiate (start) one of the 4 following operations: Reset All operations are stopped and the program counter is reset to 0000. Interrupt The microprocessor’s operations are interrupted and the microprocessor executes what is called a “service routine”. This routine “handles” the interrupt, (perform the necessary operations). Then the microprocessor returns to its previous operations and continues.

Externally Initiated Operations Ready The 8085 has a pin called RDY. This pin is used by external devices to stop the 8085 until they catch up. As long as the RDY pin is low, the 8085 will be in a wait state. Hold The 8085 has a pin called HOLD. This pin is used by external devices to gain control of the busses. When the HOLD signal is activated by an external device, the 8085 stops executing instructions and stops using the busses. This would allow external devices to control the information on the busses. Example DMA.

The 8085: CPU Internal Structure Simplified block diagram

Example: Instruction Fetch Operation All instructions (program steps) are stored in memory. To run a program, the individual instructions must be read from the memory in sequence, and executed. Program counter puts the 16-bit memory address of the instruction on the address bus Control unit sends the Memory Read Enable signal to access the memory The 8-bit instruction stored in memory is placed on the data bus and transferred to the instruction decoder Instruction is decoded and executed

Example: Instruction Fetch Operation

Example: Instruction Fetch Operation

8085 Functional Block Diagram