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
Bess [88]
3 years ago
10

Which statement is true about what will happen when the example code runs?1: main PROC2: mov edx,03: mov eax,404: push eax5: cal

l Ex5Sub6: INVOKE ExitProcess,07: main ENDP8:9: Ex5Sub PROC10: pop eax11: pop edx12: push eax13: ret14: Ex5Sub ENDP------------- answer -----------A. The program will halt with a runtime error on Line 10B. EAX will equal 20 on line 6C. call WriteIntD. EDX equals 40 on line 6
Engineering
1 answer:
saw5 [17]3 years ago
7 0

Answer:

The last option is the correct answer. EDX will equal 40 on line 6

Explanation:

An element is pushed into stack at line no. 04 and call instruction at line no. 05 pushes a return address.

The return addrees is the instruction address followed by call function.In this scenario it is the address of line 6.

Now, the subroutine pops the return address from the stack,i,e. it pops 40 from the stack into edx and then puts the return address back in the stack, and returns.

Therefore, edx contains the value 40 when it returns from subroutine,

You might be interested in
Steam at 40 bar and 500o C enters the first-stage turbine with a volumetric flow rate of 90 m3 /min. Steam exits the turbine at
a_sh-v [17]

Answer:

(a) 62460 kg/hr

(b) 17,572.95 kW

(c) 3,814.57 kW

Explanation:

Volumetric flow rate, G = 30 m³ / 1 min => 90 / 60 => 1.5

Calculate for h₁ , h₂ , h₃

h₁ is h at P = 40 bar, 500°C => 3445.84 KJ/Kg

Specific volume steam, ц = 0.086441 m³kg⁻¹

h₂ is h at P = 20 bar, 400°C => 3248.23 KJ/Kg

h₃ is h at P = 20 bar, 500°C => 3468.09 KJ/Kg

h₄ is hg at P = 0.6 bar from saturated water table => 2652.85 KJ/Kg

a)

Mass flow rate of the steam, m = G / ц

m = 1.5 / 0.086441

m = 17.35 kg/s

mass per hour is m = 62460 kg/hr

b)

Total Power produced by two stages

= m (h₁ - h₂) + m (h₃ - h₁)

= m [(3445.84 - 3248.23) + (3468.09 - 2652.85)]

= m [ 197.61 + 815.24 ]

= 17.35 [1012.85]

= 17,572.95 kW

c)

Rate of heat transfer to the steam through reheater

= m (h₃ - h₂)

= 17.35 x (3468.09 - 3248.23)

= 17.35 x 219.86

= 3,814.57 kW

8 0
3 years ago
A simple non-ideal Rankine cycle with water as the working fluid operates between the pressure limits of 15 MPa in the boiler an
konstantin123 [22]

Answer:

The right solution is "28.45%".

Explanation:

The given values are:

P_4=50\ kPa

h_4=0.7(2304.7)+340.5

    =1953.83 \ KJ/Kg

and,

P_3=15 \ mPa

h_3=hg

    =2610.8 \ KJ/Kg

s_3=sg

    =5.3108 \ KJ/Kgh

At 45,

⇒ x_{45} = \frac{5.3108-1.0912}{6.5019}

          =0.66

At P_4=50 \ Kpa,

h_f=340.54

or,

V_f=0.001030 \ m^3/Kg

then,

⇒ h_2=340.54+0.001030(15\times 10^{3}-50)

        =355.94 \ kJ/kg

hence,

The isentropic efficiency of turbine will be:

⇒ n_T=\frac{h_3-h_4}{h_3-h_{45}}

         =\frac{2610.8-1953.83}{2610.8-1836.26}

         =84.818 (%)

The thermal efficiency of cycle will be:

⇒ n_C=\frac{W_T-W_P}{2_{in}}

         =\frac{(2610.8-1953-83)-(355.93-340.54)}{2610.8-355.93}

         =28.45 (%)  

4 0
3 years ago
The type of electricity that the Greeks disovered that was created by rubbing amber with variuous materials is called.....
Norma-Jean [14]
B. Static electricity, I think
7 0
3 years ago
Water from an upper tank is drained into a lower tank through a 5 cm diameter iron pipe with roughness 2 mm. The entrance to the
nignag [31]

Answer:

Relative roughness = 0.04

Explanation:

Given that:

Diameter = 5 cm

roughness = 2 mm

At inlet:

Minor coefficient loss k_{L1} = 0.4

At exit:

Minor coefficient loss k_{L2} = 1

Height h = 4m

Length = 5 m

To find the relative roughness:

Relative roughness is a term that is used to describe the set of irregularities that exist inside commercial pipes that transport fluids. The relative roughness can be evaluated by knowing the diameter of the pipe made with the absolute roughness in question. If we denote the absolute roughness as e and the diameter as D, the relative roughness is expressed as:

e_r = \dfrac{e}{D}

e_r = \dfrac{0.2 }{5}

\mathbf{e_r = 0.04}

5 0
3 years ago
Given the following MATLAB statement: ( 3 + 2 ) / 5 * 4 + 5 ^ 2 In what order will these operations be done?
Andrei [34K]

Answer:

first is the parentheses, (3+2)=5 next is the exponent 5^2=25, next is the division 5 / 5 = 1, then the multiplication 4*1=4 and then you add 4+25=29. so the answer is 29.

7 0
3 years ago
Other questions:
  • In an air standard diesel cycle compression starts at 100kpa and 300k. the compression ratio is 16 to 1. The maximum cycle tempe
    11·1 answer
  • Some of the wiring under the hood of a hybrid electric vehicle is encased in bright orange covering. That indicates a
    11·1 answer
  • A square silicon chip (k = 152 W/m·K) is of width 7 mm on a side and of thickness 3 mm. The chip is mounted in a substrate such
    14·1 answer
  • By conducting a survey, Sarah and Jesse determine that an “open space” is home to over fifty different species of plant life.
    7·2 answers
  • Find the pressure exerted by the water bed on the floor when the bed rests in its normal position. Assume the entire lower surfa
    12·1 answer
  • A westbound section of freeway currently has three 12-ft wide lanes, a 6-ft right shoulder, and no ramps within 3 miles upstream
    6·1 answer
  • 3 MAOP stands for which of the following?
    9·1 answer
  • Which of the following is a possible unit of ultimate tensile strength?
    10·1 answer
  • The percentage modulation of AM changes from 50% to 70%. Originally at 50% modulation, carrier power was 70 W. Now, determine th
    15·1 answer
  • 1) Which step in the Design Process utilizes technical drawings to provide information necessary to
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!