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
coldgirl [10]
4 years ago
13

Write an ALP to separate odd and even numbers from an array of N numbers; arrange odd

Engineering
1 answer:
Marta_Voda [28]4 years ago
6 0

Below is the program to separate odd and even numbers                                  

<u>Explanation</u>:

<u>L1:</u>

         mov ah,00

         mov al,[BX]

         mov dl,al

         div dh

         cmp ah,00

         je EVEN1

         mov [DI],dl

         add OddAdd,dl

         INC DI

         INC BX

         Loop L1

         jmp CAL

    <u>EVEN1:</u>

         mov [SI],dl

         add Even Add,dl

         INC SI

         INC BX

         Loop L1

    <u>CAL:   </u>  

         mov ax,0000

         mov bx,0000

         mov al,OddAdd

         mov bl,EvenAdd

         MOV  ax,4C00h

         int 21h

end

The above program separates odd and even numbers from the array using 8086 microprocessor. It has odd numbers in 2000h and even numbers in 3000h.

You might be interested in
1. Select the punch that is used to make a mark in metal
charle [14.2K]

Answer:

D center punch

Explanation:

it has a fine point so it is good with accuracy

3 0
4 years ago
You are given the following information about a drybatch paving operation. You are going to use one mixer that has a service rat
umka21 [38]

Answer:

Answer for the question:

You are given the following information about a drybatch paving operation. You are going to use one mixer that has a service rate of 30 services per hour. The dry-batch trucks you use for bringing concrete to the paver have an arrival rate of 7.5 arrivals per hour. Each truck carries 6 cubic yard of concrete. You have a total amount of 13,500 cubic yard of concrete to pour. You rent a truck at $15 per hour and the paver at $60 per hour. If the job takes more than 80 hours, you pay a penalty of $140 perhour owing todelays injob completion. Onthe basis of least cost, determine the number of trucks you should use. Plot the cost versus the number of trucks used.

is given in the attachment.

Explanation:

5 0
3 years ago
Define in detail Technology and Evolution in the context of your prior Knowledge?​
julsineya [31]

The technological evolution entails the transformation of society through technological development.

<h3>What is Technology?</h3>

Technology refers to a machinery and equipment used to apply scientific knowledge for practical purposes.

<h3>What is Evolution?</h3>

Basically, an evolution means the process of growth and development of a subject, technology, situation, event etc

Hence, the technological evolution entails the transformation of society through technological development.

In conclusion, the the new discoveries as a result of technology evolution primarily impacted the society on a positive level.

Read more about Technology

<em>brainly.com/question/11554395</em>

5 0
2 years ago
Acquisition of resources from an external source is called?
densk [106]

Answer:

subcontracting

Explanation:

I hope this is right

6 0
3 years ago
Steam enters a heavily insulated throttling valve at 11 MPa, 600°C and exits at 5.5 MPa. Determine the final temperature of the
7nadin3 [17]

Answer: the final temperature of the steam 581.5 °C

Explanation:

Given that;

P₁ = 11 MPa

T₁ = 600°C

exit at; P₂= 5.5 MPa

Now from superheated steam table( p=11 MPa, T=600°C)

h₁ = 3615 kJ/kg  

h₁ = h₂ ( by throttling process and adiabatic isentholpic )

from saturated steam table at; ( h= 3615 kJ/kg, P= 5.5 MPa )

Temperature = 581.5 °C

Therefore the final temperature of the steam 581.5 °C

8 0
3 years ago
Other questions:
  • Asap asap plz help maxium points
    6·2 answers
  • Tranquilizing drugs that inhibit sympathetic nervous system activity often effectively reduce people's subjective experience of
    8·1 answer
  • Asolid rectangular rodhas a length of 90mm, made of steel material (E =207,000 MPa, Syield= 300 MPa), the cross section of the r
    14·1 answer
  • Tell me a riddle and whoevers i like best gets brainliest
    6·1 answer
  • Select the correct answer. What does a mechanical engineer do? O A. Designs buildings. OB. Designs roads. C. Designs consumer pr
    14·1 answer
  • I think it’s a wedge. Am I right?
    8·2 answers
  • State two faults that are common in a simple cell​
    6·2 answers
  • Is Tesla French, American, German, or Russian?
    10·2 answers
  • A jointed arm robot can rotate on the following 6 axes?
    8·1 answer
  • Người ta sử dụng hệ thống cô đặc 3 nồi xuôi chiều tuần hoàn tự nhiên để cô đặc dung dịch đường có suất lượng 10 tấn/giờ từ nồng
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!