Project #91546 - MARIE SIM

MARIE Program 1

First, write a subroutine that, when sent a value, will triple that value. Then write a complete assembly program (using that subroutine) to allow the user to enter four grades.

Assume that the last grade is a final exam grade and counts three times as much as the first three. Display the overall sum (including the last grade three times) and the average (sum/6).

MARIE Program 1

Write a MARIE subroutine that will multiply two numbers by using repeated addition. For example, to multiply 2 x 8, the program would add 8 to itself twice (if the larger of the two numbers is chosen to be added to itself, the subroutine will run more quickly). Then, write a MARIE program to raise an integer to a given power, using the subroutine.

MARIE Program 1

Write a MARIE program to sum the numbers 1 + 2 + 3 + 4 + … + N, where the user enters N.

 

MARIE Program 1

Write a MARIE program that will sum numbers as the user enters them, which prints the running sum and the final sum. The user should enter a zero to terminate the program.

Turn in your .mas assembly source files.

 

 

Subject Computer
Due By (Pacific Time) 11/08/2015 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy