History and Basic Processor Architecture

Similar documents
1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

Chapter 1: Basics of Microprocessor [08 M]

Pin Description, Status & Control Signals of 8085 Microprocessor

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

Microprocessor Architecture

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Architecture of 8085 microprocessor

Basics of Microprocessor

1. Internal Architecture of 8085 Microprocessor

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

The functional block diagram of 8085A is shown in fig.4.1.

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

1. Internal Architecture of 8085 Microprocessor

Overview of Intel 80x86 µp

MICROPROCESSOR B.Tech. th ECE

Lecture Note On Microprocessor and Microcontroller Theory and Applications

1. Internal Architecture of 8085 Microprocessor

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS

PART B (5 x 16 =80) ADDRESS BUS The 8085 has eight signal lines, A15 A8 : Unidirectional, known as high order address.

Lecture-15 W-Z: Increment-Decrement Address Latch:

Subject Code: Model Answer Page No: /25

Microprocessor, Microcomputer and Associated Languages

ELE 3230 Microprocessors and Computer Systems

LIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit.

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

ROM (4K X 8) ROM (4K X 8) FOLD BACK FOR RAM0 RWM - RAM (2K X 8) RWM - RAM (2K X 8) FOLD BACK FOR RAM1 INPUT DEVICE 1

Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions.

MICROPROCESSOR BASICS AND RELATED TERMS

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

UNIT-I. 1.Draw and explain the Architecture of a 8085 Microprocessor?

Microprocessor Architecture. mywbut.com 1

This page intentionally left blank

م.م. ماجد عيدان. Introduction to microprocessor and microcomputer

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

Microcomputer Architecture and Programming

Its Assembly language programming

JNTU World. NOTES SUBJECT: Microprocessors and Interfacing Devices

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

LECTURE NOTES MICROPROCESSORS AND INTERFACING DEVICES

UNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller

Fundamentals of Digital Computers The mechanical computer age began with the advent of the abacus in 500 B.C by Babylonians. The abacus, which was

3.1 Description of Microprocessor. 3.2 History of Microprocessor

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

UNIT.1 THE 8085 MICROPROCESSOR. SYLLABUS Introduction to 8085 Microprocessor architecture Instruction set Programming the 8085 Code conversion.

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

9/25/ Software & Hardware Architecture

SAMPLE STUDY MATERIAL

Four Categories Of 8085 Instructions That >>>CLICK HERE<<<

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li

WINTER 12 EXAMINATION Subject Code : Model Answer Page No : / N. a) Describe the function of SID and SOD pins of 8085 microprocessor

UNIT - II PERIPHERAL INTERFACING WITH 8085

Introduction to Microprocessor

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU.

4 Categories Of 8085 Instructions That Manipulate Data

8086 Hardware Specification

Chapter 13 Direct Memory Access and DMA-Controlled I/O

Unit I Introduction. Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad , India.

8086 INTERNAL ARCHITECTURE

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

Sample Copy. Not For Distribution.

These three counters can be programmed for either binary or BCD count.


Microprocessors/Microcontrollers

UMBC. 80C86/80C88: CMOS version draws 10mA with temp spec -40 to 225degF. 450mV while input max can be no higher than 800mV). 0 0.

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.

Micro Processor & Micro Controllers

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

Write A General Form Of The Assembly

Unit DMA CONTROLLER 8257

Instructions Involve a Segment Register (SR-field)

1. What is microprocessor? It is a program controlled semi conductor device (IC), which fetches, decodes and execute instructions.

Microprocessor s. Address Bus. External Buses. Interfacing CPU with external word. We classify the CPU interfacing signals in three functional buses:

MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

The 8237 DMA Controller: -

STRUCTURE OF DESKTOP COMPUTERS

Department of Computer Science and Engineering

Vidyalankar T.E. Sem. V [EXTC] Microprocessors and Microcontrollers I Prelim Question Paper Solution V SS (GND)

Chapter 8 Summary: The 8086 Microprocessor and its Memory and Input/Output Interface

For more notes of DAE

PART B UNIT II PART A

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions.

8051 Microcontrollers

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

8051 microcontrollers

Transcription:

History and Basic Processor Architecture

History of Computers Module 1 Section 1

What Is a Computer?

An electronic machine, operating under the control of instructions stored in its own memory, that can accept data (input), manipulate data according to specified rules (process), produce results (output), and store the results for future use

Definition of a Computer A computer is defined in the following ways By the work it does By the kind of information it handles By its size and price

Categories of Computers Mainframes and PCs that run application software Embedded chips that control machines Internet or cyberspace

WHAT CAN BE THE NEXT?

THE FIRST ELECTRONIC COMPUTER

THE FIRST TRANSISTOR 1948

THE FIRST INTEGRATED CIRCUIT 1958 Jack Kilby

THE FIRST PROCESSOR IN INTEL LAB

PERSONEL COMPUTER 1974

GUESS WHO IS THIS GREAT MAN???

CPU

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

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 B, C Machine language: 0001001010111010101

Memory and I/O Memory: Where instructions (programs) and data are stored Organized in arrays of locations (addresses), each storing one byte (8 bits) in general A read operation to a particular location always returns the last value stored in that location I/O devices: Enable system to interact with the world Device interface (a.k.a. controller or adapter) hardware connects actual device to bus The CPU views the I/O device registers just like memory that can be accessed over the bus. However, I/O registers are connected to external wires, device control logic, etc. Reads may not return last value written Writes may have side effects

8085 Microprocessor Architecture Now we will examine these components more closely by using the Intel 8085 microprocessor architecture as an example:

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: A 0 A 15 Operates in unidirectional mode: The address bits are always sent from the MPU to peripheral devices, not reverse. 16 address lines are capable of addressing a total of 2 16 = 65,536 (64k) memory locations. Address locations: 0000 (hex) FFFF (hex)

Data Bus The 8085 Bus Structure Consists of 8 data lines: D 0 D 7 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. Data range: 00 (hex) FF (hex) Control Bus Consists of various lines carrying the control signals such as read / write enable, flag bits.

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

The 8085: CPU Internal Structure Simplified block diagram

The 8085: Registers

8085 ARCHITECTURE INTR INTA RST 5.5 RST 6.5 RST 7.5 TRAP Interrupt Control SID SOD Serial I/O Control 8 bit Internal data Bus Accumulato r (8) Temp (8) Flag (8) Instruction Register B (8) C (8) D (8) E (8) X 1 ALU ALU (8) Instruction Decoder & Machine Cycle Encoder H (8) L (8) Stack Pointer (16) Program Counter (16) Incrementer / Decrementer Address Latch (16) X 2 Timing & Control Unit CLK OUT Address Buffer (8) Data/Address Buffer (8) ALE S 0 S 1 RD WR IO/M HOLD READY RESET IN RESET OUT HLDA A 15 A 8 Address Bus AD 7 AD 0 Address/D ata Bus

The 8085: CPU Internal Structure 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.

The 8085: CPU Internal Structure 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. Program Counter (PC) Contains the memory address (16 bits) of the instruction that will be executed in the next step. Stack Pointer (SP)

Example: Memory Read Operation

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

Manufactured by INTEL Features of 8085 8085 A 40 pin IC An 8-bit microprocessor A single chip, NMOS device implemented with approx. 7000 transistors 8 bit data bus Requires a single power supply of +5V On chip clock generator Requires two phase, 50% duty cycle TTL clock Max. clock frequency: 3 MHz & Min. clock frequency: 500 KHz 16 address lines: it can access 64 K memory locations Registers inside are PIPO type

Register Structure of 8085 General Purpose : Special Purpose : B, C, D, E, H, L (all 8bits) A, F, PC, SP, Incrementer / Decrementer address latch Temporary : TMP, W & Z CONSTRUCTION OF FLAG REGISTER: S Z X AC X P X CF CARRY FLAG PARITY FLAG AUXILLARY CARRY FLAG ZERO FLAG SIGN FLAG

PIN DIAGRAM 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 INTEL 8085 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 PIN NO. 1,2 3 4 5 6 7 8 9 10 11 12-19 20 X 1, X 2 RESET OUT SOD SID TRAP RST 7.5 RST 6.5 RST 5.5 INTR INTA AD 0 - AD 7 V SS NAME Address Bus Data Bus Status Signals Control signals Clock Signals TYPE I O O I I I I I I O I/O PIN NO. 21-28 29 30 31 32 33 34 35 36 37 38 39 40 Groups of Pins: A 8 A 15 S 0 ALE WR RD S 1 IO/M READY RESET IN CLK OUT HLDA HOLD V CC NAME Power Supply DMA Request Signals Interrupt Signals Reset Signals Serial I/O Signals TYPE O O O O O O O I I O O I

Pin Function of 8085 www.mycsvtunotes.in Input Pins: RESET IN, HOLD, SID, READY, TRAP, RST 7.5, RST 6.5, RST 5.5, INTR Status Signal Pins: S 0, S 1 Output Pins: RESET OUT, HLDA, INTA, SOD, CLK OUT, RD, WR, IO/M, ALE, S 0, S 1, A 8 A 15, Power Supply Pins: V cc, V SS Pins which carry data & address: AD 0 AD 7 (Bidirectional) Pins which carry address only: A 8 A 15 Pins related to clock: X 1, X 2, CLOCK OUT Pins that carry only data: SID, SOD Pins related to Interrupt: TRAP, RST 5.5, RST 6.5, RST 7.5, INTR, INTA Control Signal Pins: RESET OUT, CLK OUT, RD, WR, IO/M, Multiplexed Pins: AD 0 - AD 7

MORE ON PINS OF 8085 Multiplexing of AD 0 AD 7 Type of Multiplexing: Time Division Controlled by: ALE pin Requirement: To limit the no. of pins of 8085 to 40 only ALE Circuit scheme AD 0 CL D K Q A 0 A 1 AD 7 74LS373 OC A 8 D 0 D 7

ALE Circuit scheme AD 0 CL D K Q A 0 A 1 AD 7 74LS37 3 OC A 8 D 0 D 7 AD0-AD7 ALE=0 D0-D7 AD0-AD7 ALE=1 A0-A7

Question Bank - I www.mycsvtunotes.in 1. Mention the features of 8085. 2. Describe the functions of the following registers of 8085: Instruction Register, PC, SP, Incrementer / Decrementer Address latch. 3. How many temporary registers are there in8085? Mention their utilizations. 4. Discuss the scheme of multiplexing Address/Data bus in 8085. 5. Explain the structure of flag register of 8085. 6. With a neat diagram discuss the architecture of 8085. 7. Classify the registers of 8085 and mention their functions in brief. 8. Why Accumulator is said to be a special register? 9. What are program visible and program invisible registers? 10. Why it is said that HL pair is a special pair? 11. Write a brief note on virtual register. 12. Classify various pins of 8085. 13. Mention the functions of the following pins of 8085: ALE, CLK OUT, RESET OUT, RESET IN 14. Mention the functions of the clock related pins of 8085. 15. Briefly discuss the how clock signal is generated in 8085. 16. Mention the pins which carry both address as well as data. How they are demultiplexed? 17. Which pins of 8085 carry only data? 18. Which pins of 8085 are bidirectional? 19. Why the address bus is unidirectional whereas data bus is bidirectional? 20. How can you generate IOR, IOW, MEMR and MEMW signals?