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
As text is typed in the _____ text box, a drop-down list displays options for completing the action, displaying information on t
pickupchik [31]

Answer:

Excel Help

Explanation:

Press F1 key to open the excel help window

Or you can also click the excel help button to launch the help window.

Type for whatever you are seeking help for and you will notice suggestions as you type something. These suggestions include online and offline results. If there are too many results then try searching offline it will narrow down the results.

After typing the text and hitting enter, the excel help returns several related topics on the searched query. You can browse through these topics and get help from excel.

5 0
3 years ago
The number of pixels that can be displayed on the screen at one time is known as what? screen resolution. viewing angle. color d
nevsk [136]

Answer:

screen resolution

Explanation:

The screen resolution indicates the number of pixels that can be displayed at one time on a given screen. For example, it could be numbers like 1920x1080, 1600x900 and so on.

Viewing angle has nothing with the pixel count, although viewing port would.  Color depth concerns the number of colors you can display at one time.  Pixel density is the concentration of pixels, like in Apple's retina display, that increases the number of pixels in the screen, but that doesn't give you the information on how many there are.

6 0
3 years ago
How do you make a ringtone on earsketch
RoseWind [281]

Haven't used earsketch, but here we go.

Answer:

1). Make a track in earsketch, make it like 6/7 seconds

2.) export your track as an .mp3, .wav, or  .ogg (your choice!)

3.) (If on android) Navigate to settings, now search for an entry for ringtone.

4.) If you have no luck, look up how to set ringtone on your desired phone brand (iOS, Android, etc.)

5.) Test out your new ringtone

6.)Profit

4 0
3 years ago
What type of device does a computer turn to first when attempting to make contact with a host with a known IP address on another
mihalych1998 [28]

Answer: the DNS server

Explanation:

4 0
3 years ago
Read 2 more answers
Assume you have thefollowing declaration int beta[50];.Which of the following is a valid elementof beta?
ANEK [815]

Answer:

A - beta[0]

Explanation:

Beta[0] is the first element of the array, therefore automatically it is a valid element of beta. B and C are disqualified because you would not use single quotations when referring to an element. D is disqualified because the element starts at 0 (beta[0]) and has 50 elements declared, therefore it would end at 49, with beta[49] being the last element.

4 0
3 years ago
Other questions:
  • A digital footprint is all of the information on-line about a person posted by that person or others, ____________. intentionall
    14·1 answer
  • Define the term entity and give an example of an entity .
    10·1 answer
  • HELP I WILL MARK BRAINLIEST!!! I NEED ASAP!!!
    5·1 answer
  • What are three recommendations for reducing risk and improving the privacy of your personal information while using social media
    13·1 answer
  • Which invention spurred the development of the digital camera?
    8·1 answer
  • Which scenario is best for an online discussion group?
    5·1 answer
  • Which of the following are good ways to keep your information and your computer secure?
    10·2 answers
  • Why would students most likely need to collect data? Check all that apply
    13·2 answers
  • Edhesive 6.8 lesson practice answers
    10·1 answer
  • True or false<br>Y axis is also known as the value X.​
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!