You are on page 1of 18

Basic Mathematic Function

MICRO PROJECT REPORT

ON

******* Basic Mathematic Function*********

Submitted By,

Mr. Avinash Ranvir


Mr. Ashish Khillare

Guided By

MRS.MOKHEDE M.Y.

TO

DEPARTMENT OF COMPUTER ENGINEERING


GRAMIN TECHNICAL AND MANAGEMENT CAMPUS
VISHNUPURI NANDED-431606

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION


(MSBTE),MUMBAI

ACADEMIC YEAR 2022-23

i
Gramin Technical & Management Campus
Basic Mathematic Function

MICRO PROJECT REPORT

ON

******* Basic Mathematic Function*********


Submitted By,

Mr. Avinash Ranvir


Mr. Ashish Khillare

Guided By

MRS.MOKHEDE M.Y.

In partial fulifillment for the award of the Diploma in

DEPARTMENT OF COMPUTER ENGINEERING

GRAMIN TECHNICAL & MANAGEMENT


CAMPUS VISHNUPURI,

NANDED-431606

ACADEMIC YEAR 2022-23

ii
Gramin Technical & Management Campus
Basic Mathematic Function

CERTIFICATE

This is to Certified that the project entitled

******* Basic Mathematic Function*********

Being submitted by Mr. Avinash Vitthalrao Ranvir to state Board


of Technical Education board Mumbai as a partial fulfillment of
award of Diploma in COMPUTER ENGNEERING is record of
bonafide work carried out by his /her under supervision and guidance
of Mrs.Mokhede M.Y. The assigned project is performed
satisfactorily in the academic year 2022-23

Mrs. Mokhede M.Y. Ms. Dudhmale M.N.


Subject Teacher HOD

Dr.Pawar V.S.
Principal

iii
Gramin Technical & Management Campus
Basic Mathematic Function

CERTIFICATE

This is to Certified that the project entitled

******* Basic Mathematic Function*********

Being submitted by Mr. Ashish Arvind Khillare to state Board of


Technical Education board Mumbai as a partial fulfillment of
award of Diploma in COMPUTER ENGNEERING is record of
bonafide work carried out by his /her under supervision and guidance
of Mrs.Mokhede.M.Y. The assigned project is performed
satisfactorily in the academic year 2022-23

Mrs. Mokhede M.Y Ms. Dudhmale M.N.


Subject Teacher HOD

Dr.Pawar V.S.
Principal

iv
Gramin Technical & Management Campus
Basic Mathematic Function

DECLARATION

I hereby declare that the project work entitled “Basic Mathematics Function”
submitted to the GPVN nanded, is a record of an original work done by our
team under the guidance of Mrs. Mokhede M.Y, Teacher Of Sub MIC Dept Of
Computer Engineering, Gramin Polytechnic & Management Campus Nanded
this project work is submitted in the partial fulfillment of requirements for the
Micro Project of Diploma in Computer Engineering. The results embodied in
this thesis have not been submitted to any other University or Institute for the
Micro Project of any degree or diploma

ACKNOWLEDGEMENT

The satisfaction that accompanies the successful completion of any task would
be incomplete without the mention of people whose ceaseless cooperation made
it possible, whose constant guidance and encouragement crown all efforts with
success. I would like to express my gratitude to my subject teacher Mrs.
Mokhede M.Y for the guidance, inspiration and constructive suggestions that
has help in completion and final execution of my case study. I would also like to
thank the almighty god,my parents and all those who guided and supported me.

Sincerely,

Mr. Avinash Ranvir

Mr. Ashish Khillare

v
Gramin Technical & Management Campus
Basic Mathematic Function

VISION

Gramin Polytechnic will be icon including values, with zeal for perfection for
building stalwarts for the beterment of nation

MISSION

To nourish proactive, devoted and talented technocrats by research and quality


education in need based programs through on excellent team work

vi
Gramin Technical & Management Campus
Basic Mathematic Function

ANNUEXURE II

Evaluate sheet for the micro project

Academic year:___________________ Name of faculty:_______________

Course :_______________ Course Code:__________________ Semester:______________

Title of project:_______________________________________________________________

Cos addressed by 6 the Micro project:

A _____________________________________________________________

B.___________________________________________________________________

C.______________________________________________________________________

D._____________________________________________________________________

Major Learning Outcomes achieved by doing the project:

a . practical Outcomes : _________________________________________________________


________________________________________________________________________

b . Unit Outcomes in Cognitive domain: _____________________________________________


________________________________________________________________________

c. Outcomes in Affective Domain:_______________________________________________


___________________________________________________________________________

Comments / Suggestions about team work/ leadership/ intership/ inter-personal


Communication (if any)_______________________________________________
____________________________________________________________________

_____________________________________________________________________

Student Name Marks out of 6 for Marks out of 4 for Total


Roll performance in performance in oral/ out of
No. Group activity presentation 10

(Name & Signature Of Faculty)

vii
Gramin Technical & Management Campus
Basic Mathematic Function

ANNUEXURE II

Evaluate sheet for the micro project

Academic year:___________________ Name of faculty:_______________

Course :_______________ Course Code:__________________ Semester:______________

Title of project:_______________________________________________________________

Cos addressed by 6 the Micro project:

A _____________________________________________________________

B.___________________________________________________________________

C.______________________________________________________________________

D._____________________________________________________________________

Major Learning Outcomes achieved by doing the project:

a . practical Outcomes : _________________________________________________________


________________________________________________________________________

b . Unit Outcomes in Cognitive domain: _____________________________________________


________________________________________________________________________

c. Outcomes in Affective Domain:_______________________________________________


___________________________________________________________________________

Comments / Suggestions about team work/ leadership/ intership/ inter-personal


Communication (if any)_______________________________________________
____________________________________________________________________

_____________________________________________________________________

Student Name Marks out of 6 for Marks out of 4 for Total


Roll performance in performance in oral/ out of
No. Group activity presentation 10

(Name & Signature Of Faculty)

viii
Gramin Technical & Management Campus
Basic Mathematic Function

Gramin Polytechnic Nanded 2022

------------------------------------------------------------------------------------------------

Micro Project

Topic : Performing Basic Mathematic Functions.

INDEX

Sr no Content Page no

1 Introduction X

2 Required Resource X

3 Brief introduction XI

4 Source Code XII

5 Output XIV

6 References XVIII

7 Conclusion XVIII

ix
Gramin Technical & Management Campus
Basic Mathematic Function

1] Introduction

In this project we are performing basic mathematic functions using assembly


language programming. In mathematic function we are finding the factorial of a
number by using assembly language programming of 8086 microprocessor. The
factorial of a number is the function that multiplies the number by every natural
number below it. To find the factorial of a number, multiply the number with
the factorial value of the previous number. For example, to know the value of
6! multiply 120 (the factorial of 5) by 6, and get 720. This means that the
factorial of any number is, the given number, multiplied by the factorial of the
previous number.

2] Required Resources

 For this project we need the software so, we used here Tasm 1.4.
 System.
 Power connection.
 Input Output characteristics.
 Because of 8086 MIC we need 16-bit external data bus.
 And all modules which is required for 8086 microprocessors.

x
Gramin Technical & Management Campus
Basic Mathematic Function

3] Brief Introduction
Factorial of a positive integer (number) is the sum of multiplication of all the
integers smaller than that positive integer. For example, factorial of 5 is 5 * 4 *
3 * 2 * 1 which equals to 120. If the Given Number is a 16-bit number, the AX
register is automatically used as the second parameter and the product is stored
in the DX:AX register pair. This means that the DX register holds the high part
and the AX register holds the low part of a 32-bit number. In 8086
microprocessor, user have direct instruction (MUL) to multiply two numbers, so
we don’t have to add Multiplicand by Multiplier times like in 8085.

Algorithm:

1. Input the number whose factorial to be find and Store that Number in CX
Register (Condition for LOOP Instruction)
2. Insert 0001 in AX(Condition for MUL Instruction) and 0000 in DX.
3. Multiply CX with AX become Zero using LOOP instruction.
4. Copy the content of AX to memory location.
5. Copy the content of DX to memory location.
6. Stop execution.

Explanation of modules which is used in program.

 MOV AX, 1H register content to memory location.


 MOV DX, AX register content to memory location.
 CALL FACT used for Calling/ executing factorial.
 CMP for comparing two operands.
 Using JZ for “jump if zero”.
 INT 21H for software interrupt.
 END stops the execution of program.

xi
Gramin Technical & Management Campus
Basic Mathematic Function

4] Source Code

.MODEL SMALL

.STACK

.DATA

A DB 6H

.CODE

MOV AX,@DATA

MOV DS,AX

MOV AX,1H

MOV BL,A

MOV AL,BL

CALL FACT

FACT PROC

SUB BL,1H

CMP BL,0H

MUL BL

JZ ENDL

CALL FACT

FACT ENDP

xii
Gramin Technical & Management Campus
Basic Mathematic Function

ENDL:

MOV AH,4CH

INT 21H

END

xiii
Gramin Technical & Management Campus
Basic Mathematic Function

5] Output

xiv
Gramin Technical & Management Campus
Basic Mathematic Function

xv
Gramin Technical & Management Campus
Basic Mathematic Function

xvi
Gramin Technical & Management Campus
Basic Mathematic Function

xvii
Gramin Technical & Management Campus
Basic Mathematic Function

6] Referances

 https://www.tutorialspoint.com/assembly_programming/index.htm
 https://www.codecademy.com/learn/computer-
architecture/modules/assembly-language
 https://developer.arm.com/documentation/dui0231/b/assembler-reference
 https://www.quora.com/What-are-the-some-powerful-resources-books-
or-websites-to-learn-assembly-language-for-beginners

7] Conclusion

Extra efficiency is possible, but it is difficult to predict when favorable


conditions exist. If a factorial design is used, potential efficiency gains should
be weighed against potential loss of power to arrive at the correct conclusion
under possible scenarios of interest.

xviii
Gramin Technical & Management Campus

You might also like