University of Gujrat Department of Computer Science

Slides:



Advertisements
Similar presentations
Register In computer architecture, a processor register is a small amount of storage available on the CPU whose contents can be accessed more quickly than.
Advertisements

MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Parul Polytechnic Institute
Introduction to 8086 Microprocessor
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
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.
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.
An Introduction to 8086 Microprocessor.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
Types of Registers (8086 Microprocessor Based)
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
CSNB374: Microprocessor Systems Chapter 1: Introduction to Microprocessor.
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
Intel 8086 (8088) Microprocessor Structure
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Microprocessor Fundamentals Week 2 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Intel 8086 MICROPROCESSOR ARCHITECTURE
I NTEL 8086 M icroprocessor بسم الله الرحمن الرحيم 1.
Μ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 2 content Basic organization of computer What is motherboard
Computing Science Computer Structure: Lesson 1: Processor Structure
Homework Reading Lab with your assigned section starts next week
x86 Processor Architecture
UNIT Architecture M.Brindha AP/EIE
Chapter 7.2 Computer Architecture
Introduction to 8086 Microprocessor
COURSE OUTCOMES OF Microprocessor and programming
8086 Microprocessor.
Computer Organization & Assembly Language Chapter 3
Lecture on Microcomputer
ADDRESSING MODES.
Introduction of microprocessor
Intel 8086 MICROPROCESSOR Architecture.
ADDRESSING MODES.
University of Gujrat Department of Computer Science
Intel 8088 (8086) Microprocessor Structure
1st micro 1971 calculator 2300 transistors 4-bit microprocessor
CNET 315 Microprocessor & Assembly Language
Homework Reading Continue work on mp1
Basic of Computer Organization
Microcomputer & Interfacing Lecture 1
Number Representations and Basic Processor Architecture
Intel 8088 (8086) Microprocessor Structure
8086 Registers Module M14.2 Sections 9.2, 10.1.
8086 Ahad.
Introduction to Computing
CS 301 Fall 2002 Computer Organization
Lecture 06 Programming language.
Unit-I 80386DX Architecture
COMP 1321 Digital Infrastructure
Intel 8086.
Information Representation: Machine Instructions
Part I Data Representation and 8086 Microprocessors
Microprocessor Lecture 7 (8086 Registers).
Presentation transcript:

University of Gujrat Department of Computer Science Course Code : CS-252 Computer Organization and Assembly Language Lecture # 2 Basic Computer Organization University of Gujrat

Basic Computer Organization A computer system comprises of Processor, Memory and I/O devices. I/O is used for interfacing with the external world, while memory is the processor’s internal world. Processor is the core component and is responsible for performing operations. Memory Processor I/O I/O University of Gujrat

Interconnection between Components University of Gujrat

Interconnection between Components The processor performs an operation on data, which resides in memory. A mechanism is required for the processor to read data from the memory. Processor Operation Memory Data Memory Data University of Gujrat

Address, Data and Control Buses There must be a mechanism to inform memory that we want to do the read operation Control Bus There must be a mechanism to inform memory that we want to read precisely which element Address Bus There must be a mechanism to transfer that data element from memory to processor Data Bus University of Gujrat

Bus The process may be able to communicate with all the devices. The devices are connected together by communication channel called a BUS. A bus is composed of a set of communication lines or wires. It is used to move large amount of bits in form of electrical pulses from a specified source to a specified destination. University of Gujrat

Control, Address and Data Buses The group of lines that carry control information from the control unit to the other units is the Control Bus The group of lines that carries the address information is the Address Bus The group of wires or lines that moves data between the different components is the Data Bus For e.g. If the processor wants to read data from the address ‘135Fh’ of memory Processor 135Fh Memory Address Bus 2 Data Bus Read Control Bus University of Gujrat

Control, Address and Data Buses Processor Address Bus Memory Data Bus Control Bus University of Gujrat

What do buses look like? Parallel lines on circuit boards Ribbon cables Strip connectors on mother boards e.g. PCI Set of wires Fig. Parallel lines Fig. Ribbon Cables University of Gujrat Fig. connectors Fig. Set of wires

Basic Memory Organization Information processed by a computer is stored in its memory. University of Gujrat

Memory Byte Memory circuit element can store one bit of data. Contents Memory circuit element can store one bit of data. Memory circuits are organized into groups that can store 8 bits of data called Memory Byte. Each memory byte is identified a number that is called its Address. Contents of Memory Byte are always 8 bits but the number of bits in an address depends upon the processor. For e.g. Intel 8086 microprocessor assigns a 20-bit address Address 4 01011011 3 11001001 2 01011011 01000010 1 00011000 University of Gujrat

Memory Word Memory Word is any pair of successive memory bytes treated as a single unit The lower address is used as the address of the memory word. 01000010 3 2 00011000 Address Memory Word University of Gujrat

Bit Position in a Byte and a Word 7 6 5 4 3 2 1 0 High Byte Low Byte Word bit position 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 University of Gujrat

Memory Operations Read ( fetch the contents of a location ) The processor can perform following two operation on memory: Read ( fetch the contents of a location ) Write ( store data at a location ) University of Gujrat

RAM and ROM There are two kinds of memory circuits: RAM ROM Random Access Memory (RAM) Read Only Memory (ROM) RAM RAM locations can be Read and Written Volatile Programs instructions and data are normally loaded into RAM ROM ROM location can only be Read Non-Volatile Used by manufactures to store system programs. ROM based programs are known as Firmware University of Gujrat

CPU Organization University of Gujrat

CPU Brain of the computer Controls the computer by executing programs stored in memory Each instruction executed by it, is a bit string Instructions performed by a CPU is called the Instruction Set. Instruction set for each CPU is unique. There are two functional units: Execution Unit (EU) Bus Interface Unit (BIU) University of Gujrat

Intel 8086 Micro Processor Organization University of Gujrat

Execution Unit (EU) Executes instructions Contains circuits called Arithmetic and Logic Unit Contains 8 registers for storing data AX, BX, CX, DX, SI, DI, BP and SP Contains temporary registers for holding operands for the ALU FLAG registers whose individual bits reflect the result of a computation University of Gujrat

Bus Interface Unit (BIU) Facilitates communication between the EU and the memory or I/O circuits Contains registers CS, DS, ES, SS and IP for holding addresses of memory locations EU and BIU connected by an Internal Bus While EU is executing an instruction. BIU fetches next instruction and places it in the instruction queue, this is called instruction prefetch University of Gujrat

Instruction Execution Cycle (Fetch-Execute Cycle) University of Gujrat

Fetch-Execute Cycle Fetch Execute University of Gujrat

THE END ------------------------------------------------------------------------------------------------------------------------- University of Gujrat