Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

Explain the various collection policies in receivables management.

Answered: 1 week ago

Question

What are the main objectives of Inventory ?

Answered: 1 week ago

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago