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
Helga [31]
3 years ago
13

What are the steps to execute an instruction by cpu?What is the function of DMA controller.

Engineering
1 answer:
JulijaS [17]3 years ago
4 0

Explanation:

1. A sequence of instructions is stored in memory.

2. The memory address wherever the first instruction is found is copied to the instruction pointer.

3. The CPU sends the address within the instruction pointer to memory on the address bus.

4. The CPU sends a “read” signal to the control bus.

5. Memory responds by sending a copy of the state of the bits at that memory location on the

data bus, that the CPU then copies into its instruction register.

6. The instruction pointer is automatically incremented to contain the address of the next

instruction in memory.

7. The CPU executes the instruction within the instruction register.

8. Go to step 3

Steps 3, 4, and 5 are called an instruction fetch. Notice that steps 3 – 8 constitute a cycle, the instruction execution cycle. It is shown graphically below.

A DMA controller can generate memory addresses and initiate memory read or write cycles. It contains several hardware registers that can be written and read by the CPU. These include a memory address register, a byte count register, and one or more control registers.

You might be interested in
What are the reasons why fine grained of alkali igneous rocks can not be used in cement
Luden [163]

Fine grained of alkali igneous rocks cannot be used in cement because of the volume expansion caused by the Alkali-silica reaction, fine-grained igneous rocks cannot be used as aggregates in cement.

<h3>What does fine grained mean in an igneous rock?</h3>

Extrusive igneous rocks have a fine-grained or aphanitic texture, with grains that are too small to see without a magnifying glass. The fine-grained texture suggests that the rapidly cooling lava did not have enough time to form large crystals. A petrographic microscope can be used to examine these tiny crystals.

The texture of an igneous rock (fine-grained vs coarse-grained) is determined by the rate at which the melt cools: slow cooling produces large crystals, while fast cooling produces small crystals.

The chemical reaction that occurs in both alkali cations and hydroxyl ions in the pore solution of hydrated cement paste and certain reactive silica phases present in concrete aggregates is known as the alkali-silica reaction (ASR).

Learn more about cement on:

brainly.com/question/14323034

#SPJ1

8 0
2 years ago
A nanometer connected to a pipe indicates a negative gauge pressure of 70mm of mercury .what is the pressure in the pipe in N/m^
prohojiy [21]

Based on the calculations, the absolute pressure in the pipe is equal to 90,670.4‬ N/m².

<h3>How to calculate the absolute pressure?</h3>

Mathematically, absolute pressure can be calculated by using this formula:

P_{abs} = P_{atm} + P_{guage}

<u>Scientific data:</u>

Atmospheric pressure (Patm) = 1 bar = 1 × 10⁵ N/m²

Head (h) = -70mmhg = -0.07 m hg

Acceleration due to gravity = 9.8 m/s²

Density of mercury = 13,600 kg/m³.

Next, we would determine the gauge pressure:

P_{guage} = \rho gh\\\\P_{guage} =  -13600 \times 9.8 \times 0.07\\\\P_{guage} = -9,329.6\;N/m^2

Now, we can calculate the absolute pressure:

P_{abs} = P_{atm} + P_{guage}\\\\P_{abs} = 1 \times 10^5 - 9329.6

Absolute pressure = ‭90,670.4‬ N/m².

Read more on absolute pressure here: brainly.com/question/10013312

#SPJ1

6 0
2 years ago
Determine the resolution of a manometer required to measure the velocity of air at 50 m/s using a pitot-static tube and a manome
oksano4ka [1.4K]

Answer:

a)  Δh = 2 cm,  b) Δh = 0.4 cm

Explanation:

Let's start by using Bernoulli's equation for the Pitot tube, we define two points 1 for the small entry point and point 2 for the larger diameter entry point.

            P₁ + ½ ρ v₁² + ρ g y₁ = P₂ + ½ ρ v₂² + ρ g y₂

Point 1 is called the stagnation point where the fluid velocity is reduced to zero (v₁ = 0), in general pitot tubes are used  in such a way that the height of point 2 of is the same of point 1

           y₁ = y₂

subtitute

           P₁ = P₂ + ½ ρ v₂²

           P₁ -P₂ = ½ ρ v²

where ρ is the density of fluid  

now we measure the pressure on the included beforehand as a pair of communicating tubes filled with mercury, we set our reference system at the point of the mercury bottom surface

           ΔP =ρ_{Hg} g h - ρ g h

           ΔP =  (ρ_{Hg} - ρ) g h

as the static pressure we can equalize the equations

          ΔP = P₁ - P₂

         (ρ_{Hg} - ρ) g h = ½ ρ v²

         v = \sqrt{\frac{2 (\rho_{Hg} - \rho) g}{\rho } } \ \sqrt{h}

in this expression the densities are constant

        v = A  √h

       A =\sqrt{\frac{2(\rho_{Hg} - \rho ) g}{\rho } }

 

They indicate the density of mercury rhohg = 13600 kg / m³, the density of dry air at 20ºC is rho air = 1.29 kg/m³

we look for the constant

        A = \sqrt{\frac{2( 13600 - 1.29) \ 9.8}{1.29} }

        A = 454.55

we substitute

       v = 454.55 √h

to calculate the uncertainty or error of the velocity

         h = \frac{1}{454.55^2} \ v^2

       Δh = \frac{dh}{dv}   Δv

       \frac{\Delta h}{h } = 2 \ \frac{\Delta v}{v}

Suppose we have a height reading of h = 20 cm = 0.20 m

             

a) uncertainty 2.5 m / s ( 0.05)

        \frac{\delta v}{v} = 0.05

       \frac{\Delta h}{h} = 2 0.05  

       Δh = 0.1 h

       Δh = 0.1  20 cm

       Δh = 2 cm

b) uncertainty 0.5 m / s ( Δv/v= 0.01)

        \frac{\Delta h}{h} =  2 0.01

        Δh = 0.02 h

        Δh = 0.02 20

        Δh = 0.1 20 cm

        Δh = 0.4 cm = 4 mm

5 0
3 years ago
Ihjpr2 ywjegnak'evsinawhe2'qwmasnh ngl,;snhy
WITCHER [35]

Answer:

ummm ok?

Explanation:

6 0
3 years ago
Read 2 more answers
LAB 3.3 – Working with String Input and Type CastingStep 1: RemovefindErrors.cppfrom the project and add thepercentage.cppprogra
jolli1 [7]

Answer:

// Program is written in C++ Programming Language

// Comments are used for explanatory purpose

#include<iostream>

using namespace std;

int main ()

{

// Variable declaration

string name;

int numQuestions;

int numCorrect;

double percentage;

//Prompt to enter student's first and last name

cout<<"Enter student's first and last name";

cin>>name; // this line accepts input for variable name

cout<<"Number of question on test"; //Prompt to enter number of questions on test

cin>> numQuestions; //This line accepts Input for Variable numQuestions

cout<<"Number of answers student got correct: "; // Prompt to enter number of correct answers

cin>>numCorrect; //Enter number of correct answers

percentage = numCorrect * 100 / numQuestions; // calculate percentage

cout<<name<<" "<<percentage<<"%"; // print

return 0;

}

Explanation:

The code above calculates the percentage of a student's score in a certain test.

The code is extracted from the Question and completed after extraction.

It's written in C++ programming language

4 0
4 years ago
Other questions:
  • In case the Rectilinear distance is considered, find the optimal coordinates (X,Y) of new facility. Q2) Show and label the exist
    7·1 answer
  • What will occur when the trough of Wave A overlaps the trough of Wave B?
    8·2 answers
  • Determine whether w is in the span of the given vectors v1; v2; : : : vn
    8·1 answer
  • How do i get a used eraser out of a mechanical pencil
    11·2 answers
  • A worker's hammer is accidentally dropped from the 20th floor of a building under construction. With what velocity does it strik
    5·1 answer
  • A rear wheel drive car of mass 1000 kg is accelerating with a constant acceleration without slipping from 0 to 60 m/s in 1 min.
    10·1 answer
  • A mechanism is a device that transmits movement so the output movement is different from the input movement. identify three ways
    5·1 answer
  • A 5.74 kg rock is thrown upwards with a force of 317 N at a location where the local gravitational acceleration is 9.81 m/s^2. W
    10·1 answer
  • Discuss how you could measure Earth's diameter using nothing but a shadow-casting stick, a protractor, and a car's trip odometer
    11·1 answer
  • The southernmost rim inlet elevation on the topographical survey is
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!