close
This essay has been submitted by a student. This is not an example of the work written by professional essay writers.

8086 Microprocessor Overview

downloadDownload printPrint

Pssst… we can write an original essay just for you.

Any subject. Any type of essay.

We’ll even meet a 3-hour deadline.

Get your price

121 writers online

8086 Microprocessor Overview essay
Download PDF

Microprocessor – the computer whose entire CPU is contained on one integrated circuits. The important characteristics of a microprocessor are the widths of its internal and external address bus and data bus (and instruction), its clock rate and its instruction set.

Major Features

8086 Microprocessor is a 16-bit microprocessor. It is the highest data carrying capacity of 8086. However, it can handle 8-bit data as well.

There are 20 address lines for 8086. Address lines define how much memory the processor can access. In this case, it is 220=1 Mb memory.

Operating frequency= 5 MHz

It has 14 16-bit registers.

Architecture

Basic architecture of 8086 Microprocessor

The internal architecture of 8086 Microprocessor is essentially divided into 2 parts viz.

  1. Bus Interface Unit (BIU)
  2. Execution Unit (EU)

Bus Interface Unit

It handles all data and addresses on the buses for the Execution Unit i.e. it sends out addresses, fetches instructions from memory, reads data from ports and memory and writes data to ports and memory. BIU also generates the 20-bit physical address.

The BIU consists of a number of functional groups or parts such as:

  • Instruction Queue. It prefetches 6 instruction bytes from memory to the queue of processor. It is a FIFO kind of buffer.
  • The flow of operation is such: Memory -> Queue -> EU

    It simply reads the instruction from the instruction queue when the EU is ready for the next instruction. It is much faster than sending address to system memory and then fetching the instruction. Queue follows the concept of pipelining.

  • Segmentation. Memory being divided into smaller segments is segmentation.

BIU contains four 16-bit registers, namely:

  1. Code Segment (CS): Used for addressing a memory location where executable program is stored.
  2. Data Segment (DS): Contains most data used by the program. It holds the offset address.
  3. Stack Segment (SS): A section of memory to store addresses and data while a subprogram executes.
  4. Extra Segment (ES): Additional data segment used to hold extra destination data. Each register can hold 64kb data.

Instruction Pointer: It is present below the segment register. The IP holds the 16-bit address of the next code byte within the code segment.

Execution Unit

It basically does the arithmetic and logical calculations. It tells the BIU where to fetch instructions from; it decodes the instructions and executes them.

The EU, like BIU, also consists of a number of components, such as:

  • Arithmetic & Logic Unit: Does all arithmetic and logical calculations.
  • Control Unit: Performs various internal operations.

The EU also consists of registers which are:

  • General Purpose Register: Used for temporary storage of 8-bit data ii.
  • Flag Register: A flip-flop indicating occurrence of any condition during execution of an instruction.

There are 2 types: a) Control Flags, b) Conditional Flags

General Purpose Registers

8 general purpose registers:

  1. AX Register: Accumulator which stores operands for arithmetic calculations.
  2. BX Register: Base register holding starting address of memory region.
  3. CX Register: Used to store loop counter in loop instruction.
  4. DX Register: Contains i/o port address for i/o instructions.

Stack Pointer Register

The stack pointer (SP) register contains the 16-bit offset from the start of the segment to the memory location where a word was most recently stored on the stack. Most recently used address is stored on top of the stack.

Other registers such as the SI, DI, BP are also used for temporary storage purposes.

Flag Register:

Conditional Flags: Indicate occurrence of mathematical operations. They are:

  • Carry Flag (CF): Indicates if carry is generated in MSB position.
  • Auxiliary Flag (AF): Performs Binary to BCD conversion.
  • Parity Flag (PF): Indicates parity of the result.
  • Zero Flag (ZF): It is high if the result of operation is zero.
  • Sign Flag (SF): Indicates the sign magnitude of the result.
  • Overflow Flag (OF): Indicates the exceeding of capacity of machine.

Control Flags: They are set or reset to control certain operations of the processor with the help of specific user-input instructions in the program. They are:

  • Trap Flag (TF): Allows user to execute one instruction at a time
  • Interrupt Flag (IF): Allows/prohibits interruption of program
  • Direction Flag (DF): Used in string operations.

INSTRUCTION SET

The 8086 microprocessor supports 8 types of instructions. They are:

Data Transfer Instructions. These instructions are used to transfer the data from the source operand to the destination operand. Following are the list of instructions under this group.

  • MOV – Used to copy the byte or word from the provided source to the provided destination.
  • PPUSH – Used to put a word at the top of the stack.
  • POP – Used to get a word from the top of the stack to the provided location.
  • PUSHA – Used to put all the registers into the stack.

Arithmetic Instructions. These instructions are used to perform arithmetic operations like addition, subtraction, multiplication, division, etc.

  • ADD – Used to add the provided byte to byte/word to word.
  • SUB – Used to subtract the byte from byte/word from word.
  • MUL – Used to multiply unsigned byte by byte/word by word.
  • DIV – Used to divide the unsigned word by byte or unsigned double word by word.

Bit Manipulation Instructions. These instructions are used to perform operations where data bits are involved, i.e. operations like logical, shift, etc.

  • NOT – Used to invert each bit of a byte or word.
  • AND – Used for adding each bit in a byte/word with the corresponding bit in another byte/word.
  • OR – Used to multiply each bit in a byte/word with the corresponding bit in another byte/word.
  • XOR – Used to perform Exclusive-OR operation over each bit in a byte/word with the corresponding bit in another byte/word.

String Instructions. String is a group of bytes/words and their memory is always allocated in a sequential order.

  • REP – Used to repeat the given instruction till CX ? 0.
  • REPE/REPZ – Used to repeat the given instruction until CX = 0 or zero flag ZF = 1.
  • REPNE/REPNZ – Used to repeat the given instruction until CX = 0 or zero flag ZF = 1.
  • MOVS/MOVSB/MOVSW – Used to move the byte/word from one string to another.
  • COMS/COMPSB/COMPSW – Used to compare two string bytes/words.

infoRemember: This is just a sample from a fellow student.

Your time is important. Let us write you an essay from scratch

100% plagiarism-free

Sources and citations are provided

Find Free Essays

We provide you with original essay samples, perfect formatting and styling

Cite this Essay

To export a reference to this article please select a referencing style below:

8086 Microprocessor Overview. (2018, November 19). GradesFixer. Retrieved June 16, 2021, from https://gradesfixer.com/free-essay-examples/8086-microprocessor-overview/
“8086 Microprocessor Overview.” GradesFixer, 19 Nov. 2018, gradesfixer.com/free-essay-examples/8086-microprocessor-overview/
8086 Microprocessor Overview. [online]. Available at: <https://gradesfixer.com/free-essay-examples/8086-microprocessor-overview/> [Accessed 16 Jun. 2021].
8086 Microprocessor Overview [Internet]. GradesFixer. 2018 Nov 19 [cited 2021 Jun 16]. Available from: https://gradesfixer.com/free-essay-examples/8086-microprocessor-overview/
copy to clipboard
close

Sorry, copying is not allowed on our website. If you’d like this or any other sample, we’ll happily email it to you.

    By clicking “Send”, you agree to our Terms of service and Privacy statement. We will occasionally send you account related emails.

    close

    Attention! This essay is not unique. You can get a 100% Plagiarism-FREE one in 30 sec

    Receive a 100% plagiarism-free essay on your email just for $4.99
    get unique paper
    *Public papers are open and may contain not unique content
    download public sample
    close

    Sorry, we could not paraphrase this essay. Our professional writers can rewrite it and get you a unique paper.

    close

    Thanks!

    Your essay sample has been sent.

    Want us to write one just for you? We can custom edit this essay into an original, 100% plagiarism free essay.

    thanks-icon Order now
    boy

    Hi there!

    Are you interested in getting a customized paper?

    Check it out!
    Having trouble finding the perfect essay? We’ve got you covered. Hire a writer
    exit-popup-close

    Haven't found the right essay?

    Get an expert to write you the one you need!

    exit-popup-print

    Professional writers and researchers

    exit-popup-quotes

    Sources and citation are provided

    exit-popup-clock

    3 hour delivery

    exit-popup-persone