Question: Use YASM / NASM in Linux system for assembly language programming. Design a one - digit integer calculator. The program reads a constant equation from
Use YASMNASM in Linux system for assembly language programming.
Design a onedigit integer calculator. The program reads a constant equation from keyboard input, calculates the result, and display the equation and result to the Terminal Window.
Operations shall include at least one addition, one subtraction, one multiplication, and one division, but they can be entered in a different order. For example, abcde or abcde where a b c d and e are integers from to entered on the keyboard. The more operations a program provides, the higher the program's score. Note: This operation is performed from left to right, without the need for multiplication and division followed by addition and subtraction. Whenever possible, enter equations that evaluate to positive integers, since the display of negative integers was not discussed this term. Make sure to include logic so that it converts from ascii to integers and back.
Sample output:
Enter Operations String: insert equation
prints out equationresult
Sample:
Enter Operations String:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
