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
What skills are key to reading comprehension?
ki77a [65]

Ability to recognize words and understand vocabulary

Answer: Option 2.

<u>Explanation:</u>

Reading comprehension is the capacity to process content, comprehend its significance, and to incorporate with what the peruser definitely knows. Capacity to grasp content is affected by perusers' aptitudes and their capacity to process data.

For the students reading comprehension problems frequently include troubles in perceiving and suitably applying foundation information, poor disentangling and word acknowledgment abilities, restricted jargon information, immature understanding familiarity, a not exactly key way to deal with cognizance.

5 0
3 years ago
Radio Frequency IDentification (RFID) tags and readers are a category of low-end wireless devices that people may not recognize
Fittoniya [83]

Answer:

See explaination.

Explanation:

Radio Frequency Identification (RFID) tags and readers uses the electromagnetic waves to identify and track the attached objects.

A tag is attached to the object which is to be identified or tracked, and reader is used to read the response and send the acknowledgement. Therefore, RFID tags and readers are used in many industries, passports, transportations and pet identification etc.

i.

RFID technology is used in smartcards, implants for pets, passports and library books to identify and track the persons, objects and pets etc.

Hence, we can say that option (i) is true.

ii.

Electronic Product Code (EPC) is a small code stored in the RFID tag. The code stored in the memory is 96 bits which are used to identify the organization which manages the data, unique number to identify the product and a number to identify the particular tag and etc.

EPC is a unique identification number, it can read and be written by the RFID reader. It is used in supply chains instead of a bar code even though expansive.

Hence, option (ii) is true.

iii.

Tags are used to identify and track the objects. It doesn’t belong to base stations and access points as a Wi-Fi networks.

Therefore, option (iii) is false.

iv.

The EPC Generation 2 RFID tag is used to improve the security by enabling the authentication features. It is not the similar way of data transmission in the other wireless situations.

Therefore, option (iv) is false.

Finally, the options (i) and (ii) are TRUE, while (iii) and (iv) are FALSE.

8 0
3 years ago
Identify three operational controls and explain<br> how to use them?
ladessa [460]

Answer:

5.1 Personnel Security. ...

5.2 Physical and Environmental Protection. ...

5.3 Production, Input and Output Controls. ...

5.4 Contingency Planning and Disaster Recovery. ...

5.5 System Configuration Management Controls. ...

5.6 Data Integrity / Validation Controls. ...

5.7 Documentation. ...

5.8 Security Awareness and Training.

8 0
2 years ago
True or False: Galvanized steel pipe can withstand moderate freezing.
yaroslaw [1]

Answer:

True

Explanation:

Older galvanized steel pipes, which have a tendency to freeze, are a bit more forgiving and will likely not burst. They can withstand extreme cold and warm temperatures.

5 0
3 years ago
Mrs. Pham has 8 apples. She wants to give 3/4 of the
Sergio039 [100]
The answer would be 32/3 or if you want the simplified version it’s 10 2/3.
6 0
2 years ago
Read 2 more answers
Other questions:
  • At a certain elevation, the pilot of a balloon has a mass of 120 lb and a weight of 119 lbf. What is the local acceleration of g
    6·1 answer
  • Which phrase best describes a safety-critical system? A. a system that faces a very high risk of failure B. a system isolated fr
    13·1 answer
  • Depreciation is.... *
    7·2 answers
  • Write a program that asks the user for the name of a file. The program should display the number of words that the file contains
    7·1 answer
  • What is the most common type of pump?
    11·1 answer
  • Your study space does not need to be quiet as long as you can ignore any noise coming from the space true or false?
    9·2 answers
  • The diameter of a cylindrical water tank is Do and its height is H. The tank is filled with water, which is open to the atmosphe
    11·1 answer
  • If most wildfires are suppressed (all fires are put out) for many years, how does the risk of wildfire in the area change in the
    10·1 answer
  • Importance of tillage​
    7·1 answer
  • All of the following have the same units except: Group of answer choices resistance capacitive reactance. inductance. impedance.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!