Microprocessor (22415) MIC Diploma Micro Project I Scheme MSBTE
![]() |
Microprocessor (22415) MIC Diploma Micro Project I Scheme MSBTE |
program Name and Code: Microprocessor (22415) MIC
Course Name and Code: CS 4 I
Academic Year :
Semester: Fourth
Annexure-I
A MICRO PROJECT ON "Count EVEN numbers in a given array of mixed numbers"
1.0 Aims/Benefits of the Micro Project
In this project, we have learned how to count the even numbers from a given array of mixed numbers using assembly language.
2.0 Course outcome addressed.
- Analyze the functional block of the 8086 microprocessor.
- Write an assembly language program for the given problem.
- Use instructions for different addressing modes.
- Develop an assembly language program using an assembler.
- Develop assembly language programs using procedures, macros, and modular programming approaches.
- Write an assembly language program for the given problem.
- Use instructions for different addressing modes.
- Develop an assembly language program using an assembler.
- Develop assembly language programs using procedures, macros, and modular programming approaches.
3.0 Proposed methodology
- Focused on the selection of an appropriate topic for the micro-project.
- Prepare Algorithm and flowchart.
- Write the program and get the output.
- Select the topic i.e. To Prepare a report on Count EVEN numbers in a given array of mixed numbers.
- A brief study on our topic.
- Gather all information based on the topic of the micro project.
- Analysis and study of our topic in detail.
- Following all the above methodologies we successfully completed our microproject.
- Focused on the selection of an appropriate topic for the micro-project.
- Prepare Algorithm and flowchart.
- Write the program and get the output.
- Select the topic i.e. To Prepare a report on Count EVEN numbers in a given array of mixed numbers.
- A brief study on our topic.
- Gather all information based on the topic of the micro project.
- Analysis and study of our topic in detail.
- Following all the above methodologies we successfully completed our microproject.
4.0 Action Plan
Sr. No. Detail of activity Plan start date Plan finish date Name of responsible team members 1 Searching the topic for micro-project 2 Search information from the Microprocessor (22415) book and from the internet.
3 Discuss with the project guide. 4 arrange all information in MS Word 5 Prepare a report on it using MS Word 6 print micro project
Sr. No. | Detail of activity | Plan start date | Plan finish date | Name of responsible team members |
---|---|---|---|---|
1 | Searching the topic for micro-project | |||
2 | Search information from the Microprocessor (22415) book and from the internet. | |||
3 | Discuss with the project guide. | |||
4 | arrange all information in MS Word | |||
5 | Prepare a report on it using MS Word | |||
6 | print micro project |
5.0 Resources used
Sr. no. | Name of resource material | Specifications | Quantity |
---|---|---|---|
1 | Computer System | 16 GB RAM, Windows 11 OS | 1 |
2 | Internet | Youtube / Wikipedia | |
3 | textbook/manual | Microprocessor (22415) | 1 |
annexure-II
Micro-Project Report
A MICRO PROJECT ON "Count EVEN numbers in a given array of mixed numbers"
Brief Introduction/Rationale
A microprocessor is a computer processor that combines the functions of a central processing unit onto one integrated circuit (IC), or occasionally up to 8 integrated circuits. The microprocessor is a versatile, clock-driven, register-based, digital integrated circuit that accepts binary data as input, processes it based on instructions stored in its memory, and produces results (also in binary form) as output. Microprocessors consist of both combinational logic and sequential digital logic. Microprocessors work with numbers and symbols represented in the binary number system.
Literature review :
In this project, we have learned how to count the even numbers from a given array of mixed numbers using assembly language. We rotated each number to the right by 1 bit. If a carry is generated, the number is not even. Otherwise, the number is considered even and stored in separate arrays.
ALGORITHM AND FLOWCHART
ALGORITHM:
1. Initialize the data segment.
2. Initialize counter by 5.
3. move the offset of num in S1 registers.
4. Move contents of S1 to Al register and rotate Al to right by 1bit.
5. If carry is not generated then Increment Even variable.
6. If carry is generated then go to step 4.
7. Terminate the segment.
8. End.
FLOWCHART:
PROGRAM CODE
OUTPUT
Registers |
Flag Register |
||
AX |
4C11 |
C |
0 |
BX |
0000 |
Z |
0 |
CX |
0000 |
S |
0 |
DX |
0000 |
O |
0 |
SI |
000A |
P |
1 |
DI |
0000 |
A |
0 |
BP |
0000 |
I |
1 |
SP |
0000 |
D |
0 |
DS |
48AF |
||
ES |
489D |
||
SS |
48AC |
||
CS |
48AD |
||
IP |
001C |
MEMORY CONTENTS |
MEMORY CONTENTS |
||
DS:0000 |
34 |
DS:0006 |
76 |
DS:0001 |
01 |
DS:0007 |
09 |
DS:0002 |
65 |
DS:0008 |
23 |
DS:0003 |
00 |
DS:0009 |
00 |
DS:0004 |
76 |
DS:000A |
03 |
DS:0005 |
08 |
DS:000B |
00 |
Skills Developed/Learning Outcome of the Microproject:
Thus we learnt to count the even number in an array of mixed numbers.
Applications of this Micro-project
With the help of this micro-project, we have designed a code that counts the even number in an array of mixed numbers.