close
test_template

Study of Architecture and Programming Model of 8086

Human-Written
download print

About this sample

About this sample

close
Human-Written

Words: 769 |

Pages: 2|

4 min read

Published: Mar 1, 2019

Words: 769|Pages: 2|4 min read

Published: Mar 1, 2019

Intel 8086 is a 16 bit integer processor. It has a 16-bit Data bus and a 20-bit Address bus. Since 20-bit address lines are available that provide up to 1MB of storage. It consists of a powerful instruction set which makes it possible to carry out different operations easily. It supports 2 modes of operation, Maximum (multiple processors can be used) and Minimum (Single processor is used). Architecture of 8086 The internal architecture of 8086 is divided into 2 units, Bus Interface Unit (BIU) and Execution Unit (EU). A diagram of the architecture is shown below.

Bus Interface Unit (BIU) BIU takes care of all data and address transfers on the buses for the EU like sending addresses, fetching instructions from the memory, reading data from ports, writing data into the memory ports and lastly it also generates the memory addresses. The EU and the BIU are connected by the Internal Bus.

The BIU has the following functional parts:

  • Instruction Queue- the BIU uses the concept of pipelining. This means while the current instruction is being executed the BIU gets up to 6 bytes of the next instruction (prefetching) and stores them in the instruction queue. Once execution is complete, the instruction queue is ready to provide the next instruction set which is simply read and executed. This results in increased execution speed.
  • Instruction Pointer- It is a 16-bit register used to hold the address of the next instruction to be executed.
  • Segment Register − BIU has 4 segment buses, i.e. CS, DS, SS& ES. It holds the addresses of instructions and data in memory, which are used by the processor to access memory locations.
  • CS − It stands for Code Segment. It is used for addressing a memory location in the code segment of the memory, where the executable program is stored.
  • DS − It stands for Data Segment. It consists of data used by the program and is accessed in the data segment by an offset address or the content of other register that holds the offset address.
  • SS − It stands for Stack Segment. It handles memory to store data and addresses during execution.
  • ES − It stands for Extra Segment. ES is additional data segment, which is used by the string to hold the extra destination data.

EU gives instructions to BIU stating from where to fetch data, decode it and finally execute it. Its function is to control operations on data using the instruction decoder and ALU (Arithmetic Logic Unit). The data on which the operations are performed is brought in using the BIU. The EU has the following functional parts:

  • ALU- It handles all arithmetic and logic operations, like +, −, ×, /, OR, AND & NOT.
  • Flag Register- It is a 16-bit register that behaves like a flip-flop, i.e. it changes its status according to the result stored in the accumulator. It has 9 flags and they are divided into 2 groups − Conditional Flags and Control Flags.

It represents the result of the last arithmetic or logic instruction executed. These flags are listed below:

A. Carry Flag- This flag is set to ‘1’ when an addition causes a carry or a subtraction causes a borrow.

B. Auxiliary Flag- This flag is set to ‘1’ when an addition causes a carry while moving from a lower nibble to the upper nibble in BCD addition.

C. Parity Flag- This flag is set to ‘1’ if the low order 8 bits of the result contain an even number of ‘1’s. D. Zero Flag- This flag is set to 1 when the result of arithmetic or logical operation is zero.

E. Sign Flag- This flag holds the sign of the result, i.e. when the result of the operation is negative, then the sign flag is set to 1 else set to 0.

F. Overflow Flag- This is set to ‘1’ if the result is out of range or when the system capacity has exceeded.

Conditional Flags

These control the operations of the EU and can also be used by the user.

These flags are listed below:

A. Trap flag − It is used for single step control and allows the user to execute one instruction at a time for debugging. If it is set, then the program can be run in a single step mode.

B. Interrupt flag − It is an interrupt enable/disable flag, i.e. used to allow/prohibit the interruption of a program. It is set to 1 for interrupt enabled condition and set to 0 for interrupt disabled condition.

Get a custom paper now from our expert writers.

C. Direction flag − It is used in string operation. As the name suggests when it is set then string bytes are accessed from the higher memory address to the lower memory address and vice-a-versa.

Image of Prof. Linda Burke
This essay was reviewed by
Prof. Linda Burke

Cite this Essay

Study of Architecture and Programming Model of 8086. (2019, February 27). GradesFixer. Retrieved November 19, 2024, from https://gradesfixer.com/free-essay-examples/study-of-architecture-and-programming-model-of-8086/
“Study of Architecture and Programming Model of 8086.” GradesFixer, 27 Feb. 2019, gradesfixer.com/free-essay-examples/study-of-architecture-and-programming-model-of-8086/
Study of Architecture and Programming Model of 8086. [online]. Available at: <https://gradesfixer.com/free-essay-examples/study-of-architecture-and-programming-model-of-8086/> [Accessed 19 Nov. 2024].
Study of Architecture and Programming Model of 8086 [Internet]. GradesFixer. 2019 Feb 27 [cited 2024 Nov 19]. Available from: https://gradesfixer.com/free-essay-examples/study-of-architecture-and-programming-model-of-8086/
copy
Keep in mind: This sample was shared by another student.
  • 450+ experts on 30 subjects ready to help
  • Custom essay delivered in as few as 3 hours
Write my essay

Still can’t find what you need?

Browse our vast selection of original essay samples, each expertly formatted and styled

close

Where do you want us to send this sample?

    By clicking “Continue”, you agree to our terms of service and privacy policy.

    close

    Be careful. This essay is not unique

    This essay was donated by a student and is likely to have been used and submitted before

    Download this Sample

    Free samples may contain mistakes and not unique parts

    close

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

    close

    Thanks!

    Please check your inbox.

    We can write you a custom essay that will follow your exact instructions and meet the deadlines. Let's fix your grades together!

    clock-banner-side

    Get Your
    Personalized Essay in 3 Hours or Less!

    exit-popup-close
    We can help you get a better grade and deliver your task on time!
    • Instructions Followed To The Letter
    • Deadlines Met At Every Stage
    • Unique And Plagiarism Free
    Order your paper now