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
Nookie1986 [14]
4 years ago
14

Translate the following C program to Pep/9 assembly language. It multiplies two integers using a recursive shift-and-add algorit

hm. mpr stands for multiplier and mcand stands for multiplicand.A recursive integer multiplication algorithm#include int times(int mpr, int mcand) { if (mpr == 0) { return 0; } else if (mpr % 2 == 1) { return times(mpr / 2, mcand * 2) + mcand; } else { return times(mpr / 2, mcand * 2); }}int main() { int n, m; scanf("%d %d", &n, &m); printf("Product: %d\n", times(n, m)); return 0;}
Computers and Technology
1 answer:
Artemon [7]4 years ago
3 0

Answer:

Explanation:

Data BP

You might be interested in
The television is the biggest technological advancement in communication since the telephone.
docker41 [41]

Answer: just guess its a 50 50 %

Explanation:

4 0
3 years ago
Read 2 more answers
Memory, as a general construct, is best defined as A) the ability to briefly retain information in the senses. B) the long-term
nevsk [136]

Answer:

C) the ability to store and retrieve learned information.

Explanation:

Memory is defined as the ability the brain has to <em>encode, store, retain and then recall information, processes, facts, events and past experiences. </em>

I hope you find this information useful and interesting! Good luck!

3 0
3 years ago
Read 2 more answers
Which cloud computing service model gives software developers access to multiple operating systems for testing?
podryga [215]
Now. I use VMware for that actually you can use VMware, Virtual box and others.
7 0
4 years ago
What software is typically used for larger systems?
Degger [83]
Microsoft Server, (often clippy is used as well)
4 0
3 years ago
Who is the publisher of the book Vertebrates?
saveliy_v [14]
John Coefield was the publisher
3 0
4 years ago
Other questions:
  • Jenny needs to record the names of 30 students, write down the subjects they studied, and note their grades in each subject afte
    14·2 answers
  • With the help of what memory a computer can read as well as write or modify data
    14·2 answers
  • What is the purpose of look up tables in spreadsheet software apex
    13·1 answer
  • How could a system be designed to allow a choice of operating systems from which to boot? What would the bootstrap program need
    14·1 answer
  • Fredrick wants to revise an employee policy. If he wants to inform all of the employees of the change, what type of document wil
    10·2 answers
  • A client has an issue with large files taking a long time to open or save. As time goes by, the issue worsens. The client has hu
    8·1 answer
  • What is the benefit of making an archive folder visible in the Outlook folder list?
    6·1 answer
  • Computing devices translate digital to analog information in order to process the information
    12·1 answer
  • Alex has composed a layout with this Image for a magazine. Which rule of composition has Alex applied?
    14·1 answer
  • Discuss the term internal control​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!