Preview

Applications of Microprocessor 8086 on Outer Peripherals

Better Essays
Open Document
Open Document
1660 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Applications of Microprocessor 8086 on Outer Peripherals
APPLICATIONS OF MICROPROCESSOR 8086 ON OUTER PERIPHERALS
Vishal Dahuja B.Tech. - CSE RC1701A’29’ Reg. No # 1050070024 vishaldahuja@gmail.com

1. INTRODUCTION The 8086 microprocessor is the 16 bit microprocessor which means that the arithmetic logic unit, its internal registers and also the data bus these entire have to work with 16 bit at a time. The microprocessor has 20 bit address bus and therefore 220 memory locations. The pin diagram of 8086 is as shown: The 8086 microprocessor is just like 8085 microprocessor but the difference between them is that the 8085 microprocessor is of 8 bits but that of the 8086 is the 16 bit microprocessor. Also the flags are more in case of the 8086 microprocessor as shown:

Figure 1.2

The flags are as described below:
Figure 1.1



Overflow Flag (OF) - Set if the result is too large positive number, or is too

small negative number to fit into destination operand.  Direction Flag (DF) - if set then string manipulation instructions will auto-decrement index registers. If cleared then the index registers will be auto-incremented. Interrupt-enable Flag (IF) - setting this bit enables mask-able interrupts. Single-step Flag (TF) - if set then single-step interrupt will occur after the next instruction. Sign Flag (SF) - set if the most significant bit of the result is set. Zero Flag (ZF) - set if the result is zero. Auxiliary carry Flag (AF) - set if there was a carry from or borrow to bits 0-3 in the AL register. Parity Flag (PF) - set if parity (the number of "1" bits) in the low-order byte of the result is even. Carry Flag (CF) - set if there was a carry from or borrow to the most significant bit during last result calculation.

    

Figure 2.1

Actually we know in order to give directions or data values to the users, many of the microprocessor-controlled instruments and machines need to display the letters of the alphabets and the numbers, if some large amount of the data is needed to be displayed there the CRT is used



References: [1]http://www.lavoisier.fr/notice/fr401019.htm [2] http://openpdf.com/ebook/the-8088-and8086-microprocessors-programminginterfacing-software-hardware-andapplications-pdf.html [3]http://www.freepatentsonline.com/4888680. html [4]http://www.infibeam.com/Books/info/triebel /8088-8086-microprocessors-programminginterfacing-software-hardwareapplications/9788177584813.html Figure 2.3.3 The figure shown below is the image taken from the book: Figure 2.3.4

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    2. What type of instruction is used to execute different code based on a condition? -Jumps…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    While the 8008 had 14 bit PC and addressing, the 8080 had a 16 bit address bus and an 8 bit data bus. Internally it had seven 8 bit registers, a 16 bit stack pointer to memory which replaced the 8 level…

    • 812 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    b. 1 represents a bit that is turned ON. 0 represents a bit that is turned OFF. (pg. 8)…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Homework Unit 3

    • 354 Words
    • 2 Pages

    4. AND operator- combines more than one condition in a program. Makes a compunf Boolean operation.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Quiz Comp Archi

    • 438 Words
    • 3 Pages

    13) For each of the following 6-bit operations, calculate the values of the C, Z, V, and N flags in the ARM.…

    • 438 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 1&2 Discussion

    • 379 Words
    • 2 Pages

    Access control is typically achieved by reserving a collection of bits within the general “Flag Register” to indicate the current “access control level”. Certain instructions are restricted so that they are only legal if the “access control level” is at least some minimum value; otherwise the instruction generates an “illegal operation” interrupt.…

    • 379 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit 5 PT1420

    • 959 Words
    • 7 Pages

    The AND operator would be the best to use to determine whether or not a number is within a given range.…

    • 959 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    1. A set associative cache consists of 64 lines or slot divided into four-line sets. Main memory contains 4K blocks of 128 words each. Show the format of main memory addresses.…

    • 1721 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    CS305 Final Exam Questions

    • 1044 Words
    • 6 Pages

    b. It copies the operand into the stack at the location pointed to by the stack pointer, and then decrements the stack pointer (by 2 or 4).…

    • 1044 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sheet01

    • 1045 Words
    • 5 Pages

    4. What is the result of the following code and where is it kept? LDAA #$15 ADDA #$13 5. Which of the following instructions is (are) illegal? a- LDAA #500 b- LDAA #50 c- LDAA #00 d- LDAA #$255 e- LDAA #$25 f- LDAA #$F5 g- ADDA mybyte , #$25 6. Which of the following instructions is (are) illegal? a- ADDA #$300 b- ADDA #$50 c- ADDA #$500 d- ADDA #$255 e- ADDA #12 f- ADDA#$F5 g- ADDA #$25 7. 8. 9. 10. Show a simple code to load values 30H and 97H into locations 805H and 806H, respectively. Show a simple code to load value 55H into locations 300H and 308H. Show a simple code to load value 5FH into Port B. Which of the following is an invalid use of the immediate addressing mode? a- LDDA #$24 b- LDAA $30 c- LDAA #$60…

    • 1045 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    Ipt Hsc Notes

    • 11818 Words
    • 48 Pages

    Most common methods for digitally representing text ASCII (American standard code for information interchange) e.g. Unicode systems, and EBCDIC (extended binary coded decimal interchange code) IBM mainframe and mid-range computers, together with devices communicate with these machines use EBCDIC.…

    • 11818 Words
    • 48 Pages
    Powerful Essays
  • Good Essays

    Macro Examples

    • 1120 Words
    • 5 Pages

    7. The If…Then…Else…End If code allows code to be conditionally executed depending on whether a specified logical condition has been met.…

    • 1120 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    ece362 lab04

    • 559 Words
    • 2 Pages

    This exercise investigates conditional code and branches use in ARM Cortex-M3 assembly language program and use of Keil MDK-ARM debugger. The objective of this exercise is familiarization with Cortex-M3 conditional codes through a prime-number test design and programming.…

    • 559 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Question 2 (5 Marks) Consider the following program segment LDAA #$05 LDAB #$04 INCB SBA WAI After executing the program, the condition code register flags (N,V,Z,C) will be: N V Z C…

    • 694 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Key Words in Java

    • 888 Words
    • 4 Pages

    double | Indicates that a value is a 64-bit number with one or more digits after the decimal point. |…

    • 888 Words
    • 4 Pages
    Good Essays