0% found this document useful (0 votes)
17 views10 pages

ALP DOCU FOR FINAL OUTPUT - PDF 1

Uploaded by

ucaglendon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views10 pages

ALP DOCU FOR FINAL OUTPUT - PDF 1

Uploaded by

ucaglendon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

RIZAL TECHNOLOGICAL UNIVERSITY

COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

TASM: CONVERSION AND CALCULATOR

In partial fulfillment of the subject Assembly Language Programming of Bachelor of Science in


Computer Engineering in the Cities of Pasig and Mandaluyong.

Submitted By:
Member 1: Ucag,Lendon DL
Member 2: Evangelista, Ray Angelo T.

Submitted to:
Ronel D. Paglomutan, MEng-CpE

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

MAIN MENU
In the MAIN MENU of the program, there are three different
options.[1].to navigate the calculator.[2].to navigate the conversion.
[3].to exit the program.Clicking option [1] will direct you to the
CALCULATOR MENU.

CALCULATOR MENU
In the calculator menu of the program, there are five different
options.[1]. for Multiplication[2]. for Division[3]. for Addition [4]. for
Subtraction[5]. it will navigate back to MAIN MENU.Clicking option
[1] will direct you to the CALCULATOR SUBMENU for Multiplication

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

CALCULATOR SUBMENU
In the SUBMENU of the program, there are four different options.[1]. for base 06.[2]. for base
10[3]. for base 02 of the four arithmetic operations (Multiplication, Division, Addition,
Subtraction). [4]. navigate back to CALCULATOR MENU.Clicking option [1] will direct you to the
CALCULATOR SUBMENU Base 06 (Multiplication, Division, Addition, Subtraction).

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

CALCULATOR SUBMENU
Multiplication
In the CALCULATOR SUBMENU of the
program, there are three different bases (Base
06,02,10) for the multiplication operation. The
display shows the Multiplicand, Multiplier, and
Product with four decimal places [0.0000-
0.0000]. The operation works as a simple
multiplication process, converting the numbers
to their respective bases (base 6, 10, and 2).
After the operation, the program displays a
user input prompt (Use the operation again)
with two choices: Y to continue using the
operation and N to navigate back to the
CALCULATOR SUBMENU.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

CALCULATOR SUBMENU
Division
In the CALCULATOR SUBMENU of the
program, there are three different bases (Base
06,02,10) for the division operation. The
display shows the Dividend, Divisor, and
Quotient with four decimal places [0.0000-
0.0000]. The operation works as a simple
division process, converting the numbers to
their respective bases (base 6, 10, and 2).
After the operation, the program displays a
user input prompt (Use the operation again)
with two choices: Y to continue using the
operation and N to navigate back to the
CALCULATOR SUBMENU.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR


CALCULATOR SUBMENU
Addition
In the CALCULATOR SUBMENU of the
program, there are three different bases (Base
06,02,10) for the addition operation. The
display shows the Addend, Augend, and Sum
with four decimal places [0.0000-0.0000]. The
operation works as a simple addition process,
converting the numbers to their respective
bases (base 6, 10, and 2).
After the operation, the program displays a
user input prompt (Use the operation again)
with two choices: Y to continue using the
operation and N to navigate back to the
CALCULATOR SUBMENU.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR


CALCULATOR SUBMENU
Subtraction
In the CALCULATOR SUBMENU of the
program, there are three different bases (Base
06,02,10) for the subtraction operation. The
display shows the Subtrahend, Minuend, and
Difference with four decimal places [0.0000-
0.0000]. The operation works as a simple
subtraction process, converting the numbers to
their respective bases (base 6, 10, and 2).
After the operation, the program displays a
user input prompt (Use the operation again)
with two choices: Y to continue using the
operation and N to navigate back to the
CALCULATOR SUBMENU.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

CONVERSION MENU
In the CONVERSION MENU of the program, there are four different options.[1]. To navigate the
conversion of Base 3 to Base 16 display.[2]. To navigate the conversion of Base 7 to Base 11
display.[3]. To navigate the conversion of Base 8 to Base 5 display.[4]. navigate back to MAIN
MENU.Clicking option [1] will direct you to the conversion of Base 3 to Base 16 display.

CONVERSION SUBMENU
In the CONVERSION SUBMENU of the program, there are four different options.[1]. To navigate
the conversion of Base 3 to Base 16.[2]. To navigate the conversion of Base 7 to Base 11.[3]. To
navigate the conversion of Base 8 to Base 5.[4]. navigate back to MAIN MENU..By clicking the
option [1] it will direct to the Conversion of Base 3 to Base 16.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

CONVERSION SUBMENU
Base 3 to Base 16 and Base 16 to Base 3
In the CONVERSION SUBMENU of the program, you will see a display that prompts the user to
input a number in a four-decimal format [0.0000-0.2222]. The program will convert any
hexadecimal number into base 3. This is necessary because the dosbox only accepts
hexadecimal numbers before starting the conversion into base 16, and vice versa.

CONVERSION SUBMENU
Base 7 to Base 11 and Base 11 to Base 7
In the CONVERSION SUBMENU of the program, you will see a display that prompts the user to
input a number in a four-decimal format [0.0000-0.2222]. The program will convert any
hexadecimal number into base 7. This is necessary because the dosbox only accepts
hexadecimal numbers before starting the conversion into base 11, and vice versa.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City
RIZAL TECHNOLOGICAL UNIVERSITY
COLLEGE OF ENGINEERING
COMPUTER ENGINEERING DEPARTMENT
PASIG CAMPUS

SCREEN LAYOUT FOR CALCULATOR

CONVERSION SUBMENU
Base 8 to Base 5 and Base 5 to Base 8
In the CONVERSION SUBMENU of the program, you will see a display that prompts the user to
input a number in a four-decimal format [0.0000-0.2222]. The program will convert any
hexadecimal number into base 8. This is necessary because the dosbox only accepts
hexadecimal numbers before starting the conversion into base 5, and vice versa.

Figure 1: MAIN MENU OF THE PROGRAM


The program's main menu is designed for seamless conversion and calculation between
specified bases. In the conversion section, users can effortlessly transform numbers from one base
to another, including conversions like base 4 to base 10, base 4 to base 8, and base 16 to base 2.
This feature streamlines tasks that would otherwise require manual computation, providing
convenience and accuracy in handling different numeral systems.

Also, the calculator feature offers comprehensive arithmetic operations across three
bases: base 4, base 16, and base 10. Users can perform basic mathematical functions such as
addition, subtraction, multiplication, and division with ease. This functionality enhances the
versatility of the program, catering to a wide range of numerical tasks and simplifying complex
calculations in various bases.

When a user wishes to run conversion just press 1 and 2 for calculator and exit program
for choice 3.

May 2024

Eusebio
MAE Building, 3rd Floor, CEng Faculty | Avenue, Maybunga, Pasig City

You might also like