Structural Component of a Computer System the Processor (CPU)

Total Page:16

File Type:pdf, Size:1020Kb

Structural Component of a Computer System the Processor (CPU) 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI Main Structural Component of a Computer System The main elements associated with a computer system are as follows: 1. Central Processing Unit (CPU) 2. Main Memory 3. Secondary Storage Devices 4. Input and Output (I/O) Devices 5. Busses The Processor (CPU) The CPU or processor acts as the controller of all actions or services provided by the system. It is the Brain and the Heart of the Computer. The operations of a CPU can be reduced into the following : 1. Fetch the next instruction from memory. 2. Decode the instruction. 3. Execute the instruction. 4. Store the result of the instruction into main memory. 1 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI In general, the CPU has three main units: (See the figure below) Arithmetic and Logic Unit (ALU): Performs arithmetic and logical operations. For example, it can add together two binary numbers either from memory or from some of the CPU registers. Control Unit: controls the action of the other computer components so that instructions are executed in the correct sequence. Registers - Temporary storage inside CPU. Registers can be read and written at high speed as they are inside the CPU. 2 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI Memory The memory in a computer system is of two fundamental types: Main Memory: used to store information for immediate access by the CPU. Main Memory is also referred to as Primary Storage or Main Store. Closely connected to the processor. The contents are quickly and easily changed. Stores the programs that the processor is actively working with. Main memory includes: . Random Access memory (RAM): for temporary storage. Read-only memory (ROM): for permanent storage. Secondary Storage Devices: devices provide permanent storage of large amounts of data. Secondary storage is also called: secondary memory, external memory. This storage may consist of magnetic tapes, magnetic disk, optical memory device. Connected to main memory through the bus and a controller. The contents are easily changed, but this is very slow compared main memory. Used for permanent storage of programs and data. Input/Output Devices Input/output devices provide an interface between the computer and the user. There is at least one input device (e.g. keyboard, mouse, measuring device such as a temperature sensor) and at least one output device (e.g. printer, screen, control device such as an actuator). Input and output devices like keyboards and printers, together with the external storage devices, are referred to as peripherals. System Bus There are three types of busses: 1. Address Buss: A unidirectional lines determine the size of memory addressable by the processor. 2. Data Bus : A bi-directional lines indicate the size of the data transferred between the processor and memory or I/O device. 3. Control Bus: consists of a set of control signals indicates the type of action taking place on the system bus. 3 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI Evolution of Intel Microprocessor Intel (Integrate electronics) was the first corporation in manufacturing Microprocessors starting with 4004µP to Pentium µP. Processor vary in their speed, capacity of memory, register width, and address & data bus size, a brief description of various Intel processor is explained in the table below. Address Bus Address Size of Data Size Width (bit) Register Register Size of Size Bus µP Memory Size Clock Rate 4004 4 12 4 4 Kbyte 0.2 MHz 8008 8 14 8 16 Kbyte 0.2 MHz 8080 8 16 8 64 Kbyte 2 MHz 8085 8 16 8 64 Kbyte 3 MHz 8086 16 20 16 1 Mbyte 5 MHz 8088 8 20 16 1 Mbyte 5 MHz في المعالجاث اﻻربعت )8085-4004( ﻻ تىجد عملياث الضزب والقسمت ويبدأ وجىد هاتيه العمليتيه في 8086µP لكنه يتعامل مع اﻻعداد الصحيحت فقط integer numbers لذلك يزبط معه 0808µP الذي يتعامل مع اﻻعداد الحقيقيت floating numbers 80186 16 28 16 1 Mbyte 6 MHz 80286 16 24 16 16 Mbyte 8 MHz يزبط معه 08208µP الذي يتعامل مع اﻻعداد الحقيقيت floating numbers 80386 32 32 32 4 Gbyte 16 MHz يزبط معه 08308µP الذي يتعامل مع اﻻعداد الحقيقيت floating numbers 80486 32 32 32 4 Gbyte + 8 Kbyte cache 50 MHz يزبط معه 08408µP الذي يتعامل مع اﻻعداد الحقيقيت floating numbers ، لكنهما يصنعان قطعت واحدة Pentium 64 32 32 4 Gbyte + 8 Kbyte cache 100 MHz Pentium 64 Gbyte + 8K L1 cache 64 36 32 180M Hz Pro +256K L2 cache Pentium 64 Gbyte + 32K L1 cache 233 - 450 64 36 32 II +512K L2 cache MHz Pentium 64 Gbyte + 32K L1 cache 64 36 32 1GHz III +512K L2 cache Pentium 64 Gbyte + 32K L1 cache 64 36 32 1.3 GHz IV +512K L2 cache 4 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI Intel's 8086 Microprocessor The 8086µP is manufactured using High performance Metal-Oxide Semiconductor (HMOS) technology. It has approximately 29000 transistors and housed in a 40-pin package. Internal Architecture of 8086µP The architecture of 8086µP is shown in figure below . It has two separate functional units : Bus Interface Unit (BIU) and Execution Unit (EU). The 8086µP architecture employs parallel processing—i.e., both the units (BIU and EU) work at the same time. Parallel processing makes the fetch and execution of instructions independent operations. This results in efficient use of the system bus and higher performance for 8086µP systems. The BIU has segment registers, instruction pointer, address generation and bus control logic block, instruction queue. The main jobs performed by BIU are: 1. The BIU performs all bus operations such as instruction fetching, reading and writing operands for memory and calculating the addresses of the memory operands. 2. Input/output of data from/to input/output peripherals. The EU has general purpose registers, ALU, control unit, instruction register, flags (or status) register. The main jobs performed by the execution unit EU are: 1. Decoding/execution of instructions. 2. It accepts instructions from the instruction queue and data from the general purpose registers or memory. 3. EU tests the status of flags in the control register and updates them when executing instructions. 5 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI Pipelining is a process that allows the CPU (Microprocessor) to fetch and execute instructions at the same time. Intel Co. implemented the concept of pipelining by splitting the internal architecture of the 8088/8086µP into two units that works simultaneously: Q: Explain the operations of instructions queue in BIU. Ans. The instruction queue is 6-bytes in length, operates on FIFO (first-in first- out) basis. It receives the instruction codes from memory. BIU fetches the instructions for the instructions queue from memory. 6 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI Types of Buses in the 8086µP A bus is a number of wires organized to provide a means of communication among different elements in a microcomputer system. There are three types of buses: 1. Address Bus : A 20-bit unidirectional lines used hold the address of a memory location. The address bus allows the processor to access 1 Mbyte of memory (Memory size = 220 =1048576 bytes = 1 Mbyte). 2. Data Bus : A 16-bit bidirectional lines used for transferring data between the microprocessor and memory or the peripheral devices. 3. Control Bus : It contains lines that select the memory or I/O and cause them to perform a read or write operation. Internal Registers of 8086µP There are fourteen 16-bit registers. The different groups are: The data group (general purpose registers) consists of AX (accumulator), BX (base), CX (count) and DX (data). Pointer group consists of SP (Stack pointer), BP (Base pointer), IP (Instruction pointer). Index group consists of SI (Source Index), and DI (Destination index). Segment group consists of CS (Code Segment), DS (Data Segment) , SS(Stack Segment) and ES (Extra Segment),. 16-bit flags (status) register. Figure below shows the registers placed in the different groups. 8 8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI General Purpose Data Registers Figure below shows the four data registers with their dedicated functions. 15 8 7 0 Pointers and Index Group The pointer registers are SP (Stack Pointer), BP (Base pointer) and IP (Instruction Pointer) while the index registers are SI (Source Index) and DI (Destination Index). All the five are 16-bit registers and are used to store offset (effective address) of memory locations relative to segment registers. Segment Registers : there are four segment registers, they are: 1. Code Segment (CS): The CS register is used for addressing a memory location in the Code Segment of the memory, where the executable program is stored. 2. Data Segment (DS): The DS contains most data used by program. Data are accessed in the Data Segment by an offset address or the content of other register that holds the offset address. 3. Stack Segment (SS): SS defines the area of memory used for the stack. 4. Extra Segment (ES): ES is additional data segment that is used by some of the string instructions to hold the destination data. 0 .
Recommended publications
  • Micro-Circuits for High Energy Physics*
    MICRO-CIRCUITS FOR HIGH ENERGY PHYSICS* Paul F. Kunz Stanford Linear Accelerator Center Stanford University, Stanford, California, U.S.A. ABSTRACT Microprogramming is an inherently elegant method for implementing many digital systems. It is a mixture of hardware and software techniques with the logic subsystems controlled by "instructions" stored Figure 1: Basic TTL Gate in a memory. In the past, designing microprogrammed systems was difficult, tedious, and expensive because the available components were capable of only limited number of functions. Today, however, large blocks of microprogrammed systems have been incorporated into a A input B input C output single I.e., thus microprogramming has become a simple, practical method. false false true false true true true false true true true false 1. INTRODUCTION 1.1 BRIEF HISTORY OF MICROCIRCUITS Figure 2: Truth Table for NAND Gate. The first question which arises when one talks about microcircuits is: What is a microcircuit? The answer is simple: a complete circuit within a single integrated-circuit (I.e.) package or chip. The next question one might ask is: What circuits are available? The answer to this question is also simple: it depends. It depends on the economics of the circuit for the semiconductor manufacturer, which depends on the technology he uses, which in turn changes as a function of time. Thus to understand Figure 3: Logical NOT Circuit. what microcircuits are available today and what makes them different from those of yesterday it is interesting to look into the economics of producing microcircuits. The basic element in a logic circuit is a gate, which is a circuit with a number of inputs and one output and it performs a basic logical function such as AND, OR, or NOT.
    [Show full text]
  • Computer Architecture Out-Of-Order Execution
    Computer Architecture Out-of-order Execution By Yoav Etsion With acknowledgement to Dan Tsafrir, Avi Mendelson, Lihu Rappoport, and Adi Yoaz 1 Computer Architecture 2013– Out-of-Order Execution The need for speed: Superscalar • Remember our goal: minimize CPU Time CPU Time = duration of clock cycle × CPI × IC • So far we have learned that in order to Minimize clock cycle ⇒ add more pipe stages Minimize CPI ⇒ utilize pipeline Minimize IC ⇒ change/improve the architecture • Why not make the pipeline deeper and deeper? Beyond some point, adding more pipe stages doesn’t help, because Control/data hazards increase, and become costlier • (Recall that in a pipelined CPU, CPI=1 only w/o hazards) • So what can we do next? Reduce the CPI by utilizing ILP (instruction level parallelism) We will need to duplicate HW for this purpose… 2 Computer Architecture 2013– Out-of-Order Execution A simple superscalar CPU • Duplicates the pipeline to accommodate ILP (IPC > 1) ILP=instruction-level parallelism • Note that duplicating HW in just one pipe stage doesn’t help e.g., when having 2 ALUs, the bottleneck moves to other stages IF ID EXE MEM WB • Conclusion: Getting IPC > 1 requires to fetch/decode/exe/retire >1 instruction per clock: IF ID EXE MEM WB 3 Computer Architecture 2013– Out-of-Order Execution Example: Pentium Processor • Pentium fetches & decodes 2 instructions per cycle • Before register file read, decide on pairing Can the two instructions be executed in parallel? (yes/no) u-pipe IF ID v-pipe • Pairing decision is based… On data
    [Show full text]
  • Parallel Computing
    Lecture 1: Computer Organization 1 Outline • Overview of parallel computing • Overview of computer organization – Intel 8086 architecture • Implicit parallelism • von Neumann bottleneck • Cache memory – Writing cache-friendly code 2 Why parallel computing • Solving an × linear system Ax=b by using Gaussian elimination takes ≈ flops. 1 • On Core i7 975 @ 4.0 GHz,3 which is capable of about 3 60-70 Gigaflops flops time 1000 3.3×108 0.006 seconds 1000000 3.3×1017 57.9 days 3 What is parallel computing? • Serial computing • Parallel computing https://computing.llnl.gov/tutorials/parallel_comp 4 Milestones in Computer Architecture • Analytic engine (mechanical device), 1833 – Forerunner of modern digital computer, Charles Babbage (1792-1871) at University of Cambridge • Electronic Numerical Integrator and Computer (ENIAC), 1946 – Presper Eckert and John Mauchly at the University of Pennsylvania – The first, completely electronic, operational, general-purpose analytical calculator. 30 tons, 72 square meters, 200KW. – Read in 120 cards per minute, Addition took 200µs, Division took 6 ms. • IAS machine, 1952 – John von Neumann at Princeton’s Institute of Advanced Studies (IAS) – Program could be represented in digit form in the computer memory, along with data. Arithmetic could be implemented using binary numbers – Most current machines use this design • Transistors was invented at Bell Labs in 1948 by J. Bardeen, W. Brattain and W. Shockley. • PDP-1, 1960, DEC – First minicomputer (transistorized computer) • PDP-8, 1965, DEC – A single bus
    [Show full text]
  • Programmable Digital Microcircuits - a Survey with Examples of Use
    - 237 - PROGRAMMABLE DIGITAL MICROCIRCUITS - A SURVEY WITH EXAMPLES OF USE C. Verkerk CERN, Geneva, Switzerland 1. Introduction For most readers the title of these lecture notes will evoke microprocessors. The fixed instruction set microprocessors are however not the only programmable digital mi• crocircuits and, although a number of pages will be dedicated to them, the aim of these notes is also to draw attention to other useful microcircuits. A complete survey of programmable circuits would fill several books and a selection had therefore to be made. The choice has rather been to treat a variety of devices than to give an in- depth treatment of a particular circuit. The selected devices have all found useful ap• plications in high-energy physics, or hold promise for future use. The microprocessor is very young : just over eleven years. An advertisement, an• nouncing a new era of integrated electronics, and which appeared in the November 15, 1971 issue of Electronics News, is generally considered its birth-certificate. The adver• tisement was for the Intel 4004 and its three support chips. The history leading to this announcement merits to be recalled. Intel, then a very young company, was working on the design of a chip-set for a high-performance calculator, for and in collaboration with a Japanese firm, Busicom. One of the Intel engineers found the Busicom design of 9 different chips too complicated and tried to find a more general and programmable solu• tion. His design, the 4004 microprocessor, was finally adapted by Busicom, and after further négociation, Intel acquired marketing rights for its new invention.
    [Show full text]
  • Table 21.1 Traditional Superscalar Versus IA-64 Architecture
    Table 21.1 Traditional Superscalar versus IA-64 Architecture Superscalar IA-64 RISC-like instructions, one per word RISC-like instructions bundled into groups of three Multiple parallel execution units Multiple parallel execution units Reorders and optimizes instruction stream at Reorders and optimizes instruction stream at run time compile time Branch prediction with speculative execution Speculative execution along both paths of a of one path branch Loads data from memory only when needed, Speculatively loads data before its needed, and and tries to find the data in the caches first still tries to find data in the caches first Table 21.2 Relationship Between Instruction Type and Execution Unit Type Instruction Type Description Execution Unit Type A Integer ALU I-unit or M-unit I Non-ALU integer I-unit M Memory M-unit F Floating-point F-unit B Branch B-unit X Extended I-unit/B-unit Table 21.3 Template Field Encoding and Instruction Set Mapping Template Slot 0 Slot 1 Slot 2 00 M-unit I-unit I-unit 01 M-unit I-unit I-unit 02 M-unit I-unit I-unit 03 M-unit I-unit I-unit 04 M-unit L-unit X-unit 05 M-unit L-unit X-unit 08 M-unit M-unit I-unit 09 M-unit M-unit I-unit 0A M-unit M-unit I-unit 0B M-unit M-unit I-unit 0C M-unit F-unit I-unit 0D M-unit F-unit I-unit 0E M-unit M-unit F-unit 0F M-unit M-unit F-unit 10 M-unit I-unit B-unit 11 M-unit I-unit B-unit 12 M-unit B-unit B-unit 13 M-unit B-unit B-unit 16 B-unit B-unit B-unit 17 B-unit B-unit B-unit 18 M-unit M-unit B-unit 19 M-unit M-unit B-unit 1C M-unit F-unit B-unit 1D M-unit F-unit B-unit Table 21.5 IA-64 Application Registers Kernel registers (KR0-7) Convey information from the operating system to the application.
    [Show full text]
  • V850E2S User's Manual: Architecture
    User’s Manual User’s V850E2S 32 User’s Manual: Architecture RENESAS MCU V850E2S Microprocessor Core All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp. website (http://www.renesas.com). www.renesas.com Rev.1.00 May, 2014 Notice 1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 3. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 4.
    [Show full text]
  • (12) Patent Application Publication (10) Pub. No.: US 2015/0067389 A1 Galloway (43) Pub
    US 2015 OO67389A1 (19) United States (12) Patent Application Publication (10) Pub. No.: US 2015/0067389 A1 Galloway (43) Pub. Date: Mar. 5, 2015 (54) PROGRAMMABLE SUBSTITUTIONS FOR (52) U.S. Cl. MCROCODE CPC .......... G06F 1 1/1405 (2013.01); G06F 9/3016 (2013.01) (71) Applicant: ADVANCED MICRO DEVICES, USPC ............................................................ 71.4/10 INC., Sunnyvale, CA (US) (72) Inventor: Frank C. Galloway, Dripping Springs, TX (US) (57) ABSTRACT (73) Assignee: ADVANCED MICRO DEVICES, INC., Sunnyvale, CA (US) The apparatuses, systems, and methods in accordance with the embodiments disclosed herein may facilitate modifying (21) Appl. No.: 14/014,220 post silicon instruction behavior. Embodiments herein may provide registers in predetermined locations in an integrated (22) Filed: Aug. 29, 2013 circuit. These registers may be mapped to generic instruc Publication Classification tions, which can modify an operation of the integrated circuit. In some embodiments, these registers may be used to imple (51) Int. C. ment a patch routine to change the behavior of at least a G06F II/4 (2006.01) portion of the integrated circuit. In this manner, the original G06F 9/30 (2006.01) design of the integrated circuit may be altered. Peera Revices Processor Central Processing init (CPU) agrarirrate Comute act Output. {-n}init(s) Dynamic Randon evices) 165 Access Merroy 142 (DRAM) i 2 t South Eridge pi (evices) f Graphics Processing Unit (GP or Floating Point (Graphics Processor) B (EPU) 8 as 8 : Programmate -: agrariate Scrage Storage Paic nit as it 1 65 Patent Application Publication Mar. 5, 2015 Sheet 1 of 7 US 2015/0067389 A1 §6% Patent Application Publication Mar.
    [Show full text]
  • Database Integration
    I DATABASE INTEGRATION ALPHA SERVERS & WORKSTATIONS Digital ALPHA 21164 CPU Technical Journal Editorial The Digital TechnicalJournal is a refereed Cyrix is a trademark of Cyrix Corporation. Jane C. Blake, Managing Editor journal published quarterly by Digital dBASE is a trademark and Paradox is Helen L. Patterson, Editor Equipment Corporation, 30 Porter Road a registered trademark of Borland Kathleen M. Stetson, Editor LJ02/D10, Littleton, Massachusetts 01460. International, Inc. Subscriptionsto the Journal are $40.00 Circulation (non-U.S. $60) for four issues and $75.00 EDA/SQL is a trademark of Information Catherine M. Phillips, Administrator (non-U.S. $115) for eight issues and must Builders, Inc. Dorothea B. Cassady, Secretary be prepaid in U.S. funds. University and Encina is a registered trademark of Transarc college professors and Ph.D. students in Corporation. Production the electrical engineering and computer Excel and Microsoft are registered pde- Terri Autieri, Production Editor science fields receive complimentary sub- marks and Windows and Windows NT are Anne S. Katzeff, Typographer scriptions upon request. Orders, inquiries, trademarks of Microsoft Corporation. Joanne Murphy, Typographer and address changes should be sent to the Peter R Woodbury, Illustrator Digital TechnicalJournal at the published- Hewlett-Packard and HP-UX are registered by address. Inquiries can also be sent elec- trademarks of Hewlett-Packard Company. Advisory Board tronically to [email protected]. Single copies INGRES is a registered trademark of Ingres Samuel H. Fuller, Chairman and back issues are available for $16.00 each Corporation. Richard W. Beane by calling DECdirect at 1-800-DIGITAL Donald Z. Harbert (1-800-344-4825).
    [Show full text]
  • 8086 CPU ARCHITECTURE the Microprocessors Functions As The
    8086 CPU ARCHITECTURE The microprocessors functions as the CPU in the stored program model of the digital computer. Its job is to generate all system timing signals and synchronize the transfer of data between memory, I/O, and itself. It accomplishes this task via the three-bus system architecture previously discussed. The microprocessor also has a S/W function. It must recognize, decode, and execute program instructions fetched from the memory unit. This requires an Arithmetic-Logic Unit (ALU) within the CPU to perform arithmetic and logical (AND, OR, NOT, compare, etc) functions. The 8086 CPU is organized as two separate processors (or units), called the Bus Interface Unit (BIU) and the Execution Unit (EU). The BIU provides H/W functions, including generation of the memory and I/O addresses for the transfer of data between the outside world -outside the CPU, that is- and the EU. The EU receives program instruction codes and data from the BIU, executes these instructions, and store the results in the general registers. By passing the data back to the BIU, data can also be stored in a memory location or written to an output device. Note that the EU has no connection to the system buses. It receives and outputs all its data thru the BIU. The basic architecture of 8086 is shown below. The only difference between an 8088 microprocessor and an 8086 microprocessor is the BIU. In the 8088, the BIU data bus path is 8 bits wide versus the 8086's 16-bit data bus. Another difference is that the 8088 instruction queue is four bytes long instead of six bytes in 8086.
    [Show full text]
  • Effective Compilation Support for Variable Instruction Set Architecture
    Effective Compilation Support for Variable Instruction Set Architecture Jack Liu, Timothy Kong, Fred Chow Cognigine Corporation 6120 Stevenson Blvd. Fremont, CA 94538, USA g fjackl,timk,fredc @cognigine.com Abstract running embedded applications. these application specific instruction set processors (ASIPs) [1, 2] use instruction sets customized towards a specific type of application so they Traditional compilers perform their code generation can deliver efficient run-time performance for typical pro- tasks based on a fixed, pre-determined instruction set. This grams written for that application area. Because the instruc- paper describes the implementation of a compiler that de- tion set is pre-determined, the compiler is built and config- termines the best instruction set to use for a given pro- ured to generate code based on a custom, fixed instruction gram and generates efficient code sequence based on it. We set [16]. first give an overview of the VISC Architecture pioneered at Cognigine that exemplifies a Variable Instruction Set Ar- The Variable Instruction Set Communications Architec- chitecture. We then present three compilation techniques ture (VISC Architecture ÌÅ ) from Cognigine represents a that, when combined, enable us to provide effective com- very different approach in the attempt to provide greater pilation and optimization support for such an architecture. configurability in compiling embedded software. The VISC The first technique involves the use of an abstract opera- Architecture can perform a complex set of instructions con- tion representation that enables the code generator to op- sisting of multiple, fine and coarse grain operations that op- timize towards the core architecture of the processor with- erate on multiple operands at the same time in one fixed out committing to any specific instruction format.
    [Show full text]
  • Intel 8086 MICROPROCESSOR ARCHITECTURE
    Intel 8086 MICROPROCESSOR ARCHITECTURE 1 Features • It is a 16-bit μp. • 8086 has a 20 bit address bus can access up to 220 memory locations (1 MB). • It can support up to 64K I/O ports. • It provides 14, 16 -bit registers. • Word size is 16 bits and double word size is 4 bytes. • It has multiplexed address and data bus AD0- AD15 and A16 – A19. 2 • 8086 is designed to operate in two modes, Minimum and Maximum. • It can prefetches up to 6 instruction bytes from memory and queues them in order to speed up instruction execution. • It requires +5V power supply. • A 40 pin dual in line package. • Address ranges from 00000H to FFFFFH 3 Intel 8086 Internal Architecture 4 Internal architecture of 8086 • 8086 has two blocks BIU and EU. • The BIU handles all transactions of data and addresses on the buses for EU. • The BIU performs all bus operations such as instruction fetching, reading and writing operands for memory and calculating the addresses of the memory operands. The instruction bytes are transferred to the instruction queue. • EU executes instructions from the instruction system byte queue. 5 • BIU contains Instruction queue, Segment registers, Instruction pointer, Address adder. • EU contains Control circuitry, Instruction decoder, ALU, Pointer and Index register, Flag register. 6 EXECUTION UNIT • Decodes instructions fetched by the BIU • Generate control signals, • Executes instructions. The main parts are: • Control Circuitry • Instruction decoder • ALU 7 EXECUTION UNIT – General Purpose Registers 16 bits 8 bits 8 bits AH AL AX Accumulator BH BL BX Base CH CL CX Count DH DL DX Data SP Stack Pointer Pointer BP Base Pointer SI Source Index Index DI Destination Index 8 EXECUTION UNIT – General Purpose Registers Register Purpose AX Word multiply, word divide, word I /O AL Byte multiply, byte divide, byte I/O, decimal arithmetic AH Byte multiply, byte divide BX Store address information CX String operation, loops CL Variable shift and rotate DX Word multiply, word divide, indirect I/O (Used to hold I/O address during I/O instructions.
    [Show full text]
  • UNIT-I - OVERVIEW of EMBEDDED SYSTEMS Embedded System
    UNIT-I - OVERVIEW OF EMBEDDED SYSTEMS Embedded System . An embedded system can be thought of as a computer hardware system having software embedded in it. An embedded system can be an independent system or it can be a part of a large system. An embedded system is a microcontroller or microprocessor based system which is designed to perform a specific task. For example, a fire alarm is an embedded system; it will sense only smoke. An embedded system has three components − It has hardware. It has application software. It has Real Time Operating system (RTOS) that supervises the application software and provide mechanism to let the processor run a process as per scheduling by following a plan to control the latencies. RTOS defines the way the system works. It sets the rules during the execution of application program. A small scale embedded system may not have RTOS. So we can define an embedded system as a Microcontroller based, software driven, reliable, real-time control system. Characteristics of an Embedded System Single-functioned − An embedded system usually performs a specialized operation and does the same repeatedly. For example: A pager always functions as a pager. Tightly constrained − All computing systems have constraints on design metrics, but those on an embedded system can be especially tight. Design metrics is a measure of an implementation's features such as its cost, size, power, and performance. It must be of a size to fit on a single chip, must perform fast enough to process data in real time and consume minimum power to extend battery life.
    [Show full text]