0% found this document useful (0 votes)
1K views

MIC (22415) Misroproject Format

This document outlines a micro project on calculating factorials in assembly language. It includes a plan with timelines and responsibilities. The project aims to store and calculate factorials, addressing course outcomes on assembly programming. The methodology section describes functions for factorial calculation. The source code uses 8086 instructions to get user input, calculate the factorial, and display the output. On completion, the learner gained skills in 8086 programming, assembly editing, compiling, linking, debugging and executing code.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

MIC (22415) Misroproject Format

This document outlines a micro project on calculating factorials in assembly language. It includes a plan with timelines and responsibilities. The project aims to store and calculate factorials, addressing course outcomes on assembly programming. The methodology section describes functions for factorial calculation. The source code uses 8086 instructions to get user input, calculate the factorial, and display the output. On completion, the learner gained skills in 8086 programming, assembly editing, compiling, linking, debugging and executing code.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Index

Part A – Plan

Sr.
Contents Page No.
Mi
cro No. -
Part A – Micro Project Proposal 1-2

1.Aim of the Micro-Project 1

2. Course Outcome Addressed 1


1
3.Proposed Methodology 1

4. Action Plan 2

5. Resources Required 2

Part B – Micro Project Report 3-10

1.Rationale 3

2.Aim of the Micro-Project 3

3.Course Outcome Achieved 3

4. Literature Review 3

2 5.Actual Methodology Followed 4

5.2flow chart 5

5.3source code 6-8

6.Actual Resources Used 9

7.output of micro project 9

8. Skill developed / Learning out of the Micro-Project 10

9. applications 10
Project on

1
FACTORIAL NUMBERS

1. Aim of the Micro-Project:

This project is focused on factorial numbers, so its name is “factorial number project”.

Here, you can calculate a factorial number, in this you can add factorial numbers.

Overall, with this project, you can save factorial numbers of “factorial number Program”

This Micro-Project aims at


 It aims at to store the factorial numbers...

 The project provides the easiest way of to store and manage the data of anybody.

 In this factorial number you can add the factorial numbers.

 It provides accuracy.

2. Course Outcome Addressed:

 Write assembly language program for the given problem

 Use instructions for different addressing mode.

 Develop an assembly language program using assembler

3. Proposed Methodology

The source code for factorial numbers is relatively short and easy to understand. I have
divided this micro project into many functions, most of which are related to different
activity. Listed below are some of the more important functions which may help you
understand In this factorial numbers projectin micro, file handling has been used for
almost all functions.

4 Action Plan

2
Name of
Sr. Planned Planned
Details of Activity Responsible Team
No. Start date Finish date
Members
1 Search and collect the
information of project
2 Write Algorithm for
given program
3 Analyze the Given Nalle Krishna
Information Mulge yash
4 Draw flowchart for Lakhadive ganesh
program
5 Initialization of
Checklist
6 Choosing Instructions
7 Converting algorithm to
Assembly language
8 Write assembly
language program and
execute it

5. Resources Required :

Sr.
Name of resource / material Specification Quantity Remarks
No.
1 Computer WINDOWS 7,2GB RAM, 1
2 Operating System WINDOWS 7 1

3 Assembler TASM 1.4 1

4 Browser Chrome 1

Annexure – II A

Part B –

3
FACTORIAL NUMBERS

1.0 Rationale
Although the candidate does not initiate much of the discussion with the examiner during
the topic phase and is quite dependent on him, in the collaborative and conversation
phases, her contribution is more balanced and she fulfils the tasks very well, initiating
and responding with natural turntaking. She is also able to maintain and develop the
interaction. No communication problems occur.

2.0Aim of the Micro-Project


This Micro-Project aims at

 It aims at to store the factorial numbers ..

 The project provides the easiest way of to store and manage the data of anybody.

 In this factorial number we can add the factorial numbers

 It provides accuracy.

3.0Course Outcomes Achieved

 Write assembly language program for the given problem

 Use instructions for different addressing mode.

 Develop an assembly language program using assembler

4.0Literature Review :
o Array is a collection similar type of data store at continuous location.

o Structure is collection of different data type.

4
5.0Actual Methodology Followed

This project is focused on factorial number, so it is named “factorial numbers


project”.

Here, you can create a factorial number list, in this you can calculate the factorial
number

Overall, with this project, you can save the factorial number in microprocessor.

Functions used in factorial number:

8086 program to find the factorial of a number. 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.

6.0 Flow chart

5
7.0 Source code:

6
DATA SEGMENT

NUM DB ?

FACT DB 1H

RES DB 10 DUP ('$')

MSG1 DB "ENTER NUMBER : $"

MSG2 DB 10,13,"RESULT : $"

DATA ENDS

CODE SEGMENT

ASSUME DS:DATA,CS:CODE

START:

MOV AX,DATA

MOV DS,AX

LEA DX,MSG1

MOV AH,9

INT 21H

MOV AH,1

INT 21H

SUB AL,30H

MOV NUM,AL

MOV AH,0

MOV AL,FACT

MOV CH,0

MOV CL,NUM

LABEL1: MUL CL

LOOP LABEL1

LEA SI,RES

CALL HEX2DEC

LEA DX,MSG2

7
MOV AH,9

INT 21H

LEA DX,RES

MOV AH,9

INT 21H

MOV AH,4CH

INT 21H

CODE ENDS

HEX2DEC PROC NEAR

MOV CX,0

MOV BX,10

LOOP1: MOV DX,0

DIV BX

ADD DL,30H

PUSH DX

INC CX

CMP AX,9

JG LOOP1

ADD AL,30H

MOV [SI],AL

LOOP2: POP AX

INC SI

MOV [SI],AL

LOOP LOOP2

RET

HEX2DEC ENDP

END START

8
8.0Actual Resources Uesd

Sr.
Name of resource / material Specification Quantity Remarks
No.
1 Computer WINDOWS 7,2GB RAM, 1
160GB HDD
2 Operating System WINDOWS 7 1

3 Assembler TASM 1.4 1

4 Browser Chrome 1

9.0Output of the Micro-Project:


Output Screens:

10.0 Skill developed / Learning out of the Micro-Project

9
There are so many thing that we learn from this project of

1. We learn the use of microprocessor 8086 instructions.


2. How to Edit Assembly language program.
3. How to Compile Assembly language code.
4. Command to link Object file.
5. How to debug assembly language code.
6. How to execute assembly language code in single step mode.
7. How to check result in Data segment register and affected flags.

11.0 Application

********

10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy