Question: Write a 32-bit x86-64 assembly language program that uses a sentinel-controlled loop which does the following as long as the sentinel, volume , has not

Write a 32-bit x86-64 assembly language program that uses a sentinel-controlled loop which does the following as long as the sentinel, volume , has not been read:

It Prompts for and reads the volume of a sphere, it then displays the surface area of the sphere with that volume. Assume that each volume is in cubic centimeters.

note: [volume= (4/3)PI r^3, surface area = 4PI r^2]

When the sentinel is read, the program displays the average of the surface areas.

Note:

Assume that the value entered for each volume is valid

sample:

Write a 32-bit x86-64 assembly language program that uses a sentinel-controlled loop

Enter volume [cubic cm] for sphere#1 [ <: t terminate : sphere surface area-56.6 square cm enter volume for area-52.2 termina tej: area-86. o area-35.6 area-74.1>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!