1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
NikAS [45]
4 years ago
11

Why cli and sti instructions are used during hooking aninterrupt?

Computers and Technology
1 answer:
mrs_skeptik [129]4 years ago
4 0

Answer: Cli(Clear interrupt flag ) and sti(set interrupt flag) instructions are used for clearing the flag and setting or enabling a flag respectively while hooking an interrupt.

Explanation: During the action of hooking an interrupt,there are certain interruptions while changing of real time interrupt vector and to avoid those interruptions two instructions are used that is cli ans sli. Cli is present for the clearing or disabling the interrupt flag and sti is used for setting or enabling a interrupt flag.

You might be interested in
Write the definition of a function named rcopy that reads all the strings remaining to be read in standard input and displays th
pickupchik [31]

Answer:

//Include this header file if program is executing on //visual studio.

#include "stdafx.h";

//Include the required header file.

#include <iostream>

#include <string>

//Use the standard namespace.

using namespace std;

//Define the function rcopy.

void rcopy()

{

    //Declare a string variable to store the string.

    string s;

    //Prompt the user to input the string.

    cin >> s;

    //Check if the string entered by the user reach to

    //the next line character.

    if (cin.get() == '\n')

    {

         //Display the last word in the string.

         cout << s << " ";

         //Return from the if statement.

         return;

    }

    //Make a recursive call to the function rcopy.

    rcopy();

    //Display the remaining words in the string in

    //the reverse order.

    cout << s << " ";

}

//Start the execution of the main method.

int main()

{

    //Call the function rcopy.

    rcopy();

    //Use this system command to hold the console screen      //in visual studio.

    system("pause");

    //Return an integer value to the main function.

    return 0;

}

Explanation:

See attached images for the code and output

5 0
3 years ago
Convert the following hexadecimal numbers to decimal numbers. (Show your work) a. 0xE3 b. 0x4A c. 0xF9
MAVERICK [17]

Answer:

a. 227 , b. 74 , c. 249

Explanation:

a. 0x E3 = 227

Hexadecimal Digit E corresponds to decimal number 14.

So decimal representation = 14 * 16 + 3 = 224 + 3 = 227

b. 0x 4A = 74

Hexadecimal Digit A corresponds to decimal number 10.

So decimal representation = 4 * 16 + 10 = 74

c. 0x F9 =

Hexadecimal Digit F corresponds to decimal number 15.

So decimal representation = 15 * 16 + 9 = 240 + 9 = 249

3 0
4 years ago
Also known as the hard disk, the ______ is the primary storage device of a personal computer. You can also buy an external _____
Stolb23 [73]

Another name for hard disk is called; Hard Drive

The external hard disk is called; External Hard drive

<h3>Computer storage devices</h3>

In computers there are different ways of storing information and all could come under the name drives but the primary storage of a computer which is called hard disk is also called hard drive.

Now, the hard drive could be internal or external and so the one to store additional information is called External Hard Drive.

Read more about Computer Storage Devices at; brainly.com/question/19667078

5 0
2 years ago
A golf ball is at rest on the grass. What must happen to cause the ball to move?
kondaur [170]
It would be friction
Hitting the ball will create friction!
8 0
3 years ago
WILL GIVE BRAINLIEST AND 75 POINTS!!!
pshichka [43]

Answer:

Glomar Challenger studies about the "age of rocks in various places in the ocean" in 1968

Explanation:

Glomar Challenger was a "deep sea research vessel" for marine geology and oceanography studies.

The vessel set out in 1968 on a "Deep Sea Drilling Program" in the Atlantic Ocean.

Samples were collected from various drilling locations and the study and analysis of these samples enabled the study of plate tectonics.

These samples also provided more information related to the rocks in oceans.

The vessel drilled cores containing rock salt, gypsum, anhydrite and several other evaporating minerals.

8 0
4 years ago
Read 2 more answers
Other questions:
  • Which of the following may present a problem for Linux users?
    13·2 answers
  • Which of the following is not true of credit cards
    15·1 answer
  • Which pair of Information Technology career fields may require work to be done outside of normal office hours? interactive media
    8·2 answers
  • Which item is essential to know before sketching a navigation menu flowchart? template specifics, such as horizontal or vertical
    12·1 answer
  • C++ what is wrong with my equation?
    10·1 answer
  • Which category of management information systems (MIS) combines the forecasting capability of decision support software with the
    12·1 answer
  • 20. The following are considered as ICT skills EXCEPT
    15·1 answer
  • Please can someone help my assignment.​
    13·1 answer
  • What are the advantages of cloud computing over computing on premises?
    10·1 answer
  • A(n) ____ is a live internet presentation that supports interactive communications between the presenter and the audience.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!