Question: Using Keil uVision5 software: Using ARM Sample format: Your assignment is to write A WORKING CALCULATOR project. The specifications of the project are as follows

Using Keil uVision5 software: Using ARM

Using Keil uVision5 software: Using ARM Sample format: Your assignment is to

Sample format:

write A WORKING CALCULATOR" project. The specifications of the project are as

Your assignment is to write A WORKING CALCULATOR" project. The specifications of the project are as follows * Numbers are represented as unsigned integer * Only the basic four math operations +, -, *, and / are provided. . Division by zero is not allowed. It will give an error message. The user may keep repeating the program by entering Y'. The main part of the calculator program calls a number of subroutines to perform its job These subroutines are GETNUM GETOP Get a number from the user and save it in the memory Get a math operation from the user. The math operation entered by the user is stored in MATHOP. Users do not have to enter carriage return to enter their choice. Perform the desired math operation and display the result. MATH A sample run of the program should look like Hello there! Welcome to the Calculator Project! Please enter the first integer: 4 Please enter the second integer: 2 Please enter your desired MATH operation: + Sum of NUMI and NUM2 is: 6 Would you like to continue (YIN): Y Hello there! Welcome to the Calculator Project! Please enter the first integer: 4 Please enter the second integer: 0 Please enter your desired MATH operation: / Divide by O ERROR occurred. Would you like to continue (YIN): N Thanks for your time! Byeeeeeeeeeeee! Your assignment is to write A WORKING CALCULATOR" project. The specifications of the project are as follows * Numbers are represented as unsigned integer * Only the basic four math operations +, -, *, and / are provided. . Division by zero is not allowed. It will give an error message. The user may keep repeating the program by entering Y'. The main part of the calculator program calls a number of subroutines to perform its job These subroutines are GETNUM GETOP Get a number from the user and save it in the memory Get a math operation from the user. The math operation entered by the user is stored in MATHOP. Users do not have to enter carriage return to enter their choice. Perform the desired math operation and display the result. MATH A sample run of the program should look like Hello there! Welcome to the Calculator Project! Please enter the first integer: 4 Please enter the second integer: 2 Please enter your desired MATH operation: + Sum of NUMI and NUM2 is: 6 Would you like to continue (YIN): Y Hello there! Welcome to the Calculator Project! Please enter the first integer: 4 Please enter the second integer: 0 Please enter your desired MATH operation: / Divide by O ERROR occurred. Would you like to continue (YIN): N Thanks for your time! Byeeeeeeeeeeee

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!