Question: MASM Assembly language: Write and test a MASM program to perform the following tasks: -Display your name and program title on the output screen. -Display

MASM Assembly language: Write and test a MASM program to perform the following tasks:

-Display your name and program title on the output screen.

-Display instructions for the user.

-Prompt the user to enter two numbers.

-Calculate the sum, difference, product, (integer) quotient and remainder of the numbers.

-Display a terminating message.

Requirements:

The main procedure must be divided into sections:

introduction

get the data

calculate the required values

display the results

say goodbye

The results of calculations must be stored in named variables before being displayed.

The program must be fully documented. This includes a complete header block for identification,

description, etc., and a comment outline to explain each section of code.

Example execution (user input is in italics):

Enter 2 numbers, and I'll show you the sum, difference, product, quotient, and remainder. 

First number: 37

Second number: 5

37 + 5 = 42 37 - 5 = 32 37 x 5 = 185 37  5 = 7 remainder 2 
Impressed? Bye! 

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!