MICROPROCESSOR TECHNOLOGY

Size: px
Start display at page:

Download "MICROPROCESSOR TECHNOLOGY"

Transcription

1 MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 15 Ch.7 The and Microprocessors 21-Apr-15 1

2 Chapter Objectives Contrast the and microprocessors with earlier Intel microprocessors. Describe the operation of the and memory management unit and paging unit. Define additional 80386/80486 instructions and addressing modes. Detail the interrupt structure and direct memory access structure of 80386/80486 µp. Contrast the with the µp. 21-Apr-15 2

3 M / IO The Microprocessor The 80386DX µp is packaged in a 132-pin PGA. It addresses 4GB of memory through 32-bit data bus and 32-bit address. The 80386SX is a popular and a less costly version of the µp with 24 bit address bus and 16 bit data bus. It is used in PCs that use the same basic motherboard design like and require less than 16 MB of memory. 21-Apr-15 3

4 The Microprocessor The requires a single +5V power supply. The power supply current averages 550 ma for the 25 MHz version, 500 ma for the 20 MHz version, and 450 ma for the 16 MHz version. The 33 MHz version requires 600 ma. Each output pin is capable of providing 4 ma (address and data connections) or 5 ma (other connections). 21-Apr-15 4

5 80386DX Pin Functions A2 A31: Address bus connections address any of the 1G memory locations found in the µp system. (A0 and A1 are encoded) D0 D31: Data bus connections BE0 BE3: Bank Enable signals select the access of a byte, word, or double word of data. These signals are generated internally from address bits A0 and A1. M/IO: select memory device when a logic 1. During I/O operation, the address bus contains a 16 bit I/O address 21-Apr-15 5

6 80386DX Pin Functions W/R: Write/Read indicate that the current bus cycle is write when a logic 1. ADS: Address Data Strobe becomes active when the has issued a valid I/O or memory address. (Combined with W/R to generate the read/write signals present in earlier µp). RESET: initializes the 80386, causing it to begin executing software at memory location FFFFFFF0 CLK2: Clock times 2 is driven by a clock signal that is twice the operating frequency of the Apr-15 6

7 80386DX Pin Functions READY: Controls the number of wait states. LOCK: Lock=0 when an instruction is prefixed with the LOCK: prefix. D/C: Data/Control, if D/C=1, the data bus contains data for or from memory or I/O. If D/C=0, the µp is halted or executes an interrupt. BS16: Bus Size 16 selects either a 32 bit data bus (BS16=1) or 16-bit data bus (BS16=0). NA: Next Address causes the to output the address of the next instruction or data in next cycle 21-Apr-15 7

8 80386DX Pin Functions HOLD: Hold requests a DMA action HLDA: HOLD Acknowledge indicates that the is currently in a hold condition. PEREQ: The coprocessor request, and is a direct connection to the coprocessor. BUSY: Busy is an input used by the WAIT or FWAIT instruction that waits for the coprocessor to become not busy. (It is also a direct connection to the 80387). 21-Apr-15 8

9 80386DX Pin Functions ERROR: Error indicates to the µp that an error is detected by the coprocessor. INTR: Interrupt Request is used by external circuitry to request an interrupt. NMI: Non-Maskable Interrupt 21-Apr-15 9

10 The Memory System The memory is organized as four banks, each containing 1GB. (See Fig. 7-3 Page 169) Memory is accessed as 8, 16, or 32-bits. The 32-bit wide memory allows bytes, words, or double-words of memory data to be accessed directly. The 80386DX transfers up to 32-bit wide number in a single memory cycle. The uses a 32-bit wide memory address with bytes from H FFFFFFFFH 21-Apr-15 10

11 The Buffered System The is buffered to increase the fan-out from its address, data, and control connections. In Fig. (7-4) P. 171, the µp is operated at 25 MHz using a 50 MHz clock input signal that is generated by an integrated oscillator module. The HLDA is used to enable all buffers in a system that uses DMA. In a non DMA system, buffer enable pins are grounded. 21-Apr-15 11

12 Pipelines and Caches Pipeline is a special way of handling memory accesses so the memory has additional time to access data. Pipelining allows memory an extra clocking period to access data. The extra clock extends the access time from 50 ns to 81 ns on the operating at 16 MHz. The pipe is set up by the microprocessor. Higher speed systems can not use pipelining. Cache is used to increase memory system speeds. 21-Apr-15 12

13 Interleaved Memory Systems An interleaved memory system is used to improve the speed. Memory access times can be lengthened without the need of wait states because the address is generated to select the memory before the microprocessor accesses it. It needs two or more complete sets of address buses and a controller that provides addresses for each bus. Systems that employ two complete buses are called 2-way interleave. 21-Apr-15 13

14 The Input/Output System All systems use isolated I/O because of the I/O protection scheme provided by the in protected mode operation. The uses a full 32-bit wide I/O system divided into four banks (Fig. 7-8 Page 176). Most I/O transfers are 8-bit wide because we often use ASCII code for transferring alphanumeric data between µp and printers and keyboards. 21-Apr-15 14

15 The Input/Output System The I/O locations are numbered from 0000H to FFFFH. A portion of the I/O map is designated for the coprocessor. The coprocessor uses I/O location F8H FFH. New feature: An I/O location can be blocked in the protected mode. If the blocked location is addressed, an interrupt (Type 13) is generated. 21-Apr-15 15

16 Timing in The The timing is referenced to the CLK2 input signal. A bus cycle consists of four clocking periods. Each bus cycle contains two clocking states (T1 and T2) with each state containing two clocking periods. (Fig page 177 Non-pipelined). Compare with (Fig Pipelined) Compare also with inserted wait states (Fig. 7-12) Report (Compare between the three cases) 21-Apr-15 16

17 Special Registers Control Registers: In addition to the EFLAGS and EIP, there are other control registers found in the 80386; CR0, CR1, CR2, and CR3 CR1 is not used in the CR2 holds the linear page address of the last page accessed before a page fault interrupt. CR3 holds the base address of the page directory. 21-Apr-15 17

18 Control Registers The rightmost 12 bits of the 32 bit page table address contain zeros and combine with the remainder of the register to locate the start of the page table. CR0 is 32-bit wide: PG: Selects page table translation of linear address into physical address when PG=1. ET: Selects coprocessor when ET=0, coprocessor when ET=1. 21-Apr-15 18

19 Control Registers TS: indicates that the has switched tasks. If TS=1, a numeric coprocessor instruction causes type 7 interrupt (Coprocessor not available). EM: Is set to cause a type 7 interrupt for each ESC instruction. MP: Is set to indicate that the coprocessor is present in the system. PE: Is set to select the protected mode of operation. It may be cleared to re-enter the real mode. 21-Apr-15 19

20 Debug Registers Four debug registers (DR0, DR1,DR2, and DR3) contain 32-bit linear breakpoint addresses. The linear address is generated by the µp instruction that may or may not be the same as the physical address. The breakpoint addresses are compared with the addresses generated by the program. If a match occurs, the µp cause type 1 interrupt The breakpoint addresses are useful in debugging faulty software 21-Apr-15 20

21 Debug Registers DR4 and DR5 are not used DR6 and DR7 have control bits: BT: If Set, the debug interrupt was caused by a task switch. BS: If set, the debug interrupt was caused by the TF bit in the flag register. BD: If set, the debug interrupt was caused by an attempt to read the debug register. B0 B3: indicates which of the 4 debug breakpoint addresses caused the debug interrupt. 21-Apr-15 21

22 Debug Registers LEN: These bits define the size of access at the breakpoint address. RW: These bits select the cause of action that enabled a breakpoint address. GD: If set, it prevents any read or write of a debug registry by generating the debug interrupt. GE: If set, selects a global breakpoint address LE: If set, selects a local breakpoint address 21-Apr-15 22

23 Test Registers Test registers TR6 and TR7 are used to test the Translation Look-aside Buffer (TLB) The TLB in the holds the most common 32 entries from the page table. TR6 holds the tag field of the TLB. TR7 holds the physical address of the TLB. To write a TLB entry: 1. Write TR7 for the desired physical address 2. Write TR6 with the linear address (C=0) 21-Apr-15 23

24 Test Registers To read a TLB entry: 1. Write TR6 with the linear address (C=1) 2. Read both TR6 and TR7. If the PL bit indicates a hit, the desired values of TR6 and TR7 indicate the contents of the TLB. Bits in TR6 and TR7: V: Shows that the entry in the TLB is valid C: Selects a write (0) or immediately lookup (1) PL: Indicates a hit if PL=1 21-Apr-15 24

25 80386 Memory Management The MMU is similar to that of the except that the contains a paging unit not found in the The MMU converts linear address into physical addresses using the paging mechanism. Any linear location can be mapped into any physical location (Large flexibility). The area between ROMs is called upper memory The area above FFFFFH is extended memory 21-Apr-15 25

26 M / IO Descriptors and Selectors A descriptor is a series of 8 bytes that describe and locate a memory segment. A selector (segment register) is used to index a descriptor from a table of descriptors. The has 2 extra selectors more than the (FS and GS). The uses 32-bit base address and 20-bit limit (segment length 1M if G=0 and 4G if G=1) The granularity bit is found in the descriptor. 21-Apr-15 26

27 Descriptors and Selectors If G=0, the number stored in the limit is interpreted directly as a limit, allowing it to contain any limit between 00000H and FFFFFH giving a segment size up to 2 20 or 1MB. If G=1, the number stored in the limit is interpreted as 00000XXXH-FFFFFXXXH where XXX range from 000H FFFH This allows the limit of the segment to range between 0 4GB in steps of 4 KB. 21-Apr-15 27

28 Descriptors and Selectors In the 80386, the selector uses the leftmost 13 bits to select a descriptor from the descriptor table Thus, there are 2 13 =8192 descriptors in each table Because each segment can be 4GB in length, we can access 8192*2=16384 segments at a time with 2 descriptor tables. Thus, the can access a virtual memory size of 16384*4GB=64TB There is a third descriptor table for interrupt (IDT) 21-Apr-15 28

29 Fields in The Descriptors Base (B0 B31): define the starting 32-bit address of the segment within the 4GB physical address. Limit (L0 L19): Define the limit of the segment in units of bytes (G=0) or units of 4KB (G=1) Access Rights: Determine the privilege level of the segment. G: Granularity bit selects a multiplier of 1 or 4KB D: Selects the default register size. If D=0, the registers are 16-bit and if D=1, they are 32-bit. 21-Apr-15 29

30 Fields in The Descriptors AVL: Available bit for the OS. It often indicates that the segment described by a descriptor is available. 21-Apr-15 30

31 Segment Descriptors The segment descriptor defines data, stack, and code segment. (Fig Page 185) The access right bits are described as follows: P: Present is a logic 1 to indicate that the segment is present DPL: Descriptor privilege level (00 has the highest privilege & 11 has the lowest privilege) S: Segment indicates a data or code segment descriptor (s=1) or a system segment (S=0). 21-Apr-15 31

32 Segment Descriptors E: Executable selects a data segment (E=0) or a code segment (E=1) X: If E=0, X indicates the direction of expansion for the data segment. If E=1, X indicates whether the privilege level of the code segment is ignored (X=0) or observed (X=1). RW: If E=0, the RW indicates that the data segment may be written (RW=1) or not (RW=0). If E=1, the RW indicates that the code segment may be read (RW=1) or not (RW=0). 21-Apr-15 32

33 Thank You With all best wishes!! 21-Apr-15 33

MP Assignment IV. 1. A. Describe the 80386DX memory system and explain the purpose and operation of the bank selection signals.

MP Assignment IV. 1. A. Describe the 80386DX memory system and explain the purpose and operation of the bank selection signals. MP Assignment IV 1. A. Describe the 80386DX memory system and explain the purpose and operation of the bank selection signals. The 80386 has a 32-bit data bus and four banks of memory. A logical address

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 16 Ch.7 The 80386 and 80486 Microprocessors 21-Apr-15 1 System Descriptors The system descriptor defines information about the system

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 17 Ch.8 The Pentium and Pentium Pro Microprocessors 21-Apr-15 1 Chapter Objectives Contrast the Pentium and Pentium Pro with the 80386

More information

MICROPROCESSOR ALL IN ONE. Prof. P. C. Patil UOP S.E.COMP (SEM-II)

MICROPROCESSOR ALL IN ONE. Prof. P. C. Patil UOP S.E.COMP (SEM-II) MICROPROCESSOR UOP S.E.COMP (SEM-II) 80386 ALL IN ONE Prof. P. C. Patil Department of Computer Engg Sandip Institute of Engineering & Management Nashik pc.patil@siem.org.in 1 Architecture of 80386 2 ARCHITECTURE

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 13 Ch.6 The 80186, 80188, and 80286 Microprocessors 21-Apr-15 1 Chapter Objectives Describe the hardware and software enhancements

More information

MICROPROCESSOR MICROPROCESSOR ARCHITECTURE. Prof. P. C. Patil UOP S.E.COMP (SEM-II)

MICROPROCESSOR MICROPROCESSOR ARCHITECTURE. Prof. P. C. Patil UOP S.E.COMP (SEM-II) MICROPROCESSOR UOP S.E.COMP (SEM-II) 80386 MICROPROCESSOR ARCHITECTURE Prof. P. C. Patil Department of Computer Engg Sandip Institute of Engineering & Management Nashik pc.patil@siem.org.in 1 Introduction

More information

Darshan Institute of Engineering & Technology

Darshan Institute of Engineering & Technology 1. Explain 80286 architecture. OR List the four major processing units in an 80286 microprocessor and briefly describe the function of each. Ans - The 80286 was designed for multi-user systems with multitasking

More information

MICROPROCESSOR MICROPROCESSOR ARCHITECTURE. Prof. P. C. Patil UOP S.E.COMP (SEM-II)

MICROPROCESSOR MICROPROCESSOR ARCHITECTURE. Prof. P. C. Patil UOP S.E.COMP (SEM-II) MICROPROCESSOR UOP S.E.COMP (SEM-II) 80386 MICROPROCESSOR ARCHITECTURE Prof. P. C. Patil Department of Computer Engg Sandip Institute of Engineering & Management Nashik pc.patil@siem.org.in 1 Introduction

More information

2.5 Address Space. The IBM 6x86 CPU can directly address 64 KBytes of I/O space and 4 GBytes of physical memory (Figure 2-24).

2.5 Address Space. The IBM 6x86 CPU can directly address 64 KBytes of I/O space and 4 GBytes of physical memory (Figure 2-24). Address Space 2.5 Address Space The IBM 6x86 CPU can directly address 64 KBytes of I/O space and 4 GBytes of physical memory (Figure 2-24). Memory Address Space. Access can be made to memory addresses

More information

Microprocessors and Microcontrollers/High end processors

Microprocessors and Microcontrollers/High end processors Module 8 learning unit 18 Architecture of 8386 The Internal Architecture of 8386 is divided into 3 sections. Central processing unit Memory management unit Bus interface unit Central processing unit is

More information

Architecture of 8086 Microprocessor

Architecture of 8086 Microprocessor MCQ on Microprocessor and Interfacing Technique S.E.Compure (Sem-II) UNIT 1 Architecture of 8086 Microprocessor 1 marks Questions 1. Which is first microprocessor? (a) 8008 (b) 8085 (c) 8086 (d) 4004 2.

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 14 Ch.6 The 80186, 80188, and 80286 Microprocessors 21-Apr-15 1 Timers The 80186/80188 contain three fully programmable 16-bit timers

More information

Overview of Intel 80x86 µp

Overview of Intel 80x86 µp CE444 ١ ٢ 8088/808 µp and Supporting Chips Overview of Intel 80x8 µp ٢ ١ 8088/808 µp ٣ Both are mostly the same with small differences. Both are of bit internal Data bus Both have 0 bit address bus Capable

More information

Chapter 12: INTERRUPTS

Chapter 12: INTERRUPTS Chapter 12: INTERRUPTS 12 1 BASIC INTERRUPT PROCESSING This section discusses the function of an interrupt in a microprocessor-based system. Structure and features of interrupts available to Intel microprocessors.

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 12 Ch.5 8086/8088 Hardware Specifications 22-Mar-15 1 The Buffered System If more than 10 unit loads are attached to any bus pin, the

More information

Microprocessors and Microcontrollers (EE-231)

Microprocessors and Microcontrollers (EE-231) Microprocessors and Microcontrollers (EE-231) Main Objectives 8088 and 80188 8-bit Memory Interface 8086 t0 80386SX 16-bit Memory Interface I/O Interfacing I/O Address Decoding More on Address Decoding

More information

BASIC INTERRUPT PROCESSING

BASIC INTERRUPT PROCESSING Interrupts BASIC INTERRUPT PROCESSING This section discusses the function of an interrupt in a microprocessor-based system. Structure and features of interrupts available to Intel microprocessors. The

More information

The Pentium Processor

The Pentium Processor The Pentium Processor Chapter 7 S. Dandamudi Outline Pentium family history Pentium processor details Pentium registers Data Pointer and index Control Segment Real mode memory architecture Protected mode

More information

Hardware and Software Architecture. Chapter 2

Hardware and Software Architecture. Chapter 2 Hardware and Software Architecture Chapter 2 1 Basic Components The x86 processor communicates with main memory and I/O devices via buses Data bus for transferring data Address bus for the address of a

More information

The Purpose of Interrupt

The Purpose of Interrupt Interrupts 3 Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is a hardware-initiated

More information

MICROPROCESSOR TECHNOLOGY

MICROPROCESSOR TECHNOLOGY MICROPROCESSOR TECHNOLOGY Assis. Prof. Hossam El-Din Moustafa Lecture 5 Ch.2 A Top-Level View of Computer Function (Cont.) 24-Feb-15 1 CPU (CISC & RISC) Intel CISC, Motorola RISC CISC (Complex Instruction

More information

1. state the priority of interrupts of Draw and explain MSW format of List salient features of

1. state the priority of interrupts of Draw and explain MSW format of List salient features of Q.1) 1. state the priority of interrupts of 80286. Ans- 1. Instruction exceptions 2. Single step 3. NMI 4. Processor extension segment overrun 5. INTR 6. INT 2. Draw and explain MSW format of 80286. Ans-

More information

FIGURE Three EPROMs interfaced to the 8088 microprocessor.

FIGURE Three EPROMs interfaced to the 8088 microprocessor. 10 3 8088 AND 80188 (8-BIT) MEMORY INTERFACE: Basic 8088/80188 Memory Interface: The 8088 and 80188 microprocessors have an 8-bit data bus. The memory system must decode the address to select a memory

More information

IA32 Intel 32-bit Architecture

IA32 Intel 32-bit Architecture 1 2 IA32 Intel 32-bit Architecture Intel 32-bit Architecture (IA32) 32-bit machine CISC: 32-bit internal and external data bus 32-bit external address bus 8086 general registers extended to 32 bit width

More information

7/19/2013. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter Objectives 12 1 BASIC INTERRUPT PROCESSING

7/19/2013. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter Objectives 12 1 BASIC INTERRUPT PROCESSING Chapter 12: Interrupts Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is

More information

Chapter 12: Interrupts

Chapter 12: Interrupts Chapter 12: Interrupts Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is

More information

PROTECTION CHAPTER 4 PROTECTION

PROTECTION CHAPTER 4 PROTECTION Protection 4 CHAPTER 4 PROTECTION In protected mode, the Intel Architecture provides a protection mechanism that operates at both the segment level and the page level. This protection mechanism provides

More information

UNIT II SYSTEM BUS STRUCTURE 1. Differentiate between minimum and maximum mode 2. Give any four pin definitions for the minimum mode. 3. What are the pins that are used to indicate the type of transfer

More information

80386 Segmentation unit allows segments of size at maximum. If input pin of if activated, allows address pipelining during bus cycles.

80386 Segmentation unit allows segments of size at maximum. If input pin of if activated, allows address pipelining during bus cycles. Id 1 80386 Segmentation unit allows segments of size at maximum. 4Gbytes 6Mbytes 4Mbytes 1 Mbytes Id 2 If input pin of 80386 if activated, allows address pipelining during 80386 bus cycles. S16# N# PEREQ

More information

6/17/2011. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to:

6/17/2011. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter 2: The Microprocessor and its Architecture Chapter 2: The Microprocessor and its Architecture Chapter 2: The Microprocessor and its Architecture Introduction This chapter presents the microprocessor

More information

Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT)

Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT) Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT) Y Flexible 32-Bit Microprocessor 8 16 32-Bit Data Types 8 General Purpose 32-Bit Registers

More information

Chapter 2: The Microprocessor and its Architecture

Chapter 2: The Microprocessor and its Architecture Chapter 2: The Microprocessor and its Architecture Chapter 2: The Microprocessor and its Architecture Chapter 2: The Microprocessor and its Architecture Introduction This chapter presents the microprocessor

More information

Vidyalankar T.Y. Diploma : Sem. VI [CO/CD/CM] Advanced Microprocessor

Vidyalankar T.Y. Diploma : Sem. VI [CO/CD/CM] Advanced Microprocessor T.Y. Diploma : Sem. VI [CO/CD/CM] Advanced Microprocessor Time : 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1(a) Attempt any THREE of the following : [12] Q.1(a) (i) List all general purpose

More information

32- bit Microprocessor-Intel 80386

32- bit Microprocessor-Intel 80386 32- bit Microprocessor-Intel 80386 30 Marks Course Outcome: Explain memory management and concept of pipelining. Describe the concept of paging and addressing. Signal Description of 80386 Signal Descriptions

More information

eaymanelshenawy.wordpress.com

eaymanelshenawy.wordpress.com Lectures on Memory Interface Designed and Presented by Dr. Ayman Elshenawy Elsefy Dept. of Systems & Computer Eng.. Al-Azhar University Email : eaymanelshenawy@yahoo.com eaymanelshenawy.wordpress.com Chapter

More information

Unit 08 Advanced Microprocessor

Unit 08 Advanced Microprocessor Unit 08 Advanced Microprocessor 1. Features of 80386 The 80386 microprocessor is an enhanced version of the 80286 microprocessor Memory-management unit is enhanced to provide memory paging. The 80386 also

More information

UMBC D 7 -D. Even bytes 0. 8 bits FFFFFC FFFFFE. location in addition to any 8-bit location. 1 (Mar. 6, 2002) SX 16-bit Memory Interface

UMBC D 7 -D. Even bytes 0. 8 bits FFFFFC FFFFFE. location in addition to any 8-bit location. 1 (Mar. 6, 2002) SX 16-bit Memory Interface 8086-80386SX 16-bit Memory Interface These machines differ from the 8088/80188 in several ways: The data bus is 16-bits wide. The IO/M pin is replaced with M/IO (8086/80186) and MRDC and MWTC for 80286

More information

2 3 INTRO TO PROTECTED MODE MEMORY ADDRESSING

2 3 INTRO TO PROTECTED MODE MEMORY ADDRESSING Chapter Chapter 2: 2: The The Microprocessor Microprocessor and and its its Architecture Architecture 2 3 INTRO TO PROTECTED MODE MEMORY ADDRESSING Allows access to data and programs located within & above

More information

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

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5. DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in

More information

8086 Hardware Specification

8086 Hardware Specification Content: Segment 5 8086 Hardware Specification 8086 Modes of operation. Pin diagram and pin function of 8086. 8284A Clock generator operation and pin functions. Prepared By: Mohammed Abdul Kader Lecturer,

More information

Intel386 SXSA EMBEDDED MICROPROCESSOR

Intel386 SXSA EMBEDDED MICROPROCESSOR Intel386 SXSA EMBEDDED MICROPROCESSOR Static Intel386 CPU Core Low Power Consumption Operating Power Supply 4.5V to 5.5V - 25 and 33 MHz 4.75V to 5.25V - 40 MHz Operating Frequency SA-40 = 40 MHz SA-33

More information

8086 Interrupts and Interrupt Responses:

8086 Interrupts and Interrupt Responses: UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller

More information

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.

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. 8086/88 Device Specifications Both are packaged in DIP (Dual In-Line Packages). 8086: 16-bit microprocessor with a 16-bit data bus 8088: 16-bit microprocessor with an 8-bit data bus. Both are 5V parts:

More information

ECE 485/585 Microprocessor System Design

ECE 485/585 Microprocessor System Design Microprocessor System Design Lecture 3: Polling and Interrupts Programmed I/O and DMA Interrupts Zeshan Chishti Electrical and Computer Engineering Dept Maseeh College of Engineering and Computer Science

More information

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics Moodle 4 WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics Advanced Microprocessors and Introduction to Microcontroller Moodle developed By Dr. S. R. Kumbhar Department of Electronics Willingdon

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

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

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly. Unit I 8085 and 8086 PROCESSOR Introduction to microprocessor A microprocessor is a clock-driven semiconductor device consisting of electronic logic circuits manufactured by using either a large-scale

More information

Instructions Involve a Segment Register (SR-field)

Instructions Involve a Segment Register (SR-field) BYTE 1 = 11000111 2 = C7 16 BYTE 2 = (MOD)000(R/M) = 100000112 = 83 16 BYTE 3 = 34 16 and BYTE 4 = 12 16 BYTE 5 = CD 16 and BYTE 6 = AB 16 The machine code for the instruction is: MOV [BP+DI+1234H], 0ABCDH

More information

1. Internal Architecture of 8085 Microprocessor

1. Internal Architecture of 8085 Microprocessor 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the

More information

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

Chapter 13 Direct Memory Access and DMA-Controlled I/O Chapter 13 Direct Memory Access and DMA-Controlled I/O The DMA I/O technique provides direct access to the memory while the microprocessor is temporarily disabled This allows data to be transferred between

More information

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure EC 6504 Microprocessor and Microcontroller Unit II 8086 System Bus Structure Syllabus: 8086 Signals Basic Configurations System bus timing System Design using 8086 IO Programming Introduction to multiprogramming

More information

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR Year/sem: 02/04 Academic Year: 2014-2015 (even) UNIT II THE 8086 SYSTEM BUS STRUCTURE PART A 1. What are the three groups of signals in 8086? The 8086 signals are categorized in three groups. They are:

More information

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE 1 CHAPTER 6 HARDWARE ARCHITECTURE OF 8086 8086 Architecture: 6.1 8086 Pin diagram 8086 is a 40 pin DIP using CHMOS technology. It has 2 GND s as circuit complexity demands a large amount of current flowing

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 TOPICS TODAY I/O Architectures Interrupts Exceptions FETCH EXECUTE CYCLE 1.7 The von Neumann Model This is a general

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

Structure of Computer Systems

Structure of Computer Systems 222 Structure of Computer Systems Figure 4.64 shows how a page directory can be used to map linear addresses to 4-MB pages. The entries in the page directory point to page tables, and the entries in a

More information

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Organization Part II Ujjwal Guin, Assistant Professor Department of Electrical and Computer Engineering Auburn University, Auburn,

More information

PIN DIAGRAM. Richa Upadhyay Prabhu. NMIMS s MPSTME January 19, 2016

PIN DIAGRAM. Richa Upadhyay Prabhu. NMIMS s MPSTME January 19, 2016 PIN DIAGRAM Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu January 19, 2016 Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 1 / 51 Pin Diagram of 8086 Richa Upadhyay

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

9/25/ Software & Hardware Architecture

9/25/ Software & Hardware Architecture 8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called

More information

Chapter 2 COMPUTER SYSTEM HARDWARE

Chapter 2 COMPUTER SYSTEM HARDWARE Chapter 2 COMPUTER SYSTEM HARDWARE A digital computer system consists of hardware and software. The hardware consists of the physical components of the system, whereas the software is the collection of

More information

Pin Description, Status & Control Signals of 8085 Microprocessor

Pin Description, Status & Control Signals of 8085 Microprocessor Pin Description, Status & Control Signals of 8085 Microprocessor 1 Intel 8085 CPU Block Diagram 2 The 8085 Block Diagram Registers hold temporary data. Instruction register (IR) holds the currently executing

More information

UNIT 2 PROCESSORS ORGANIZATION CONT.

UNIT 2 PROCESSORS ORGANIZATION CONT. UNIT 2 PROCESSORS ORGANIZATION CONT. Types of Operand Addresses Numbers Integer/floating point Characters ASCII etc. Logical Data Bits or flags x86 Data Types Operands in 8 bit -Byte 16 bit- word 32 bit-

More information

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

Chapter 8 Summary: The 8086 Microprocessor and its Memory and Input/Output Interface Chapter 8 Summary: The 8086 Microprocessor and its Memory and Input/Output Interface Figure 1-5 Intel Corporation s 8086 Microprocessor. The 8086, announced in 1978, was the first 16-bit microprocessor

More information

Enhanced Am486 DX Microprocessor Family

Enhanced Am486 DX Microprocessor Family PRELIMINARY Enhanced Am486 DX Microprocessor Family DISTINCTIVE CHARACTERISTICS High-Performance Design - Industry-standard write-back cache support - Frequent instructions execute in one clock - 105.6-million

More information

EC-333 Microprocessor and Interfacing Techniques

EC-333 Microprocessor and Interfacing Techniques EC-333 Microprocessor and Interfacing Techniques Lecture 3 The Microprocessor and its Architecture Dr Hashim Ali Fall - 2018 Department of Computer Science and Engineering HITEC University Taxila Slides

More information

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor Slide 1 Microprocessor A microprocessor is a multipurpose, programmable, clock-driven, register-based electronic device That reads binary instructions from a storage device

More information

Chapter 12. CPU Structure and Function. Yonsei University

Chapter 12. CPU Structure and Function. Yonsei University Chapter 12 CPU Structure and Function Contents Processor organization Register organization Instruction cycle Instruction pipelining The Pentium processor The PowerPC processor 12-2 CPU Structures Processor

More information

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

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output 8085 SATISH CHANDRA What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes whatever. In this context, processor means a device that processes

More information

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS UNIT I INTRODUCTION TO 8085 8085 Microprocessor - Architecture and its operation, Concept of instruction execution and timing diagrams, fundamentals of

More information

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

Microprocessor s. Address Bus. External Buses. Interfacing CPU with external word. We classify the CPU interfacing signals in three functional buses: Interfacing CPU with external word s interfacing signals bus bus Power supply lines a d Typical Bus arbitration Status Bus control Interrupts control Control bus Clock signal Miscellaneous External Buses

More information

143A: Principles of Operating Systems. Lecture 6: Address translation. Anton Burtsev January, 2017

143A: Principles of Operating Systems. Lecture 6: Address translation. Anton Burtsev January, 2017 143A: Principles of Operating Systems Lecture 6: Address translation Anton Burtsev January, 2017 Address translation Segmentation Descriptor table Descriptor table Base address 0 4 GB Limit

More information

Microprocessor Architecture

Microprocessor Architecture Microprocessor - 8085 Architecture 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration

More information

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

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

8086 PIN Diagram Signals with common functions in both Modes: The following signal description is common for both the minimum and maximum modes.

8086 PIN Diagram Signals with common functions in both Modes: The following signal description is common for both the minimum and maximum modes. UNIT II - 8086 SYSTEM BUS STRUCTURE 8086 signals Basic configurations System bus timing System design using 8086 IO programming Introduction to Multiprogramming System Bus Structure Multiprocessor configurations

More information

EMBEDDED IntelDX2 PROCESSOR

EMBEDDED IntelDX2 PROCESSOR EMBEDDED IntelDX2 PROCESSOR Integrated Floating-Point Unit Speed-Multiplying Technology 32-Bit RISC Technology Core 8-Kbyte Write-Through Cache Four Internal Write Buffers Burst Bus Cycles Dynamic Bus

More information

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24 Prepared By ASCOL CSIT 2070 Batch Institute of Science and Technology 2065 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

Chapter 1: Basics of Microprocessor [08 M]

Chapter 1: Basics of Microprocessor [08 M] Microprocessor: Chapter 1: Basics of Microprocessor [08 M] It is a semiconductor device consisting of electronic logic circuits manufactured by using either a Large scale (LSI) or Very Large Scale (VLSI)

More information

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

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors OVERVIEW UNIT II Introduction to 8086 microprocessors Architecture of 8086 processors Register Organization of 8086 Memory Segmentation of 8086 Pin Diagram of 8086 Timing Diagrams for 8086 Interrupts of

More information

6x86 PROCESSOR Superscalar, Superpipelined, Sixth-generation, x86 Compatible CPU

6x86 PROCESSOR Superscalar, Superpipelined, Sixth-generation, x86 Compatible CPU 6x86 PROCESSOR Superscalar, Superpipelined, Sixth-generation, x86 Compatible CPU Bus Interface 3.0 6x86 BUS INTERFACE The signals used in the 6x86 CPU bus interface are described in this chapter. Figure

More information

3.6. PAGING (VIRTUAL MEMORY) OVERVIEW

3.6. PAGING (VIRTUAL MEMORY) OVERVIEW an eight-byte boundary to yield the best processor performance. The limit value for the GDT is expressed in bytes. As with segments, the limit value is added to the base address to get the address of the

More information

6x86 PROCESSOR Superscalar, Superpipelined, Sixth-generation, x86 Compatible CPU

6x86 PROCESSOR Superscalar, Superpipelined, Sixth-generation, x86 Compatible CPU 6x86 PROCESSOR Superscalar, Superpipelined, Sixth-generation, x86 Compatible CPU Introduction Sixth-Generation Superscalar Superpipelined Architecture - Dual 7-stage integer pipelines - High performance

More information

AMD-K5. Software Development Guide PROCESSOR

AMD-K5. Software Development Guide PROCESSOR AMD-K5 TM PROCESSOR Software Development Guide Publication # 20007 Rev: D Amendment/0 Issue Date: September 1996 This document contains information on a product under development at Advanced Micro Devices

More information

Part I. X86 architecture overview. Secure Operating System Design and Implementation x86 architecture. x86 processor modes. X86 architecture overview

Part I. X86 architecture overview. Secure Operating System Design and Implementation x86 architecture. x86 processor modes. X86 architecture overview X86 architecture overview Overview Secure Operating System Design and Implementation x86 architecture Jon A. Solworth Part I X86 architecture overview Dept. of Computer Science University of Illinois at

More information

x86 segmentation, page tables, and interrupts 3/17/08 Frans Kaashoek MIT

x86 segmentation, page tables, and interrupts 3/17/08 Frans Kaashoek MIT x86 segmentation, page tables, and interrupts 3/17/08 Frans Kaashoek MIT kaashoek@mit.edu Outline Enforcing modularity with virtualization Virtualize processor and memory x86 mechanism for virtualization

More information

Basic I/O Interface

Basic I/O Interface Basic I/O Interface - 8255 11 3 THE PROGRAMMABLE PERIPHERAL 82C55 programmable peripheral interface (PPI) is a popular, low-cost interface component found in many applications. The PPI has 24 pins for

More information

EEM336 Microprocessors I. The Microprocessor and Its Architecture

EEM336 Microprocessors I. The Microprocessor and Its Architecture EEM336 Microprocessors I The Microprocessor and Its Architecture Introduction This chapter presents the microprocessor as a programmable device by first looking at its internal programming model and then

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit

More information

EC 6504 MICROPROCESSOR AND MICROCONTROLLER Electronicsand Communication Engineering Fifth Semester UNIT-1I Part A 1. Definemachinecycle.

EC 6504 MICROPROCESSOR AND MICROCONTROLLER Electronicsand Communication Engineering Fifth Semester UNIT-1I Part A 1. Definemachinecycle. EC 6504 MICROPROCESSOR AND MICROCONTROLLER Electronicsand Communication Engineering Fifth Semester UNIT-1I Part A 1. Definemachinecycle. [N/D 16] Machine cycle is defined as the time required to complete

More information

Computer Organization (II) IA-32 Processor Architecture. Pu-Jen Cheng

Computer Organization (II) IA-32 Processor Architecture. Pu-Jen Cheng Computer Organization & Assembly Languages Computer Organization (II) IA-32 Processor Architecture Pu-Jen Cheng Materials Some materials used in this course are adapted from The slides prepared by Kip

More information

Architecture of 8085 microprocessor

Architecture of 8085 microprocessor Architecture of 8085 microprocessor 8085 consists of various units and each unit performs its own functions. The various units of a microprocessor are listed below Accumulator Arithmetic and logic Unit

More information

Virtual Memory. Patterson & Hennessey Chapter 5 ELEC 5200/6200 1

Virtual Memory. Patterson & Hennessey Chapter 5 ELEC 5200/6200 1 Virtual Memory Patterson & Hennessey Chapter 5 ELEC 5200/6200 1 Virtual Memory Use main memory as a cache for secondary (disk) storage Managed jointly by CPU hardware and the operating system (OS) Programs

More information

Interrupts. Chapter 20 S. Dandamudi. Outline. Exceptions

Interrupts. Chapter 20 S. Dandamudi. Outline. Exceptions Interrupts Chapter 20 S. Dandamudi Outline What are interrupts? Types of interrupts Software interrupts Hardware interrupts Exceptions Interrupt processing Protected mode Real mode Software interrupts

More information

Lecture 21: Virtual Memory. Spring 2018 Jason Tang

Lecture 21: Virtual Memory. Spring 2018 Jason Tang Lecture 21: Virtual Memory Spring 2018 Jason Tang 1 Topics Virtual addressing Page tables Translation lookaside buffer 2 Computer Organization Computer Processor Memory Devices Control Datapath Input Output

More information

MA Unit 4. Question Option A Option B Option C Option D

MA Unit 4. Question Option A Option B Option C Option D Matoshri College of Engineering & Research Centre Nashik Department of Computer Engineering Class :- Second Year Computer Engineering Sem - 1 Subject :- MICROPROCESSOR ARCHITECTURE UNIT-IV 1 Accumulator

More information

3. The MC6802 MICROPROCESSOR

3. The MC6802 MICROPROCESSOR 3. The MC6802 MICROPROCESSOR This chapter provides hardware detail on the Motorola MC6802 microprocessor to enable the reader to use of this microprocessor. It is important to learn the operation and interfacing

More information

Microcomputer System Design

Microcomputer System Design Microcomputer System Design COE305 Lab. What is a Microprocessor? A microprocessor is a multipurpose, clockdriven, register-based electronic device that reads binary instructions from a storage device

More information

UNIT-1. It is a 16-bit Microprocessor (μp).it s ALU, internal registers works with 16bit binary word.

UNIT-1. It is a 16-bit Microprocessor (μp).it s ALU, internal registers works with 16bit binary word. UNIT-1 Introduction to 8086: 8086 Microprocessor is an enhanced version of 8085Microprocessor that was designed by Intel in 1976. It is a 16-bit Microprocessor having 20 address lines and16 data lines

More information

EC6504 MICROPROCESSOR AND MICROCONTROLLER

EC6504 MICROPROCESSOR AND MICROCONTROLLER UNIT I THE 8086 MICROPROCESSOR 1. What do you mean by Addressing modes? (May/June 2014) The different ways that a microprocessor can access data are referred to as addressing modes. 2. What is meant by

More information