Dept. of Computers Science and Engineering, MMU

Size: px
Start display at page:

Download "Dept. of Computers Science and Engineering, MMU"

Transcription

1 Dept. of Computers Science and Engineering, MMU Microprocessor & its Applications Prepared by- Nancy Bindal Dept. of CSE, mmu,mullana

2 Module Contents The curriculum consists of 5 modules with 8085 as the main microprocessor Introduction 8085 pins and their applications 8085 Architecture & Programming 8085 Interfacing Techniques Introduction to other 8-bit microprocessors Z80, MC6800

3 Module I- Introduction A microprocessor is the main component of a microcomputer system and is also called as CPU (Central Processing Unit). This module is designed to give introduction to some elementary terms related to a microcomputer system. The topics covered are: Microprocessor as CPU Hardware and Software Input & Output Devices Memories

4 Module II Pins For complete understanding of the interfacing circuits of memory, I/O devices etc. to the 8085 CPU it is required to learn about the functions of all the pins of The pins of 8085 are classified in following groups: Address and Data pins Control & status pins Interrupt pins Serial I/O pins Clock pins Reset pins DMA pins Power supply pins

5 Module III Architecture To develop programs for 8085, it is required to completely understand the internal functional blocks of architecture includes following functional blocks: 8085 Registers Timing and control unit ALU Interrupt control unit Serial I/O control unit Instruction decoder & encoder unit

6 Module III- Programming the 8085 Programming of 8085 requires complete knowledge of the instruction set and its structure. This requires study of Instruction set 8085 addressing modes One, two & three bytes instruction Programming examples

7 Module IV- Interfacing Techniques A microcomputer system consist of a minimum of memory & I/O devices. To connect these devices properly with 8085 is referred to as interfacing. This module provides interfacing techniques for- RAM & ROM I/O devices Special purpose programmable devices such as 8255, 8253/8254, 8257, 8259

8 Module V-Introduction to other 8-bit microprocessors This module is designed to develop an introductory knowledge about some other 8-bit microprocessors used in embedded technology. The microprocessors covered in this module are: Z80 of Zilog MC6800 of Motorola Corporation

9 Module I Introduction: Microcomputer & Microprocessor A microcomputer is a programmable machine. Modern computers are electronic and digital. The two principal characteristics of a computer are: It responds to a specific set of instructions in a well-defined manner. It can execute a prerecorded list of instructions (a program) Its main components are CPU Input & Output devices memory A microprocessor is a programmable VLSI chip which controls and performs all operations in a microcomputer. Its main units are- ALU Registers Control Unit

10 Block diagrams (Microcomputer & Microprocessor)

11 Hardware All general-purpose computers require the following hardware components: Memory: Enables a computer to store data and programs. Mass storage device: Allows a computer to permanently retain large amounts of data. Common mass storage devices include disk drives and tape drives. Input device: Usually a keyboard and mouse are the input device through which data and instructions enter a computer. Output device: A display screen, printer, or other device that lets you see what the computer has accomplished. Central processing unit (CPU): The heart of the computer, this is the component that actually executes instructions.

12 Software The programs and data stored in a microcomputer is called as software. Programs can be written in low level languages or high level languages. A low level language can be binary language or assembly language. A CPU recognizes only binary language which is called as machine language. Assembly language instructions contain alphabets and/or numeric characters. To run assembly language programs a converter called as assembler is required. High level languages are more user friendly and contain simple words of English language. To run high level programs, converters such as compilers or interpreters are required.

13 Input & Output Devices Input devices are used to input electrical or physical information in a microcomputer system in digital form. In embedded applications, commonly used input devices are simple switches and sensors. In general purpose microcomputers, input devices can be keyboards, scanners, mouse etc. Output devices are used to display or perform required operation. In embedded applications commonly used output devices are LED display units, LCD display units, stepper motors etc. In general purpose computers output devices are mainly CRTs, LCD screens, LED screens, Printers etc.

14 Memories Memory in a microcomputer system is used to store data and programs temporarily or permanently. The memories of primary concern for the CPU are only RAM & ROM which are called as primary memory or main memory. The CPU, at any time, only communicates with RAM & ROM. Other than primary memories, there are also secondary memories which are used for mass storage of data and programs and are transferred to the primary memory when required to be executed by the CPU. Examples of secondary memories are Hard Disks, Floppy Disks, DVDs, flash drives etc.

15 Memory Classification

16 Module II pins

17 Pin description Higher Order Address pins- A 15 A 8 Lower Order Address/ Data Pins- AD 7 -AD 0 These are time multiplexed pins and are de-multiplexed using the pin ALE Control Pins RD, WR These are active low Read & Write pins Status Pins ALE, IO/M (active low), S 1, S 0 ALE (Address Latch Enable)-Used to de-multiplex AD 7 -AD 0 IO/M Used to select I/O or Memory operation S 1,S 0 Denote the status of data on data bus Interrupt Pins TRAP, RST7.5, RST 6.5, RST 5.5, INTR, INTA These are hardware interrupts used to initiate an interrupt service routine stored at predefined locations of the system memory. Serial I/O pins SID (Serial Input Data), SOD (Serial Output Data) These pins are used to interface 8085 with a serial device.

18 Pin Description Contd. Clock Pins- X 1, X 2, CLK(OUT) X 1, X 2 - These are clock input pins. A crystal is connected between these pins such that f crystal = 2f 8085 where f crystal = crystal frequency & f 8085 = operating frequency of 8085 CLK(OUT) This is an auxiliary clock output source Reset Pins Reset In (active low), Reset Out Reset In is used to reset 8085 whereas Reset Out can be used to reset other devices in the system DMA (Direct Memory Access) pins HOLD, HLDA These pins are used when data transfer is to be performed directly between an external device and the main memory of the system. Power Supply Pins - +V CC, V SS

19 Module III 8085 Architecture

20 8085 Architecture Contd.. The Registers are of 8-bit & 16-bit size used for different purposes A- Accumulator This is an special purpose register. All the ALU operations are performed with reference to the contents of Accumulator. B,C,D,E,H,L General purpose registers. These registers can also be used for 16-bit operations in pairs. The default pairs are BC, DE & HL. F Flag register This register indicates the status of the ALU operation. PC Program Counter This is a 16-bit register used to address the memory location from where an instruction is going to be executed. SP Stack pointer - This is a 16-bit register used to address the top of the stack memory location. Temporary register, W & Z These registers are only used by 8085 and are not available for the programmer.

21 8085 Architecture Contd.. ALU Arithmetic & Logic Unit ALU of 8085 performs 8-bit arithmetic & logical operations. The operations are generally performed with Accumulator as one of the operands. The result is saved in accumulator register. Timing & Control Unit This unit works as the brain of the CPU and generates all the timing and control signals to perform all the internal & external operations of the CPU. Instruction Decoder & Machine Cycle Encoder Unit This unit decodes the op-code stored in the Instruction Register (IR) and encodes it for the timing & control unit to perform the execution of the instruction.

22 Instruction Set Instruction set of 8085 can be classified in following groups: Data Transfer Instructions These instructions can perform data transfer operations between Registers of 8085 e.g. MOV 8085 registers and main memory e.g. LDA, STA, MOV, LDAX, STAX, MVI, LXI etc. Accumulator register and I/O devices e.g. IN, OUT Data transfer instructions never affect the flag bits

23 Instruction Set Contd.. Arithmetic Instructions 8085 can perform only 8-bit addition, subtraction and compare operations. These operations are always performed with accumulator as one of the operands. The status of the result can be verified by the contents of the flag register. Op-codes for arithmetic instructions include ADD, ADI, ADC, ACI, SUB, SUI, SBB, SBI, CMP, CPI Logical Instructions 8085 can perform 8-bit basic logical operations -AND, OR, XOR, NOT with some special operations such as rotate and shift operations Logical instructions also modify the flag bits. Op-codes for logical instructions include ANA, ANI, ORA, ORI, XRA, XRI, CMA, RAL, RLC, RAR, RRC etc.

24 Instruction Set Contd.. Program Control Instructions These instructions are used to transfer the program control: to jump from one memory location to any other memory location within a program from one program to another program called as a subroutine 8085 Instruction set consists of following program control instructions: Jump Instructions Call & Return Instructions Restart instructions

25 Instruction Set Contd.. Program control instructions Unconditional or Conditional Unconditional program control instructions perform branching operation unconditionally Conditional program control instructions perform branching operation with reference to the condition of flag bits.

26 Instruction Set Contd.. Unconditional Program control instructions are JMP Call & RET RST n (n=0-7) Conditional Program control instructions are JNC, JC, JNZ, JZ, JP, JM, JPE, JPO CNC, CC, CNZ, CZ, CP, CM, CPE, CPO RNC, RC, RNZ, RZ, RP, RM, RPE, RPO

27 Instruction Set Contd.. Machine control Instructions These instructions include special instructions such as HLT To halt the CPU NOP To perform no operation SIM To set the masking of hardware interrupts and serial output data RIM To read the status of interrupt mask and serial input data EI Enable Interrupt DI Disable Interrupt

28 Programming of 8085 The following link can be used to access different type of programs. Lab Manual The programs can be loaded and verified in the 8085 based microcomputer system available in the microprocessor lab

29 Addressing Modes 8085 instructions can be classified in following addressing modes Register Addressing mode Instructions which have their operands in registers only e.g. MOV, ADD, SUB, ANA, ORA, XRA etc. Immediate Addressing mode Instructions in which operand immediately follows the op-code e.g. MVI, LXI, ADI, SUI, ANI, ORI etc. Direct Addressing mode Instructions have their operands in memory and the 16-bit memory address is specified in the instruction e.g. LDA, STA, LHLD, SHLD etc.

30 Addressing Modes Contd.. Register Indirect Addressing mode Instructions have their operand in memory and the 16- bit memory address is specified in a register pair e.g. LDAX, STAX, PUSH, POP etc. Implicit Addressing mode These instruction have their operand implied in the opcode itself e.g. CMA, CMC, STC etc.

31 Instruction size An instruction is assembled in the memory of a microcomputer system in binary form. The size of an instruction signifies how much memory space is required to load an instruction in the memory instructions are of following sizes: One-byte Instructions e.g. MOV, ADD, ANA, SUB, ORA etc. Two-byte instructions e.g. MVI, ADI, ANI, ORI, XRI etc. Three-byte instructions e.g. LXI, LDA, STA, LHLD, SHLD etc.

32 Memory Interfacing Module IV: Interfacing Techniques 8085 uses 16-bit memory addressing system allowing a maximum of 64 KB size of memory The logical memory address range is 0000h-FFFFh These 64k addresses can be allotted separately to RAMs & ROMs Some interfacing circuit examples can be found in the following link Interfacing Examples

33 Interfacing Contd.. I/O Interfacing To interface Input Devices Octal buffers are used. These octal buffers are called as input ports Octal buffers contain a set of eight buffers for an 8-bit system data bus A buffer is basically a current amplifier which amplifies the smaller magnitude currents of input devices before being supplied to the CPU The tri-state logic also provides the addressing and control logic for the CPU

34 Interfacing Contd.. To interface output devices Octal Latches are used. A latch is basically a D Flip-Flop Latches are used to hold the output data because information on system data bus is available for a very small duration of time. I/O interfacing techniques

35 I/O structure of 8085

36 Interfacing Contd.. There are three major types of data transfer between the microcomputer and art I/O device. They are- Programmed I/O : In programmed I/O the data transfer is accomplished through an I/O port and controlled by software. Interrupt driven I/O : In interrupt driven I/O, the I/O device will interrupt the processor, and initiate data transfer. Direct memory access (DMA) : In DMA, the data transfer between memory and I/O can be performed by bypassing the microprocessor.

37 Interfacing Contd.. Some special purpose programmable devices used with 8085 are listed in the table of next slide. These devices are used in the system according to the requirement.

38 Interfacing Contd..

39 Interfacing Contd..

40

8085 INSTRUCTION SET

8085 INSTRUCTION SET DATA TRANSFER INSTRUCTIONS Opcode Operand Description 8085 INSTRUCTION SET INSTRUCTION DETAILS Copy from source to destination OV Rd, Rs This instruction copies the contents of the source, Rs register

More information

THE 8085 MICROPROCESSOR

THE 8085 MICROPROCESSOR 1. Introduction THE 8085 MICROPROCESSOR The 8085 microprocessor was made by Intel in mid 1970s. It was binary compatible with 8080 microprocessor but required less supporting hardware thus leading to less

More information

8085 Microprocessor has two Serial Input/Output pins that are used to read/write one bit data to and from peripheral devices.

8085 Microprocessor has two Serial Input/Output pins that are used to read/write one bit data to and from peripheral devices. Serial Input / Output data using 8085 8085 Microprocessor has two Serial Input/Output pins that are used to read/write one bit data to and from peripheral devices. SID (Serial Input Data) line -There is

More information

PART B QUESTIONS AND ANSWERS UNIT I

PART B QUESTIONS AND ANSWERS UNIT I PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional

More information

System Data Bus (8-bit) Data Buffer. Internal Data Bus (8-bit) 8-bit register (R) 3-bit address 16-bit register pair (P) 2-bit address

System Data Bus (8-bit) Data Buffer. Internal Data Bus (8-bit) 8-bit register (R) 3-bit address 16-bit register pair (P) 2-bit address Intel 8080 CPU block diagram 8 System Data Bus (8-bit) Data Buffer Registry Array B D 8 C E Internal Data Bus (8-bit) F H L ALU SP A PC Address Buffer 16 System Address Bus (16-bit) Internal register addressing:

More information

MICROPROCESSORS LAB MANUAL

MICROPROCESSORS LAB MANUAL MUFFAKHAM JAH COLLEGE OF ENGINEERING AND TECHNOLOGY (Affiliated to Osmania University) Banjara Hills, Hyderabad, Telangana State INFORMATION TECHNOLOGY DEPARTMENT MICROPROCESSORS LAB MANUAL S. No. CONTENTS

More information

Tutorial. Introduction to 8085 Architecture and Programming

Tutorial. Introduction to 8085 Architecture and Programming Tutorial On Introduction to 8085 Architecture and Programming Contents 1. Internal architecture of 8085 microprocessor 2. 8085 system bus 3. 8085 pin description. 4. 8085 functional description. 5. Programming

More information

An Introduction to intel 8085 Microprocessor.

An Introduction to intel 8085 Microprocessor. An Introduction to intel 8085 Microprocessor www.mangroveinstitute.com Intel 8085 Intel 8085 Pin Configuration 3 Signals and I/O Pins 4 Intel 8085 CPU Block Diagram 5 The 8085 and Its Buses The 8085 is

More information

MICROPROCESSOR 2 marks questions and answers UNIT-I

MICROPROCESSOR 2 marks questions and answers UNIT-I MICROPROCESSOR 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes the ALU, register arrays,

More information

MACHINE ARCHITECTURE & LANGUAGE

MACHINE ARCHITECTURE & LANGUAGE in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based

More information

architectural Concepts Chapter 1

architectural Concepts Chapter 1 Design of basic microprocessor architectural Concepts Chapter 1 Design of basic microprocessor architectural Concepts Microprocessor architecture, word Lengths, addressable memory Microprocessor s s speed

More information

Basic Concepts of Microprocessors Differences between: Microcomputer a computer with a microprocessor as its CPU. Includes memory, I/O etc. Microprocessor silicon chip which includes ALU, register circuits

More information

ASSEMBLY LANGUAGE PROGRAMMING LAB MANUAL

ASSEMBLY LANGUAGE PROGRAMMING LAB MANUAL DEPARTMENT OF COMPUTER APPLICATIONS COLLEGE OF ENGINEERING, THIRUVANANTHAPURAM ASSEMBLY LANGUAGE PROGRAMMING LAB MANUAL 2005 INDEX CONTENTS PAGE NO 1. The 8085 microprocessor 1 1.1 Introduction 1 1.2 8085

More information

Basic Concepts of Microprocessors

Basic Concepts of Microprocessors MICROPROCESSOR 8085 Reference Book: Ramesh S. Goankar, Microprocessor Architecture, Programming and Applications with 8085, 5 th Edition, Prentice Hall Week 1 Basic Concept and Ideas about Microprocessor.

More information

Unit 8 : Microprocessor Architecture

Unit 8 : Microprocessor Architecture Unit 8 : Microprocessor Architecture Lesson 1 : Microcomputer Structure 1.1. Learning Objectives On completion of this lesson you will be able to : draw the block diagram of a simple computer understand

More information

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1 MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable

More information

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK Sub. Code : EC1257 Branch / Year / Sem : CSE / III / VI Sub. Name : Microprocessors and Microcontrollers Batch

More information

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

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors. About the Tutorial A microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of performing Arithmetic Logical Unit (ALU) operations and communicating with the other

More information

Paper: Microprocessor and Computer Programming

Paper: Microprocessor and Computer Programming Paper: Microprocessor and Computer Programming Lesson: Microprocessor 8085 architecture Author: Priyamvada Bhardwaj College/Department: Ramjas College / Dept. of Physics, University of Delhi 1 Table of

More information

XII-HSC BOARD COMPUTER SCIENCE - II (D-9) - SOLUTIONS

XII-HSC BOARD COMPUTER SCIENCE - II (D-9) - SOLUTIONS Rao IIT Academy/ 2015 / XII-HSC - Board -Computer Science - II_(D-9_SOLUTIONS Date : 14.03.2015 XII-HSC BOARD COMPUTER SCIENCE - II (D-9 - SOLUTIONS 1. (A (a (iv MVI A, 00H (b (ii 16 bit (c (i IR (d (ii

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

LABORATORY MANUAL. Prepared By: Name: A Bhargavi Haripriya Designation: Assistant Professor (OG)

LABORATORY MANUAL. Prepared By: Name: A Bhargavi Haripriya Designation: Assistant Professor (OG) LABORATORY MANUAL PROGRAMME: B.Tech SEMESTER /YEAR: 3 rd year 5 th Semester SUBJECT CODE: BM0313 SUBJECT NAME: Microprocessor & Microcontroller Lab Prepared By: Name: A Bhargavi Haripriya Designation:

More information

Table of Contents. Microprocessor Architecture

Table of Contents. Microprocessor Architecture Table of Contents 1. INTEL 8085 MICROPROCESSOR INTERNAL ARCHITECTURE... 2 1.1 The 8085 CPU... 2 1.1.1 Address, Data and Control Buses.... 2 1.1.2 Timing and Control Units... 4 1.1.3 Interrupt control...

More information

Lecture Note On Microprocessor and Microcontroller Theory and Applications Subject Code:BEE-1501 Semester: 5 th Branch: EE and EEE

Lecture Note On Microprocessor and Microcontroller Theory and Applications Subject Code:BEE-1501 Semester: 5 th Branch: EE and EEE Lecture Note On Microprocessor and Microcontroller Theory and Applications Subject Code:BEE-1501 Semester: 5 th Branch: EE and EEE Syllabus Disclaimer This document does not claim any originality and cannot

More information

BLOCK DIAGRAM OF INTEL 8085

BLOCK DIAGRAM OF INTEL 8085 BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA 1 Introduction to 8085 Introduced in 1977. It is 8-bit MP. It is a 40 pin dual-in-line chip. It uses a single +5V supply for its operations. Its clock

More information

MVI M, 32H : Store 32H in memory location pointed by HL register pair (4000H)

MVI M, 32H : Store 32H in memory location pointed by HL register pair (4000H) Store 8-bit data in memory Statement: Store the data byte 32H into memory location 4000H. Program 1: MVI A, 52H : Store 32H in the accumulator STA 4000H : Copy accumulator contents at address 4000H HLT

More information

CPU ARCHITECTURE Microprocessor. Block Diagram ALU. Block Diagram

CPU ARCHITECTURE Microprocessor. Block Diagram ALU. Block Diagram CPU ARCHITECTURE http://www.tutorialspoint.com/computer_logical_organization/cpu_architecture.htm Copyright tutorialspoint.com Microprocessing unit is synonymous to central processing unit, CPU used in

More information

SUMMER 13 EXAMINATION

SUMMER 13 EXAMINATION Page 1 of 28 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written

More information

SDK-8S MCS-8S SYSTEM DESIGN KIT

SDK-8S MCS-8S SYSTEM DESIGN KIT SDK-8S MCS-8S SYSTEM DESIGN KIT Complete Single Board Microcomputer System Including CPU, Memory, and I/O Easy to Assemble, Low Cost, Kit Form Extensive System Monitor Software in ROM Interactive LED Display

More information

Introduction to Microcontrollers. ECE473/573 Microprocessor System Design, Dr. Shiue

Introduction to Microcontrollers. ECE473/573 Microprocessor System Design, Dr. Shiue Introduction to Microcontrollers 1 Introduction It is hard to imagine the present world of electronic devices without the microprocessor. Cash register, scales, ovens, washing machine, alarm clock, thermostats,

More information

LABORATORY MANUAL EE0310 MICROPROCESSOR & MICROCONTROLLER LAB

LABORATORY MANUAL EE0310 MICROPROCESSOR & MICROCONTROLLER LAB LABORATORY MANUAL EE0310 MICROPROCESSOR & MICROCONTROLLER LAB DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING FACULTY OF ENGINEERING & TECHNOLOGY SRM UNIVERSITY, Kattankulathur 603 203 1 LIST OF EXEPRIMENTS

More information

WEEK 5. Chapter 20. Control Unit Operation Pearson Education, Inc., Hoboken, NJ. All rights reserved.

WEEK 5. Chapter 20. Control Unit Operation Pearson Education, Inc., Hoboken, NJ. All rights reserved. WEEK 5 + Chapter 20 Control Unit Operation + Micro-Operations The functional, or atomic, operations of a processor Series of steps, each of which involves the processor registers Micro refers to the fact

More information

Government Girls Polytechnic, Bilaspur

Government Girls Polytechnic, Bilaspur Government Girls Polytechnic, Bilaspur Name of the Lab: Digital Electronics Lab Practical: Microprocessor 8085 Lab Class : 5 th Semester (ET&T), 5 th Semester (CSE) FOR ET&T Teachers Assessment: 10 End

More information

Chapter Interrupts

Chapter Interrupts Chapter 12 8085 Interrupts EEC-406 : INTRODUCTION TO MICROPROCESSOR Diwakar Yagyasen, AP, 1 Interrupts Interrupt is a process where an external device can get the attention of the microprocessor. The process

More information

Introduction. The CPU and Memory. System Block Diagram. Components of a CPU 30/03/2008. In a Computer. Memory is separate from the CPU

Introduction. The CPU and Memory. System Block Diagram. Components of a CPU 30/03/2008. In a Computer. Memory is separate from the CPU The CPU and Memory Introduction In a Computer Memory is separate from the CPU All data is in binary (not decimal) Central Processing Unit Text: Chapter. 7 Rev for 3 rd Ed June 2003 Rev/ System Block Diagram

More information

150127-Microprocessor & Assembly Language

150127-Microprocessor & Assembly Language Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an

More information

Downloaded from Microprocessor: Reprogrammable system: Embedded system: Evolution of microprocessor: Calculator verses computer:-

Downloaded from  Microprocessor: Reprogrammable system: Embedded system: Evolution of microprocessor: Calculator verses computer:- Microprocessor: A microprocessor is a multipurpose, programmable, clock-driven, register base electronic device, that reads binary instruction from storage device called memory accept binary data and input

More information

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 1 - INTRODUCTION JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ Unit 1.MaNoTaS 1 Definitions (I) Description A computer is: A

More information

MICROPROCESSOR LAB MANUAL EEC-553

MICROPROCESSOR LAB MANUAL EEC-553 MICROPROCESSOR LAB MANUAL EEC-553 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING 27, Knowledge Park-III, Greater Noida, (U.P.) Phone : 0120-2323854-58 website :- www.dronacharya.info 1 CONTENTS

More information

CoE3DJ4 Digital Systems Design. Hardware summary

CoE3DJ4 Digital Systems Design. Hardware summary CoE3DJ4 Digital Systems Design Hardware summary Microprocessors vs. Microcontrollers Microprocessors are single-chip CPU used in microcomputers Microcontrollers and microprocessors are different in three

More information

Multiple Choice Questions on 8086 Microprocessor

Multiple Choice Questions on 8086 Microprocessor Multiple Choice Questions on 8086 Microprocessor 1. A microprocessor is a chip integrating all the functions of a CPU of a computer. A. multiple B. single C. double D. triple 2. Microprocessor is a/an

More information

The syllabus comprises four sections Section-A The 8085 Microprocessor: ec i tion-b The 8086 m croprocessor ar hit ec ure:

The syllabus comprises four sections Section-A The 8085 Microprocessor: ec i tion-b The 8086 m croprocessor ar hit ec ure: The syllabus comprises four sections Section-A The 8085 Microprocessor: contains introduction of 8085 microprocessor, architecture of 8085, instruction set, interrupt structure & assembly language programming.

More information

Computer Organization. Computer Organization

Computer Organization. Computer Organization Computer Organization ALU Registers Accumulator (AR) Program Counter (PC) Instruction Register (IR) General Purpose Registers Memory Operation Decoder Computer Organization - Computer Organization Clock

More information

Types of microprocessor

Types of microprocessor Types of microprocessor Depending on register 1. Accumulator based 2. Register based Based on aplication 1. Bit Slice Processors 2. General purpose CPUs 3. Dedicated/Embedded controllers Accumulator based

More information

Feature of 8086 Microprocessor

Feature of 8086 Microprocessor 8086 Microprocessor Introduction 8086 is the first 16 bit microprocessor which has 40 pin IC and operate on 5volt power supply. which has twenty address limes and works on two modes minimum mode and maximum.

More information

What are the multipurpose registers in 8086 microprocessor? What are the advantages of memory segmentation of 8086 microprocessor?

What are the multipurpose registers in 8086 microprocessor? What are the advantages of memory segmentation of 8086 microprocessor? What are the multipurpose registers in 8086 microprocessor? 8086 has four multipurpose registers. 1. AX (Accumulator Register) 2. BX (Base Register) 3. CX (Count Register) 4. DX (Data Register) What are

More information

CHENNAI INSTITUTE OF TECHNOLOGY Sarathy Nagar, Pudupedu, Chennai

CHENNAI INSTITUTE OF TECHNOLOGY Sarathy Nagar, Pudupedu, Chennai CHENNAI INSTITUTE OF TECHNOLOGY Sarathy Nagar, Pudupedu, Chennai 600 069. DEPARTMENT OF MECHATRONICS ENGINEERING MT6411 MICROPROCESSOR LABORATORY LABORATORY MANUAL \ 1 LIST OF EXEPRIMENTS Sl.No. Name of

More information

Microprocessor Lecture 16 Microprocessor Architecture and its Operation

Microprocessor Lecture 16 Microprocessor Architecture and its Operation Microprocessor Lecture 16 Microprocessor Architecture and its Operation Microprocessor Architecture and it's Operation Computer system consist primary of :- 1- Microprocessor. 2- Memory. 3- Input. 4- Output.

More information

FUNDAMENTAL CONCEPTS

FUNDAMENTAL CONCEPTS FUNMENTL CONCEPTS Microcomputer: programmable machine that processes binary data There are three major parts of a microcomputer system CPU ( Micro processor ) Memory I/O The CPU (Central Processing Unit)

More information

Interrupts. 1.Maskable interrupt request can be ignored or delayed by the microprocessor and used in telephone

Interrupts. 1.Maskable interrupt request can be ignored or delayed by the microprocessor and used in telephone Interrupts The interrupt I/O is a process of data transfer where-by an external device or a peripheral can inform the microprocessor that it is ready for communication The interrupt requests are classified

More information

3 Assembly Languages

3 Assembly Languages 3 Assembly Languages 3.1 Assembly Language Instructions Each family of processors has its own set of instructions for handling various operations like getting input from keyboard, displaying information

More information

8085 Assembly Language Programs & Explanations

8085 Assembly Language Programs & Explanations 8085 Assembly Language Programs & Explanations 1. Statement: Store the data byte 32H into memory location 4000H. Program 1: MVI A, 32H STA 4000H : Store 32H in the accumulator : Copy accumulator contents

More information

Pin Diagram of A DMA. Serial i/p, o/p signals X 1 X 2. Vcc HOLD HLDA CLK ( OUT) SOD SID TRAP RST 7.5 RST 6.5 RST 5.5 INTR INTA RESET IN

Pin Diagram of A DMA. Serial i/p, o/p signals X 1 X 2. Vcc HOLD HLDA CLK ( OUT) SOD SID TRAP RST 7.5 RST 6.5 RST 5.5 INTR INTA RESET IN Pin Diagram of 8085 Serial i/p, o/p signals X 1 X 2 RESET OUT SOD SID TRAP RST 7.5 RST 6.5 RST 5.5 INTR INTA AD 0 AD 1 AD 2 AD 3 AD 4 AD 5 AD 6 AD 7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 8085

More information

Computer Architecture Concepts for System Programmers

Computer Architecture Concepts for System Programmers Computer Architecture Concepts for System Programmers System programming is about developing programs to run directly on top of hardware or developing programs to run on top of operating system by using

More information

BLOCK DIAGRAM OF A COMPUTER SYSTEM

BLOCK DIAGRAM OF A COMPUTER SYSTEM BLOCK DIAGRAM OF A COMPUTER SYSTEM Analysis of CPU In order to work, a computer needs some sort of "brain" or "calculator". At the core of every computer is a device roughly the size of a large postage

More information

Microprocessor and Microcontroller

Microprocessor and Microcontroller A Course Material on Microprocessor and Microcontroller By Ms. M. NIVETHA ASSISTANT PROFESSOR DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING SASURIE COLLEGE OF ENGINEERING VIJAYAMANGALAM 638 056

More information

Intro to Microprocessors and Microcomputers

Intro to Microprocessors and Microcomputers Intro to Microprocessors and Microcomputers Content Microprocessor, microcontrollers and microcomputers Communication within microcomputers Registers Process architecture CPU Data and program storage Negative

More information

Outline. Microprocessors History Data width 8086 vs pin descrip7on Z80 Pin descrip7on

Outline. Microprocessors History Data width 8086 vs pin descrip7on Z80 Pin descrip7on Microprocessors Outline Microprocessors History Data width 8086 vs 8088 8086 pin descrip7on Z80 Pin descrip7on Microprocessors Microprocessors come in all kinds of varie7es from the very simple to the

More information

Microcontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.

Microcontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system. Basic Electronics Syllabus: : Introduction to, 8051 Microcontroller Architecture and an example of Microcontroller based stepper motor control system (only Block Diagram approach). (5 Hours) Introduction

More information

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2 Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of

More information

VALLIAMMAI ENGINEERING COLLEGE DEPARTMENT OF MCA QUESTION BANK UNIT 1- INTRODUCTION TO MICROPROCESSORS PART-A

VALLIAMMAI ENGINEERING COLLEGE DEPARTMENT OF MCA QUESTION BANK UNIT 1- INTRODUCTION TO MICROPROCESSORS PART-A VALLIAMMAI ENGINEERING COLLEGE DEPARTMENT OF MCA SEM/YEAR: III / II SUB.CODE& SUBJECT: MC 70 EMBEDDED SYSTEM QUESTION BANK UNIT - INTRODUCTION TO MICROPROCESSORS Evolution of Microprocessors - 8-Bit Processor

More information

Question 1: MOV AX, 3 MOV BX, [0300] ADD BX, AX (6 marks) Work out the time taken to execute: MOV AX, 2 MOV BX, 3 MUL BX ADD AX, BX

Question 1: MOV AX, 3 MOV BX, [0300] ADD BX, AX (6 marks) Work out the time taken to execute: MOV AX, 2 MOV BX, 3 MUL BX ADD AX, BX Question 1: (a) (b) (c) Give a brief functional description of the Bus Interface Unit and of the Execution Unit in a CPU. Which of the following CPU internal registers would you expect to be assigned to

More information

EXP. NO. (12) LOGICAL INSTRUCTIONS OF THE 8085 MICROPROCESSOR

EXP. NO. (12) LOGICAL INSTRUCTIONS OF THE 8085 MICROPROCESSOR EXP. NO. (2) LOGICAL INSTRUCTIONS OF THE 8085 MICROPROCESSOR OBJECT: THEORY To study the logical capabilities of the 8085 microprocessor. The logical instructions, as the name implies perform logical operations

More information

Section 8.4 Instruction Formats

Section 8.4 Instruction Formats Section 8.4 Instruction Formats It is the function of the control unit within the CPU to interpret each instruction code The bits of the instruction are divided into groups called fields The most common

More information

Embedded Systems

Embedded Systems Western Technical College 10662134 Embedded Systems Course Outcome Summary Course Information Description Career Cluster Instructional Level Total Credits 4.00 Total Hours 108.00 With an ever increasing

More information

Chapter 2. Anatomy of a computer

Chapter 2. Anatomy of a computer Christian Jacob Chapter 2 Anatomy of a computer 2.1 Layers of Virtual Machines 2.2 The Register Machine Model 2.2.1 Main components of a von Neumann computer architecture 2.2.2 CPU and RAM 2.2.3 Execution

More information

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

More information

JNTU World. NOTES SUBJECT: Microprocessors and Interfacing Devices. Downloaded From JNTU World (http://www.alljntuworld.in)

JNTU World. NOTES SUBJECT: Microprocessors and Interfacing Devices. Downloaded From JNTU World (http://www.alljntuworld.in) NOTES SUBJECT: Microprocessors and Interfacing Devices Downloaded From (http://www.alljntuworld.in) INDEX CHAPTER 1 1.1 Introduction to Microprocessor 1.2 Microprocessor architecture and its operations

More information

Processing Unit. Backing Store

Processing Unit. Backing Store SYSTEM UNIT Basic Computer Structure Input Unit Central Processing Unit Main Memory Output Unit Backing Store The Central Processing Unit (CPU) is the unit in the computer which operates the whole computer

More information

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS 1) Which is the microprocessor comprises: a. Register section b. One or more ALU c. Control unit 2) What is the store by register? a. data b. operands

More information

Lecture 2 Microcomputer Organization: Central Processing Unit:

Lecture 2 Microcomputer Organization: Central Processing Unit: Lecture 2 Microcomputer Organization: The basic components of a microcomputer are: 1) CPU 2) Program memory 3) Data memory 4) Output ports 5) Input ports 6) Clock generator. These components are shown

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY GUJARAT TECHNOLOGICAL UNIVERSITY INSTRUMENTATION & CONTROL ENGINEERING (17) MICROCONTROLLER & INTERFACING (IC) SUBJECT CODE: 2151707 B.E. 5 th SEMESTER Type of course: Core Engineering Prerequisite: 1.

More information

- A microprocessor unit is a complex logic element that performs arithmetic, logic, and control operations.

- A microprocessor unit is a complex logic element that performs arithmetic, logic, and control operations. Microprocessors By Salim Reference: Microprocessors, Heathkit Educational Systems - A microprocessor unit is a complex logic element that performs arithmetic, logic, and control operations. - A computer

More information

Introduction to Design of a Tiny Computer

Introduction to Design of a Tiny Computer Introduction to Design of a Tiny Computer (Background of LAB#4) Objective In this lab, we will build a tiny computer in Verilog. The execution results will be displayed in the HEX[3:0] of your board. Unlike

More information

80x86 CPU - Introduction

80x86 CPU - Introduction 8086 INTERNAL ARCHITECTURE Before we can write programs for the 8086, we need to understand its internal features, such as its ALU, flags, registers, instruction byte queue, and segment registers. The

More information

St.MARTIN S ENGINEERING COLLEGE Dhulapally, Secunderabad

St.MARTIN S ENGINEERING COLLEGE Dhulapally, Secunderabad St.MARTIN S ENGINEERING COLLEGE Dhulapally, Secunderabad-500 014 Subject: MICROPROCESSOR AND INTERFACING DEVICE QUESTION BANK Class : EEE III GROUP - A (SHORT ANSWER QUESTIONS) UNIT I 1 Define Microprocessor

More information

Class #1. Programming and Numerical Methods for Scientists and Engineers

Class #1. Programming and Numerical Methods for Scientists and Engineers Class #1 Programming and Numerical Methods for Scientists and Engineers 1 What every computer has to have Central Processing Unit. Permanent Storage At least one input device. At least one output device.

More information

CPU08. Introduction. Architecture of a Microcontroller CPU08 1. The CPU08 Central Processing Unit M68HC08 and HCS08 microcontrollers

CPU08. Introduction. Architecture of a Microcontroller CPU08 1. The CPU08 Central Processing Unit M68HC08 and HCS08 microcontrollers CPU08 The CPU08 Central Processing Unit M68HC08 and HCS08 microcontrollers Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor

More information

Module 4b: The Control Unit

Module 4b: The Control Unit Module 4b: The Control Unit C O N T R O L U N I T O P E R A T I O N M I C R O P R O G R A M M E D C O N T R O L R E F E R E N C E S : S T A L L I N G S C O M P U T E R O R G A B I Z A T I O N A N D A R

More information

Basic Computer Organization and Design John D. Carpinelli, All Rights Reserved 1

Basic Computer Organization and Design John D. Carpinelli, All Rights Reserved 1 Basic Computer Organization and Design 1997 John D. Carpinelli, All Rights Reserved 1 Outline Basic Computer specification and organization Instruction formats and instructions Control Signals Machine

More information

Instruction Codes. An instruction code is a group of bits that instruct the computer to perform a specific operation (set of microoperations).

Instruction Codes. An instruction code is a group of bits that instruct the computer to perform a specific operation (set of microoperations). Instruction Codes The organization of a computer is defined by its internal registers, the timing and control structure, and the set of instructions that it uses. The internal organization of a digital

More information

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers

More information

Microcontroller Systems. ELET 3232 Topic 3: AVR Architecture

Microcontroller Systems. ELET 3232 Topic 3: AVR Architecture Microcontroller Systems ELET 3232 Topic 3: AVR Architecture Objectives Examine the architecture of the AVR core Function of registers Interrupts ALU Status Register Memory map Stack and Stack Pointer Examine

More information

DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller. Question Bank

DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller. Question Bank DHANALAKSHMI COLLEGE OF ENGINEERING CHENNAI. EC6504 Microprocessor and Microcontroller Question Bank IV Semester ECE Department of Electronics and Communication Engineering 1 UNIT I THE 8086 MICROPROCESSOR

More information

ENGINEERS INSTITUTE OF INDIA New Delhi Ph Classroom Postal Correspondence Test-Series 2016 All

ENGINEERS INSTITUTE OF INDIA New Delhi Ph Classroom Postal Correspondence Test-Series 2016 All 1 Classroom Postal Correspondence Test-Series2016 All Rights Reserved C O N T E N T 2 1. CPU ORGANIZATION & DESIGN. 05-24 2. MICROPROGRAMMED CONTROL UNIT. 25-28 3. INPUT OUTPUT ORGANIZATION... 29-43 4.

More information

Lecture 1: Introduction to Microcomputers

Lecture 1: Introduction to Microcomputers Lecture 1: Introduction to Microcomputers Today s Topics What is a microcomputers? Why do we study microcomputers? Two basic types of microcomputer architectures Internal components of a microcomputers

More information

6 th SEMESTER EIE EC1301 Microprocessor and Microcontroller

6 th SEMESTER EIE EC1301 Microprocessor and Microcontroller 6 th SEMESTER EIE EC1301 Microprocessor and Microcontroller UNIT I 8085 MICROPROCESSOR 1. Define registers of 8085 Microprocessor. 2. List out the logical operations in 8085 Microprocessor. 3. Write the

More information

TIMING DIAGRAM O 8085

TIMING DIAGRAM O 8085 5 TIMING DIAGRAM O 8085 5.1 INTRODUCTION Timing diagram is the display of initiation of read/write and transfer of data operations under the control of 3-status signals IO / M, S 1, and S 0. As the heartbeat

More information

CS2507 Computer Architecture

CS2507 Computer Architecture CS2507 Computer Architecture Lecture 4 The Instruction Set - supporting principles In this lecture, we take a look at some of the principles underlying the 8085 architecture. In particular, this is our

More information

2. What are the various interrupts in 8086? - Maskable interrupts, Non-Maskable interrupts.

2. What are the various interrupts in 8086? - Maskable interrupts, Non-Maskable interrupts. 1. What are the flags in 8086? - In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag. 2. What are the various interrupts

More information

CHAPTER 7: The CPU and Memory

CHAPTER 7: The CPU and Memory CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides

More information

Microprocessors and its Applications. Short Answers

Microprocessors and its Applications. Short Answers Microprocessors and its Applications Short Answers 1. Define Microprocessor? Microprocessor is a multipurpose, programmable, clock-driven, register based electronic device that reads binary instructions

More information

Z80 Microprocessors Z80 CPU. User Manual UM008006-0714. Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com

Z80 Microprocessors Z80 CPU. User Manual UM008006-0714. Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com Z80 Microprocessors Z80 CPU UM008006-0714 Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com ii Warning: DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS. LIFE SUPPORT POLICY ZILOG S PRODUCTS

More information

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System? Management Challenge Managing Hardware Assets What computer processing and storage capability does our organization need to handle its information and business transactions? What arrangement of computers

More information

Introduction to computing. Human vs Computer. Basic Concepts. Microprocessor in a computer board (Mother Board)

Introduction to computing. Human vs Computer. Basic Concepts. Microprocessor in a computer board (Mother Board) Introduction to computing The Microprocessor is the Brain of the computer. Like brain a processor can process/compute the information collected from the world. More formally, microprocessor is a programmable

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

Feature RAM (bytes) Times I/O Pins Serial port Interrupts sources 6 8 6

Feature RAM (bytes) Times I/O Pins Serial port Interrupts sources 6 8 6 Topic 1 (16 M) 8051 Microcontroller 1.1 Introduction to 8051 family Microcontroller 1.2 8051 Microcontroller 1. Salient Features 2. Pins description 3. Architecture of 8051 4. Special function Register

More information

Gursharan Singh Tatla

Gursharan Singh Tatla Gursharan Singh Tatla professorgstatla@gmail.com 1 Instruction Set of 8086 An instruction is a binary pattern designed inside a microprocessor to perform a specific function. The entire group of instructions

More information

Organization of Intel 8086 Microprocessor

Organization of Intel 8086 Microprocessor Organization of Intel 8086 Microprocessor Intel 8086 was the first 16-bit microprocessor introduced by Intel in 1978. Register Organization of 8086 All the registers of 8086 are 16-bit registers. The general

More information

Introduction to Computer System and Architecture SEEM

Introduction to Computer System and Architecture SEEM Introduction to Computer System and Architecture SEEM 3460 1 CPU and Main Memory Central Processing Unit Chip that executes program commands Intel Pentium 4 Sun ultrasparc III Primary storage area for

More information