Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Please type your username.

Please type your E-Mail.

Please choose the appropriate section so the question can be searched easily.

Please choose suitable Keywords Ex: question, poll.

Please choose an appropriate title for the question so it can be answered easily.

Sign InSign Up

IGNOU Answers

IGNOU Answers Logo IGNOU Answers Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Categories
    • All Questions
    • Commerce
    • Computer Science
    • Economics
    • English
    • General Queries
    • Political Science
    • Public Administration
    • Psychology
    • Sociology
    • Others
  • Tags
  • Users
  • Contact Us
Home/ Questions/Q 6779
Next
In Process
User
  • 0
User
Asked: December 12, 20222022-12-12T21:26:56+05:30 2022-12-12T21:26:56+05:30In: Computer Science

Explain the following in the context of 8086 Microprocessor:

  • 0

(i) Use of segment registers with the help of example
(ii) Interrupt handling in 8086 micro-processor
(iii) Any four bit manipulation instructions in 8086 micro-processor

  • 1 1 Answer
  • 0 Followers
  • 0
  • Share
    Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

1 Answer

  • Voted
  • Oldest
  • Recent
  1. admin
    2022-12-12T21:28:16+05:30Added an answer on December 12, 2022 at 9:28 pm

    (i) The 8086 microprocessor uses segment registers to manage memory access. Each segment register holds a 16-bit value that specifies the starting address of a segment in memory. For example, the CS (code segment) register holds the starting address of the current code segment, and the DS (data segment) register holds the starting address of the current data segment.

    The segment registers are used to calculate the physical address of a memory location by combining the segment address with an offset within the segment. For example, if the DS register holds the value 0x1000 and the offset of a memory location is 0x0100, the physical address of the memory location would be 0x1000 + 0x0100 = 0x1100.

    (ii) Interrupt handling in the 8086 microprocessor involves responding to interrupt requests from external devices or software. An interrupt request is a signal that indicates that an event has occurred that requires the attention of the microprocessor. When an interrupt request is received, the microprocessor saves the current state of the program and jumps to a predefined address to execute the interrupt service routine (ISR) that is associated with the interrupt request.

    The 8086 microprocessor has two types of interrupts: maskable interrupts and non-maskable interrupts. Maskable interrupts can be disabled or enabled using the interrupt mask flag (IF) in the flags register. Non-maskable interrupts cannot be disabled and are typically used for critical events, such as a power failure or a hardware error.

    (iii) The 8086 microprocessor provides a number of bit manipulation instructions that are used to manipulate individual bits within a byte or word. Here are four examples of bit manipulation instructions in 8086 assembly language:

    • BT (bit test) is used to test the value of a specified bit in a byte or word. The instruction takes two operands: a register or memory location, and a bit number. For example, the instruction BT AX, 3 tests the value of bit 3 in the AX register, and sets the zero flag (ZF) in the flags register to 1 if the bit is 0, or 0 if the bit is 1.

    • BSF (bit scan forward) is used to find the first set bit (1) in a byte or word, and store the bit number in the destination operand. For example, the instruction BSF AX, BX scans the value in the AX register and stores the bit number of the first set bit in the BX register.

    • BSR (bit scan reverse) is similar to BSF, but it finds the last set bit (1) in a byte or word, and stores the bit number in the destination operand. For example, the instruction BSR AX, BX scans the value in the AX register and stores the bit number of the last set bit in the BX register.

    • BTR (bit test and reset) is used to test the value of a specified bit in a byte or word, and reset it to 0 if it is 1. The instruction takes two operands: a register or memory location, and a bit number. For example, the instruction BTR AX, 3 tests the value of bit 3 in the AX register, and sets it to 0 if it is 1.

     

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
Leave an answer

Leave an answer
Cancel reply

Browse

Sidebar

Ask A Question

Stats

  • Questions 339
  • Answers 340

Related Questions

  • List the names of all SEARCH Algorithms along with their ...

  • Write an algorithm for creation of an AVL tree.

  • Is it possible to implement multiple stacks in a Queue? ...

  • Write an algorithm that converts a Tree into a Binary ...

  • calculate Physical address is CS=3560H and IP=101AH and SS=2067H and ...

  • Popular
  • Answers
  • Anonymous

    I need MCS-014 Assignment solution. ...

    • 14 Answers
  • himanshu

    i want answers of assignment ...

    • 11 Answers
  • Anonymous

    Can anyone provide answers of ...

    • 8 Answers
  • Anonymous

    What does the IGNOU BCA ...

    • 7 Answers
  • Vandana

    Calculate the physical address ...

    • 6 Answers
  • admin
    admin added an answer Evaluating a curriculum is an important process that helps determine the effectiveness of the curriculum and identify areas that need improvement. Here is a plan for how I would carry… January 27, 2023 at 2:41 pm
  • admin
    admin added an answer International Commission on Education for the Twenty-First Century Learning was headed by Jaques Delors, the former French Minister of Economy and Finance. The commission aimed at formulating suggestions and recommendations… January 27, 2023 at 2:29 pm
  • admin
    admin added an answer Education of an individual is defined as a process that results into total or overall development of an individual. Psychologists have identified three domains of a human being: Cognitive domain,… January 27, 2023 at 2:01 pm
  • admin
    admin added an answer Here is an example shell script that determines whether a given file exists in the home directory or not: #!/bin/bash # Check if the given file exists in the home… December 12, 2022 at 9:54 pm
  • admin
    admin added an answer There are many different search algorithms, and each one has its own complexities depending on the specific implementation and the type of data being searched. Here are some common search… December 12, 2022 at 9:47 pm

Top Members

admin

admin

  • 2 Questions
  • 1k Points
Pooja Sharma

Pooja Sharma

  • 7 Questions
  • 39 Points
Roushani Kumari

Roushani Kumari

  • 1 Question
  • 34 Points

Trending Tags

Free Assignments Free Solved Assignments IGNOU BCA Solved Assignments IGNOU BCOM Solved Assignments

Explore

  • Home
  • Categories
    • All Questions
    • Commerce
    • Computer Science
    • Economics
    • English
    • General Queries
    • Political Science
    • Public Administration
    • Psychology
    • Sociology
    • Others
  • Tags
  • Users
  • Contact Us

Footer

IGNOU Answers

About

IGNOU Answers is a social Questions & Answers platform which will help you to find answers to your questions..

Question Tags

BA Sociology ESO-11 Export Procedures and Documentation fst-01 International Business Finance ma english ma psychology mpc-004 question The Study of Society

Categories

  • Commerce
  • Computer Science
  • Economics
  • English
  • General Queries
  • Others
  • Political Science
  • Psychology
  • Public Administration
  • Science
  • Sociology

Useful Links

  • Home
  • Contact Us
  • Privacy Policy
  • Buy Assignments
  • IGNOU Updates

© 2021 IgnouAnswers.com. All Rights Reserved
Created With Love by KHOJINET.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.