MIC 22415 Final Project
MIC 22415 Final Project
“Microprocessor” (22415)
With title
Separate EVEN Number from given array and store them in separate array and
Sort numbers in ascending order
Submitted by
In Partial Fulfilment of
1
CERTIFICATE
This is to certify that the Micro project entitled " Separate EVEN Number from given array
and store them in separate array and Sort numbers in ascending order” under the course
of “Microprocessor” submitted to the Institute of Civil and Rural Engineering, Gargoti in partial
fulfilment of Diploma in Computer Engineering is a record of original work done by Saniya, Tejas,
Shriharsh during the period from December 2023 to April 2024 under supervision and guidance
of Mr. O. N. Suryawanshi and it has not copied or submitted with other similar title by any
candidates in any Diploma College.
2
DECLARATION
We all hereby Saniya, Tejas, Shriharsh declares that the Micro Project submitted to the
Institute of Civil and Rural Engineering, Gargoti in partial fulfillment of Diploma in
Computer Engineering done in the period of 2022-2023 under the supervision and guidance of Mr. O.
N. Suryawanshi lecturer in department of Computer Engineering. The project has not copied or
submitted with other similar title by an any candidate in any diploma college
3
CERTIFICATE
4
INDEX
1. Rationale
2. Aims/benefits of Microproject
4. Literature Review
5. Flowchart
6. Program
7. Output
TEAM MEMBERS
5
Micro-project Report
Course: Microprocessor (22415)
Separate EVEN Number from given array and store them in separate array and Sort
numbers in ascending order
6
5.0.FLOWCHART Start
Set CL to 4
If
AL>BL
Decrement CL
If CL!=0
s
7
s
S
S
Decrement CH
If CH!=0
Define Check procedure and Load the base address of ARRAY into SI
Increment BL Decrement BH
If CF=1
Start loop with Next and Increment SI to point to the next element
Decrement CL
If CL!=0
Store the count of even numbers in EVEN and Return from the procedure
8
Stop
6.0 PROGRAM:
DATA SEGMENT
DATA ENDS
CODE SEGMENT
START:
MOV AX,DATA
MOV DS,AX
MOV CH,04H
LEA SI,ARRAY
MOV BL,[SI+1]
CMP AL,BL
JC LABEL
MOV DL,[SI+1]
XCHG [SI],DL
MOV [SI+1],DL
LABEL: INC SI
JNZ MARK
DEC CH
JNZ TAG
MOV CL,04H
ROR AL,1
JC DOWN
INC BL
JMP NEXT
DOWN: DEC BH
NEXT: INC SI
JNZ UP
MOV EVEN,BL
RET ; RETURN
INT 21H
CODE ENDS
END START
1. In this project of separating even number from given array , storing thrm in separate array and sorting
numbers in ascending order using assembler, we learn different knowledge and feature and how to code
in assembly language.
2. By this project we learn how to work in team, how to cooperate with team member.
10
8.0 OUTPUT :
11
Institute of Civil and Rural Engineering, Gargoti
“ Develop a program to separate EVEN number from given array and store them in
separate array and sort numbers in ascending order”
Group Members:
Write steps to develop a code for the given problem using assembly language
UO02B
programming.
UO04B Develop the relevant program for the given program.
26
27
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Signature: ……………………………
14