You are on page 1of 7

Course Code: CSE-232

Course Title: Microprocessor and Assembly Language Lab

Project Title: Dynamic Calculator

Submitted to:
Mr. Gazi Zahirul Islam
Assistant Professor, Dept. of CSE

Submitted by:

Md. Faridul Islam


183-15-2304

Submission Date: 24th July 2020


Index

Introduction ……………………………………………………………………… 1
Code Explanation ……………………………………………………………………… 1
Challenges & Thoughts ………………………………………………………….. 5
Introduction
I’ve implemented the recursion functionality of our project which
helps us to keep calculating without the need to rerun the code.
This adds a whole new potential to the project. In 2nd and 3rd gen
programming it’s done with simple if else statements or switch
cases. Here it’s not much different from that concept. Here’s my
contribution in our project.

Code Explanation
Now let’s go through some key points of my code.

This is basically the default user interface of our program. Which


looks like this:

page no. 1
Then comes the user input and “choosing” what to do.
The code:

page no. 2
After completing each operation user is asked if he/she wants to
continue which is added in the end of every function. The code:

And the visual output presentation:

After that according to the input (A, E) the program will either
repeat itself from the beginning position or exit.
Here’s if the user inputs “A” against that question, the code will
take the user here:
page no. 3
And if the user inputs “E” against that question, the code will take
the user here:

page no. 4
Challenges & Thoughts
• As usual in programming, I faced a few bugs in the
beginning.
• Debugging those bugs was irritating and fun eventually.
• Working with (a bit unusual) recursion with assembly
language was fun.
• Connecting all the functions nicely and having a loop for
user to have fun around was fascinating.

Thank you, sir for your time and patience. Have a nice day.

page no. 5

You might also like