Lecture 6: memory structure 8086 Outline: 1.introduction 2.memory reserve 3.bus operation

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

MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN

8086 Hardware Specification

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

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

icroprocessor istory of Microprocessor ntel 8086:


Microcomputer System Design

Handout 15. by Dr Sheikh Sharif Iqbal. Memory Interface of 8088 and 8086 processors

Module 5 - CPU Design

16-Bit Intel Processor Architecture

Microprocessors and Microcontrollers (EE-231)

4) In response to the the 8259A sets the highest priority ISR, bit and reset the corresponding IRR bit. The 8259A also places

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

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

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR

Features. PART NUMBER PART MARKING TEMP. RANGE ( C) PACKAGE PKG. DWG. # CP80C86-2Z (Note 1) CP80C86-2Z 0 to Ld PDIP (Note 2) (RoHS compliant)

Internal architecture of 8086

9/25/ Software & Hardware Architecture

Intel 8086 MICROPROCESSOR. By Y V S Murthy

Overview of Intel 80x86 µp

Description. SMD# -55 o C to +125 o C QA QA F40.6 CLCC -55 o C to +125 o C MR80C86/B MR80C86-

UNIT IV MICROCONTROLLER

DRAM Refresh Control with the

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

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

The 8086 Microprocessor

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

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

Intel 8086 MICROPROCESSOR ARCHITECTURE

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

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

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

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR

Q.1 Explain Computer s Basic Elements

8051 Microcontroller

Memorial University of Newfoundland

1. Internal Architecture of 8085 Microprocessor

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

CPU CPU MEMORY MICRO CONTROLLER MICRO PROCESSER. Consists Memory, I/o ports. Memory, I/O Ports to be connected externally. MEMORY I/O PORTS I/O PORTS

Features. PART NUMBER PART MARKING TEMPERATURE RANGE ( C) PACKAGE PKG. DWG. # MD80C88-2/883 MD80C88-2/ to LD CERDIP F40.

Features. M. Krishna Kumar MAM/M5/LU13/2004 1

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

8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52

Question Bank Microprocessor and Microcontroller

CC411: Introduction To Microprocessors

CPU Structure and Function

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

Chapter 9. Programming Framework

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

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

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

FIGURE Three EPROMs interfaced to the 8088 microprocessor.

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

CPU Structure and Function

ELE 3230 Microprocessors and Computer Systems

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

Lecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon.

Basic characteristics & features of 8086 Microprocessor Dr. M. Hebaishy

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

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit

Northern India Engineering College, Delhi (GGSIP University) PAPER I

80C88. CMOS 8/16-Bit Microprocessor. Description. Features. Ordering Information FN July 2004

DATASHEET HS-80C86RH. Features. Ordering Information. Radiation Hardened 16-Bit CMOS Microprocessor. FN3035 Rev 0.00 Page 1 of 30.

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

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:

Basic Processing Unit: Some Fundamental Concepts, Execution of a. Complete Instruction, Multiple Bus Organization, Hard-wired Control,

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

Basics of Microprocessor

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

UNIT 1. Introduction to microprocessor. Block diagram of simple computer or microcomputer.

Topic 2 :16 Bit Microprocessor: 8086 (24 Marks)

BAHAR DÖNEMİ MİKROİŞLEMCİLER LAB3 FÖYÜ

The Purpose of Interrupt

Various Instruction Addressing Modes Of 8086 Microprocessor Ppt

William Stallings Computer Organization and Architecture

INTRODUCTION TO MICROPROCESSORS

C86 80C88 DS-186

Where Does The Cpu Store The Address Of The

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

System Reset / C167. Figure 17-1 External Reset Circuitry. Semiconductor Group 17-1

INTERFACING THE ISCC TO THE AND 8086

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

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

PESIT Bangalore South Campus

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

Overview. M. Krishna Kumar MM/M4/LU10/V1/2004 1

LECTURE NOTES MICROPROCESSORS AND INTERFACING DEVICES

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

EC Microprocessor and Microcontroller

MATH CO-PROCESSOR 8087

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

William Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function

8051 Microcontroller

8086 Interrupts and Interrupt Responses:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Microprocessors and Microcontrollers. Assignment 1:

Transcription:

Lecture 6: memory structure 8086 Outline: 1.introduction 2.memory reserve 3.bus operation 1

1.INRTODUCTION The 8086 memory is a sequence of up to 1 million 8-bit bytes, a considerable increase over the 64K bytes in the 8080. Any two consecutive bytes may be paired together to form a 16-bit word. Such words may be located at odd or even byte addresses (16-bit references to odd locations require two hardware memory cycles, while those to even locations require just one). The most significant 8 bits of word are located in the byte with the higher memory address. The 8086 memory may be conceived of as an arbitrary number of segments, each at most 64K bytes in size. Each segment begins at an address which is evenly divisible by 16 (i.e., the low-order 4 bits of a segment's address are zero). At any given moment the contents of four of these segments are immediately addressable. These four segments, called the current code segment, the current data segment, the current stack segment, and the current extra segment, need not be unique and may overlap. The high-order 16 bits of the address of each current segment are held in a dedicated 16-bit segment register and are called the segment address. In the degenerate case where all four segments start at the same address, namely address 0, we have an 8080 memory structure. Bytes or words within a segment are addressed using 16-bit offset addresses within the 64K byte segment. A 20-bit physical address is constructed by adding the 16-bit offset address to the 16-bit segment address with 4 low-order zero bits appended. memory structure is shown in figure (1). Figure 1: memory structure For address and data operands (word 16 bit), the least significant byte of the word is stored in the lower valued address location and the most 2

significant byte in the next higher address location. The BIU automatically performs the proper number of memory accesses, one if the word operand is on an even byte boundary and two if it is on an odd byte boundary. Except for the performance penalty, this double access is transparent to the software. This performance penalty does not occur for instruction fetches, only word operands. Physically, the memory is organized as a high bank (D15-D8) and a low bank (D7-D0) of 512K 8- bit bytes addressed in parallel by the processor's address lines A19-A1. Byte data with even addresses is transferred on the (D7-D0) bus lines while odd addressed byte data (A0 HIGH) is transferred on the (D15-D8) bus lines. The processor provides two enable signals, BHE and A0, to selectively allow reading from or writing into either an odd byte location, even byte location, or both. The instruction stream is fetched from memory as words and is addressed internally by the processor to the byte level as necessary. 2.MMEMORY RESERVE Certain locations in memory are reserved for specific CPU operations Locations from address FFFF0H through FFFFFH are reserved for operations including a jump to the initial program loading routine. Following RESET, the CPU will always begin execution at location FFFF0H where the jump must be. Locations 00000H through 003FFH are reserved for interrupt operations. Each of the 256 possible interrupt types has its service routine pointed to by a 4-byte pointer element consisting of a 16-bit segment address and a 16-bit offset address. The pointer elements are assumed to have been stored at the respective places in reserved memory prior to occurrence of interrupts. 2.1 Minimum and Maximum Modes The requirements for supporting minimum and maximum 8086 systems are sufficiently different that they cannot be done efficiently with 40 uniquely defined pins. Consequently, the 8086 is equipped with a strap pin (MN/MX) which defines the system configuration. The definition of a certain subset of the pins changes dependent on the condition of the strap pin. When MN/MX pin is strapped to GND, the 3

8086 treats pins 24 through 31 in maximum mode. An 8288 bus controller interprets status information coded into S0, S1, S2 to generate bus timing and control signals compatible with the MULTIBUS architecture. When the MN/MX pin is strapped to VCC, the 8086 generates bus control signals itself on pins 24 through 31. Examples of minimum mode and maximum mode systems are shown in Figure (2) Figure 2:a-minimum mode, b-maximum mode 4

3.BUS OPERATION The 8086 has a combined address and data bus commonly referred to as a time multiplexed bus. This technique provides the most efficient use of pins on the processor while permitting the use of a standard 40-lead package. This ``local bus'' can be buffered directly and used throughout the system with address latching provided on memory and I/O modules. In addition, the bus can also be demultiplexed at the processor with a single set of address latches if a standard non-multiplexed bus is desired for the system. Each processor bus cycle consists of at least four CLK cycles. These are referred to as T1, T2, T3 and T4 which describe as follow : T1:The address is emitted from the processor. T2 is used primarily for changing the direction of the bus during read operations. T3 and T4: data transfer occurs on the bus during. Tw: Wait'' states are inserted between T3 and T4. Each inserted ``Wait'' state is of the same duration as a CLK cycle. Periods can occur between 8086 bus cycles. These are referred to as ``Idle'' states (Ti) or inactive CLK cycles. The processor uses these cycles for internal housekeeping. During T1 of any bus cycle the ALE (Address Latch Enable) signal is emitted (by either the processor or the 8288 bus controller, depending on the MN/MX strap). At the trailing edge of this pulse, a valid address and certain status information for the cycle may be latched. Status bits S0, S1, and S2 are used, in maximum mode, by the bus controller to identify the type of bus transaction according to the following table 5

Status bits S3 through S7 are multiplexed with high order address bits and the BHE signal, and are therefore valid during T2 through T4. S3 and S4 indicate which segment register was used for this bus cycle in forming the address, according to the following table S5 is a reflection of the PSW interrupt enable bit. S6 is 0 and S7 is a spare status bit. 6