Fundamentals of Programming Languages-II

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

Machine cycle.
DSPs Vs General Purpose Microprocessors
AMD OPTERON ARCHITECTURE Omar Aragon Abdel Salam Sayyad This presentation is missing the references used.
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
The 8085 Microprocessor Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
Intel MP.
Vacuum tubes Transistor 1948 ICs 1960s Microprocessors 1970s.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 2: 80386DX Internal Architecture & Data Organization.
GCSE Computing - The CPU
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computer Organization and Assembly language
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
SUPERSCALAR EXECUTION. two-way superscalar The DLW-2 has two ALUs, so it’s able to execute two arithmetic instructions in parallel (hence the term two-way.
Computer Organization
Intel
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Introduction of Intel Processors
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
A Simple Computer consists of a Processor (CPU-Central Processing Unit), Memory, and I/O Memory Input Output Arithmetic Logic Unit Control Unit I/O Processor.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
The Central Processing Unit (CPU) and the Machine Cycle.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.
Introduction First 32 bit Processor in Intel Architecture. Full 32 bit processor family Sixth member of 8086 Family SX.
Introduction to Microprocessors
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.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Architecture of Microprocessor
8086 Internal Architecture
80386DX. Features of 80386DX It supports 8/16/32 bit data operands It has 32-bit internal registers It supports 32-bit data bus and 32-bit non-multiplexed.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
The Intel 86 Family of Processors
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Pentium Architecture Arithmetic/Logic Units (ALUs) : – There are two parallel integer instruction pipelines: u-pipeline and v-pipeline – The u-pipeline.
Chapter 2 Turning Data into Something You Can Use
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
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.
Chao Han ELEC6200 Computer Architecture Fall 081ELEC : Han: PowerPC.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
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.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Microprocessor and Assembly Language Addressing Models
Copyright © 2005 – Curt Hill MicroProgramming Programming at a different level.
ARM 7 & ARM 9 MICROCONTROLLERS AT91 1 ARM920T Processor.
Submitted To: Submitted By: Seminar On 8086 Microprocessors.
GCSE Computing - The CPU
Protection in Virtual Mode
8086 Microprocessor.
Computer Organization & Assembly Language Chapter 3
Chapter 2 – Computer hardware
contains 8086 processor and several additional functional chips: clock generator 2 independent DMA channels PIC 3 programmable 16-bit timers.
Intel
First Generation 32–Bit microprocessor
GCSE Computing - The CPU
ARM920T Processor This training module provides an introduction to the ARM920T processor embedded in the AT91RM9200 microcontroller.We’ll identify the.
Presentation transcript:

Fundamentals of Programming Languages-II Subject Code: 110010 Teaching Scheme Examination Scheme Theory: 1 Hr./Week Online Examination: 50 Marks Practical: 2 Hrs./Week

Unit-I Microprocessors and Micro-Controllers Architectures and Programming Concepts

Microprocessors

1.1 Features of 386DX Microprocessors It has 32-bit address bus and a 32-bit data bus. It is a 32-bit processor. The 32-bit ALU allows to process 32-bit data. It has 32-bit address bus. So it can access up to 4 Gbyte (232) physical memory or 64 terabyte(246) of virtual memory. It runs with speed up to 20 Mhz instructions per second. The pipelined architecture of the 80386DX, allows simultaneous instruction fetching, decoding, execution and memory management.

It allows programmers to switch between different operating systems such as PC-DOS and UNIX. It can operate on 17 different data types. It has built-in virtual memory management circuitry and protection circuitry required to operate an 80386DX in these modes. The 80386DX can operate in real mode, protected mode or a variation of protected mode called virtual 8086 mode.

In real mode it functions basically as a fast 8086 or real mode 80286 The 80386DX microprocessor is compatible with their earlier 8086, 8088, 80186, 80188, 80286 chips. Virtually anything that runs under these microprocessors will also run under the 80386.

1.2 Functional Block Diagram of 80386DX The internal architecture of 80386DX is divided into 3 sections Central processing unit Execution unit Instruction decode unit Memory management unit Segmentation unit Paging unit Bus Control unit

These units operate in parallel These units operate in parallel. Fetching, decoding, execution, memory management and bus accesses for several instructions are performed simultaneously. This parallel operation is called pipelined instruction processing. Execution Unit The execution unit reads the instruction from the instruction queue and executes the instructions. It consists of three subunits: Control unit, data unit and protection test unit.

Architecture of 80386 Three Sections: Bus Interface units Central Processing Unit Memory Management Unit

Control unit: It contains microcode and special hardware Control unit: It contains microcode and special hardware. The microcode and special hardware allows 80386DX to reduce time required for execution of multiply and divide instructions. It also speeds the effective address calculation. Data Unit: The data unit contains the ALU, eight 32-bit general purpose registers and a 64-bit barrel shifter. The barrel shifter is used for multiple bit shifts in one clock. Thus it increases the speed of all shift and rotate operations. The multiple/divide logic implements the bit-shift-rotate algorithms to complete the operations in minimum time.

Instruction Decode Unit Protection test unit: The protection test unit checks for segmentation violations under the control of the microcode. Instruction Decode Unit The instruction decode unit takes instruction bytes from the code pre fetch queue and translates them into microcode. The decoded instructions are then stored in the instruction queue. They are passed to the control section for deriving the necessary control signals.

Segmentation Unit Paging Unit The segmentation unit translates logical addresses into linear addresses at the request of the execution unit. The segmentation unit compares the effective address for the length limit specified in the segment descriptor. The segment unit adds the segment base and the effective address to generate linear address. Paging Unit It organizes the physical memory in terms of pages of 4 Kbytes size each.

Instruction Pre fetch Unit Bus Control Unit It communicates with the outside world. It provides a full 32-bit bi-directional data bus and 32-bit address bus. It controls the interface to external bus masters and coprocessors. Instruction Pre fetch Unit The instruction pre fetch unit fetches sequentially the instruction byte stream from the memory.

MCQs The 80386 is a _____ bit microprocessor. 16 20 32 64 The ALU of 80386 is _____ bit

The address bus of 80386DX is ___bit. 16 32 20 64 The 80386DX can address up to ___ physical memory. 1 Mbytes 16 Mbytes 1 Gbytes 4 Gbytes

1.3 CONCEPT OF MACHINE CYCLE

The steps performed by the computer processor for each machine language instruction received. The machine cycle is a 4 process cycle that includes reading and interpreting the machine language, executing the code and then storing that code.

Four steps of Machine cycle Fetch - Retrieve an instruction from the memory. Decode - Translate the retrieved instruction into a series of computer commands. Execute - Execute the computer commands. Store - Send and write the results back in memory.

Thank You