You must write the code in 80x86 assembly language and must attach a screenshot of the...

80.2K

Verified Solution

Question

Programming

You must write the code in 80x86 assembly language andmust attach a screenshot of the output.

#

Pennies for Pay

Write a program that calculates how much a person earns in amonth if the salary is one penny the first day, two pennies thesecond day, four pennies the third day, and so on with the dailypay doubling each day the employee works. The program should askthe user for the number of days the employee worked during themonth, validate that it is between 1 and 31, and then display atable showing how much the salary was for each day worked, as wellas the total pay earned for the month. The output should bedisplayed in pennies points, not in pennies.

Weight Loss

If moderately active persons cut their calorie intake by 500calories a day, they can typically lose about 4 pounds a month.Write a program that has the users enter their starting weight andthen creates and displays a table showing what their expectedweight will be at the end of each month for the next 6 months ifthey stay on this diet.

Calories Burned

Running on a particular treadmill, you burn 4 calories perminute. Write a program that uses a loop to display the number ofcalories burned after 5, 10, 15, 20, 25, and 30 minutes.

Answer & Explanation Solved by verified expert
4.2 Ratings (682 Votes)
Below is the assembly language code for given    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students