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]
3 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]3 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
Which option distinguishes the step in the engineering design phase described in the following scenario?
rewona [7]

Answer:

reasearching the problem

Explanation:

EDG

7 0
3 years ago
Design a decimal arithmetic unit with two selection variables, V1, and Vo, and two BCD digits, A and B. The unit should have fou
Bingel [31]
Ucsaaaaauxx627384772938282’cc ed un e uff ridicolizzarla +golfista
4 0
3 years ago
What to you do if you have a flat tirer
Vika [28.1K]

Answer: change the tires

Explanation: you can’t drive on a flat tire

6 0
3 years ago
technician a says that dirt bypassing the filter on many common rail injectors can cause an injector to stick open and continuou
NNADVOKAT [17]

Technician a is correct because he says that Many common rail injectors filters can be bypassed by dirt, which can lead to an injector sticking open and continuously fueling a cylinder.

Coalescence is used to separate the water and fuel. To the fuel injector cleaning kit, fasten your air compressor. Diesel engines run at compression ratios that are greater than those of gasoline engines. greater ratio compared to gasoline engines. increased thermal expansion as a result. more fuel energy that is transformed into usable power. The great benefit of using a dry cylinder sleeve is that by quickly installing new sleeves, the cylinder block can be quickly restored to its original specifications. Vacuum drying can be used to get rid of small amounts of water. A nozzle is used to spray the fuel into the vacuum chamber of engines. Air and unsolved free water are taken out of the oil. The fuel is evenly dispersed, which facilitates efficient drying.

Learn more about injectors here:

brainly.com/question/27969202

#SPJ4

3 0
1 year ago
I don’t understand this
blondinia [14]

Answer:

Sorry for the delayed response- Right now I don't have time to give you the answer, but I really want to help so I'll try to phrase it in a easier way to understand things: Basically what you need to do for this problem is find the area of the base of the figure (which means length x width) and then you would simply find the volume of 160cm^{2} by finding the length of each side of the figure, find the length of the figure, find the height of the figure and then find the radius.

Have an amazing day and I hope this can somewhat help :)

7 0
3 years ago
Other questions:
  • Which factors influence changes in consumer demands? check all that apply
    8·2 answers
  • What is pneumatic troubleshooting
    6·1 answer
  • REVIEW QUESTIONS
    11·1 answer
  • I need help with this question
    8·1 answer
  • How do people eat with there noses shut
    12·2 answers
  • Which one is dependent variable?
    13·1 answer
  • A heat engine operates between 2 reservoirs at TH and 18oC. The heat engine receives 17,000 kJ/h from the high temperature reser
    10·1 answer
  • When you do a vehicle check, what do you NOT need to keep an eye on?
    9·1 answer
  • 12. What procedure should you follow when taking measurements?
    11·1 answer
  • Can some one plz give me brainlys
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!