Question: x 8 6 Assembly Language Programming The Calculator s Specifications This project asks you to design and implement a calculator using x 8 6 assembly

x86Assembly Language Programming
The Calculators Specifications
This project asks you to design and implement a calculator using x86assembly language program.
To this end, you individually will build an application program as described in the steps next:
1.The program will take input from the user, and display the resulting output, both of which
will be carried out through the terminal window.
2.The input mathematical expression will be parsed (PEMDAS rule will be utilized as a
standard for this)and analyzed for mathematical symbol identification for related
mathematical operation to be carried out. Please see the attached slides at the end of this
document for detailed description and a Java program as a sample implementation. The
detailed description slides use the Stack but you will be using your own defined memory
area which you are free to choose.
3.You will be implementing five mathematical operations using seven symbols in PEMDAS rule
for the mathematical expression to be evaluated as described next:
i.Open and closed parentheses symbols of (and )respectively will be used for
separating subexpression/s (ASCII codes are 28h and 29h respectively).
ii.The Caret symbol of ^will be used for exponentiation (ASCII code is 5Eh).
iii. The Asterisk symbol of *will be used for multiplication (ASCII code is 2Ah).
iv.The Forward Slash symbol of /will be used for division (ASCII code is 2Fh).
v.The Plus symbol of +will be used for exponentiation (ASCII code is 2Bh).
vi.The Hyphen symbol of will be used for exponentiation (ASCII code is 2Dh).
4.An invalid expression should also be programmed and identified by the parsing phase, and
will be indicated as an output message of invalid expression enteredon the Terminal
window. In case of valid expression, obviously the answer will be displayed.
It needs
One ASM file with clear sections of codes along with explicit commenting, headings,
implementation details for sections.
One MS Word/PDF file containing the screenshot/s of you

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 Finance Questions!