Question: Create a simple integer calculator. You may either use (MASM) Microsoft Visual Studio assemble, link and execute the program. You need to submit a ZIP

Create a simple integer calculator.

You may either use (MASM) Microsoft Visual Studio assemble, link and execute the program. You need to submit a ZIP file that contains the assembly language source code (.ASM), the executable program (.EXE), and sample output from running the program. Optionally any other documentation you wish to provide that explains the program or problems you encountered.

The program should execute as follows:

Enter first number or 0 to exit:

Enter second number:

Enter operation: (+, -, *, /):

The answer is:

Loop to allow the user to perform another calculation.

You may use the functions ReadInt, ReadChar, WriteInt, WriteString, WriteHex and any other functions you find useful from Irvine32.lib. You do not need to use them if you prefer to write your own routines. The Irvine functions are documented in chapter 5.

A program that performs only the plus (+) and minus (-) functions successfully with be graded with a B. In order to be graded as an A, the program should also support the multiply (*) and divide (/) operations and display the quotient and remainder of the / (divide) operation, and display the answers in both decimal and hexadecim

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!