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
Nonamiya [84]
3 years ago
11

Write an ALP to find cube of N 8-bit numbers in an array using 8086

Computers and Technology
1 answer:
alisha [4.7K]3 years ago
8 0

Answer:

100 MOV Si, 500

101 MOV CL [Si]

102 MOV CH,00

103 INC SI

104 MOV AL,[SI]

105 A MOV BL, AL

105 C MUL AL

105 E MUL BL

106 MOV [SI], AL

107 INC SI

108 LOOP 104

109 HLT

The above is the required ALP program.

Explanation:

Step1: Sets the SI value to 500

Step 2: Loads the data from the SI offset to the CL register

Step 3: Increase the SI value by 1

Step 4: Move the value of the register from AL to BL

AL is the single 8-bit register

Step 5: Multiply the AL by AL

Step 6: Multiply the value of the register AL by BL

Step 7: The value of the AL is stored at the SI offset.

Step 8: Now the value of the SI is increased by 1.

LOOP 104: The program now jumps to the address 104 if the CX=CX -1 and CX is not 0.

HLT: means stop

You might be interested in
Smith wants to get a job in network systems. Which major should he choose to give him the best chance of getting a job?
Sever21 [200]
<span>computer engineering</span>
5 0
4 years ago
Read 2 more answers
Self contained sequences of actions to be performed are?
Firlakuza [10]

Answer:

Self contained sequences of actions to be performed are algorithms. - b

6 0
3 years ago
It is ethical to use ICT in early years
Dahasolnce [82]
Early years of what? ICT is generally ethical as it’s just stressing unified communications of different telecommunications/IT devices
3 0
3 years ago
The critical path of a network is the A. shortest time path through the network. B. path with the most activities. C. longest ti
S_A_V [24]

Answer: Option [C] : The longest time path through the network.

Explanation:

The critical path of a network is the longest time path through the network.

8 0
3 years ago
In the U.S. a standard mortgage requires a down payment of
Doss [256]
Atleast a minimum of 3%. Brainliest? 
6 0
4 years ago
Other questions:
  • Define a Course base class with attributes number and title. Define a print_info() method that displays the course number and ti
    14·1 answer
  • Design a class called NumDays. The class’s purpose is to store a value that represents a number of work hours and convert it to
    13·2 answers
  • What is print media?
    14·1 answer
  • Ella has finished drafting her presentation. What should she do next?
    6·2 answers
  • to print a range of cells in the active worksheet click blank in the settings area in the print gallery
    9·2 answers
  • What are the basic functions of an operating system? List any four of them.​
    13·1 answer
  • B) Describe the computer processing that is required to maintain the correct growing<br>conditions.​
    13·1 answer
  • How does applying Fontworks effects to text on an advertising flyer change the text?
    14·2 answers
  • Which of the following is a method which can be used to delete a page from a publication?
    6·1 answer
  • Please please help ASAP it’s timed
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!