CS 301 Fall 2002 Computer Organization

Slides:



Advertisements
Similar presentations
Intel 8086.
Advertisements

Registers of the 8086/ /2002 JNM.
Introduction to 8086 Microprocessor
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Princess Sumaya University
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 2 The Microprocessor and its Architecture.
1 ICS 51 Introductory Computer Organization Fall 2006 updated: Oct. 2, 2006.
Assembly Language for Intel-Based Computers Chapter 2: IA-32 Processor Architecture Kip Irvine.
Microprocessors Introduction to ia32 Architecture Jan 31st, 2002.
ICS312 Set 3 Pentium Registers. Intel 8086 Family of Microprocessors All of the Intel chips from the 8086 to the latest pentium, have similar architectures.
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 2: 80386DX Internal Architecture & Data Organization.
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 2 The Microprocessor and its Architecture.
Gursharan Singh Tatla Block Diagram of Intel 8086 Gursharan Singh Tatla 19-Apr-17.
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
CEG 320/520: Computer Organization and Assembly Language ProgrammingIntel Assembly 1 Intel IA-32 vs Motorola
An Introduction to 8086 Microprocessor.
The Pentium Processor.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Addressing Mode.
Types of Registers (8086 Microprocessor Based)
(-133)*33+44* *33+44*14 Input device memory calculator Output device controller Control bus data bus memory.
Chapter 2 Parts of a Computer System. 2.1 PC Hardware: Memory.
Computers organization & Assembly Language Chapter 1 THE 80x86 MICROPROCESSOR.
INTRODUCTION TO INTEL X-86 FAMILY
Chapter 2 The Microprocessor Architecture Microprocessors prepared by Dr. Mohamed A. Shohla.
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
Internal Programming Architecture or Model
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Intel 8086 MICROPROCESSOR ARCHITECTURE
BITS Pilani Pilani Campus Pawan Sharma Lecture / ES C263 INSTR/CS/EEE F241 Microprocessor Programming and Interfacing.
Intel MP Organization. Registers - storage locations found inside the processor for temporary storage of data 1- Data Registers (16-bit) AX, BX, CX, DX.
The Microprocessor & Its Architecture A Course in Microprocessor Electrical Engineering Department Universitas 17 Agustus 1945 Jakarta.
ΜComputer Structure μProcessor Memory Bus System I/O Ports.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
Chapter Overview General Concepts IA-32 Processor Architecture
An Introduction to 8086 Microprocessor.
Part of the Assembler Language Programmers Toolbox
Difference between Microprocessor and Microcontroller
History – 2 Intel 8086.
UNIT Architecture M.Brindha AP/EIE
Introduction to 8086 Microprocessor
8086 Microprocessor.
Computer Organization & Assembly Language Chapter 3
Intel 8086 MICROPROCESSOR Architecture.
Basic Microprocessor Architecture
Assembly IA-32.
Microprocessor The microprocessors functions as the CPU in the stored program model of the digital computer. Its job is to generate all system timing signals.
University of Gujrat Department of Computer Science
Intel 8088 (8086) Microprocessor Structure
Homework Reading Continue work on mp1
Basic of Computer Organization
Microcomputer & Interfacing Lecture 1
Symbolic Instruction and Addressing
Introduction to Assembly Language
Microprocessor & Assembly Language
Intel 8088 (8086) Microprocessor Structure
8086 Registers Module M14.2 Sections 9.2, 10.1.
CS-401 Computer Architecture & Assembly Language Programming
Morgan Kaufmann Publishers Computer Organization and Assembly Language
The Microprocessor & Its Architecture
Assembly Language (CSW 353)
Computer Architecture CST 250
Unit-I 80386DX Architecture
Intel 8086.
8086 microprocessior PIN OUT DIAGRAM OF  Power supply and frequency signals  It uses 5V DC supply at V CC pin 40, and uses ground at V SS pin.
Part I Data Representation and 8086 Microprocessors
Presentation transcript:

CS 301 Fall 2002 Computer Organization Slide Set 2 12/1/2018

Processors – the 808x line Processor Data bus Registers Address space Modes 8088 8-bit 16-bit 1 Megabyte Real 8086 R 80286 16 Megabytes R, Protected 80386 32-bit 4 Gigabytes R, P 80486 4 Gigabytes and cache Pentium 64-bit 4 Gigabytes and separate caches Pentium II, III, 4 As Pentium, but Dual Independent Bus for separate paths to cache and memory. 12/1/2018

Pipelining and other speedups Each more advanced processor does more at once (pipelining) Branch prediction (because processors are faster than memory) 12/1/2018

Parts of the CPU Execution Unit: registers, control unit (CU), arithmetic and logic unit (ALU) – executes instructions BIU: brings instructions to EU, manages segment registers and instruction queue. 12/1/2018

Internal Memory RAM – random access memory ROM – read only memory 808x processors that handle more than one byte at a time store the most significant byte in the high memory address and the low order byte in the low address. 12/1/2018

Real Mode 8086/8088 and up have real mode. Segment registers are 16-bit, addressable space is 00000h to FFFFFh. How do you use 16-bit registers to address into a memory space that requires a 20-bit number? Use two 16 bit values to determine an address. Multiply the first by 10h and add the second. 12/1/2018

16-bit protected mode Introduced with 80286, selector values (contents of segment registers) are indexes into a descriptor table. In protected mode, each segment is assigned an entry into a descriptor table. The entry contains all information the system needs to know, such as if it is currently in memory (virtual memory), where it is in memory, its access permissions, etc. Major disadvantage is that offsets are still 16-bit quantities, meaning each segment contains at most 64K. 12/1/2018

32-bit protected mode Introduced with 80386, similar to 16-bit protected mode except offsets are now 32 bits, so segments can contain up to 4 gigabytes. Divides segments up into pages of 4K. Virtual memory now works with pages instead of entire segments. 12/1/2018

Segment Registers 1 CS register – contains starting address of the code segment. Along with IP, [CS:IP] gives the address of the instruction to be fetched for execution. DS register – contains starting address of the data segment. Used with offsets included in instructions. 12/1/2018

Segment Registers 2 SS register – For the stack segment, used as [SS:SP]. Also (in subroutines) [SS:BP]. ES register – Used (as [ES:DI]) by some string operations to handle memory addressing. FS and GS registers – Additional extra segment registers introduced with 80386 processor. 12/1/2018

Pointer Registers The 32 bit pointer registers are EIP, ESP, and EBP. Their rightmost 16 bits are called IP, SP, and BP. Pointer registers are offsets to be combined with segment registers. IP is used with CS, SP and BP are used with SS. 12/1/2018

General Registers 1 The 32-bit registers are EAX, EBX, ECX, EDX. Their rightmost 16 bits are AX, BX, etc. Of those 16 bits, the leftmost byte (high bits) are AH, BH, etc. and the rightmost byte (low bits) are AL, BL, etc. AH AL AX EAX 12/1/2018

General Registers 2 AX – the primary accumulator is used for I/O and most arithmetic (such as multiply, divide, and translate). Many instructions generate more efficient machine code if the reference AX rather than some other register. BX – the base register. BX is the only general purpose register that can be used as an index to extend addressing. BX is also often used for computation and with SI or SI as a base register. 12/1/2018

General Registers 3 CX is called the count register. It is often used as a loop index, or a value to shift bits left or right. DX is called the data register. Some I/O operations require it, and large multiplication and division operations use it along with AX as a pair. 12/1/2018

Index Registers ESI and EDI are the 32-bit index registers, their rightmost 16 bits are SI and DI respectively. SI is the “source index register” associated with DS for some string operations DI is the “destination index register” associated with ES for some string operations. 12/1/2018

Flag Register The 32-bit EFLAGS contains bits indicating the status of various activities. The rightmost 16 bits of EFLAGS is the FLAGS register, nine of its 16 bits indicate the status and results of processing. Many instructions change the status of these flags, other instructions test the flags to determine later action. 12/1/2018

Flag bits 1 OF (overflow) Indicates overflow of the leftmost bit during arithmetic. DF (direction) Indicates left or right for moving or comparing string data. IF (interrupt) Indicates whether external interrupts are being processed or ignored. TF (trap) Permits operation of the processor in single step mode. 12/1/2018

Flag bits 2 SF (sign) Contains the resulting sign of an arithmetic operation (1=negative) ZF (zero) Indicates when the result of arithmetic or a comparison is zero. (1=yes) AF (auxiliary carry) Contains carry out of bit 3 into bit 4 for specialized arithmetic. PF (parity) Indicates the number of 1 bits that result from an operation. 12/1/2018

Flag bits 3 CF (carry) Contains carry from leftmost bit following arithmetic, also contains last bit from a shift or rotate operation. Flag O D I T S Z A P C Bit no. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 12/1/2018

Hardware Interrupts Some events cause the processor to stop what it is doing and act immediately on something else. Usually these are normal such as keyboard input, but sometimes they are critical, such as divide by zero. There are also software interrupts, such as a request by the program to display data on the screen. After an interrupt is processed the processor returns to what it was doing. 12/1/2018