VIDYA PRATISHAN’S POLYTECHNIC COLLEGE, INDAPUR- 413106
A MICRO-PROJECT REPORT ON
“Reverse A String”
SUBMITTED BY
Ms. Hivare Shraddha Pandit. Enrollment No:2211100060
Ms. Kare Tejashree Sundarrao. Enrollment No:211100069
Ms. Mane Priti Shrinivas. Enrollment No:2211100074
Ms. Kalel Rohini Mohan. Enrollment No: 23212580361
UNDER THE GUIDANCE OF
Mr. Kumbhar A.B. IN PARTIAL
FULFILMENT OF
DIPLOMA IN COMPUTER ENGINEERING
Course: Microprocessors Course Code: 22415
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE
This is to certify that the micro- project entitled
“Reverse A String”
SUBMITTED BY
[Link] Name Enrollment No. Seat No.
1) Hivare Shraddha Pandit 2211100060
2) Kare Tejashree Sundarrao 2211100069
3) Mane Priti Shrinivas 2211100074
4) Kalel Rohini Mohan 23212580361
Has been successfully completed as per the requirements of the Maharashtra
State Board of Technical Education, Mumbai in partial fulfilment of diploma in
Computer Engineering. For the academic year 2024-2025
Mr. Kumbhar A.B. Prof. Bhuse S.H. Dr.
(GUIDE) (HOD) (PRINCIPAL)
ABSTRACT
Assembly Language is a low-level programming language. It helps in understanding the
programming language to machine code. In computers, there is an assembler that helps in
converting the assembly code into machine code executable. Assembly language is designed to
understand the instruction and provide it to machine language for further processing. It mainly
depends on the architecture of the system, whether it is the operating system or computer
architecture. Assembly Language mainly consists of mnemonic processor instructions or data and
other statements or instructions. It is produced with the help of compiling the high-level language
source code like C, C++.
Reversing a string is the technique that reverses or changes the string so that the last character
of the string and so on. furthermore, we can also check the palindrome of the given string by
reversing the original string.
Procedure:
1. Start
2. Create a string
3. Traverse through the string
4. Push the character in the stack
5. Count the number of characters
6. Load the string address of the string
7. POP the top character of the stack until count is not equal to zero
8. Put the character and reduce the count and increase the address
9. Continue until the count is greater than zero
10. Load the effective address of the string in dx using LEA command
11. Print the string by calling the interrupt with 9H in AH
12. The string must be terminated by ‘$’ sign
13. End
ACKNOWLEDGEMENT
After the successful implementation of our project, we overcome with a sense of
gratitude towards those people, without whose support, guidance and cooperation this would
never have been possible.
First and fore most we would like to thanks our Guide Mr. Kumbhar A.B for their valuable
guidance which provided us with a perfect path on which we were able to successful
implement our ideas.
We heartily like to thank our Principal Mr. for their valuable support. Last but not least we
would like to thank all our classmates and parents for their enthusiasm and great ideas.
Submitted by
Ms. Hivare Shraddha Pandit
Ms. Kare Tejashree Sundarrao
Ms. Mane Priti Shrinivas
Ms. Kalel Rohini Mohan
Group Details:
Exam
Name of group members Enrollment Seat No
[Link] Roll No No
1. Ms. Hivare Shraddha Pandit 13 2211100060
2. Ms. Kare Tejashree Sundarrao 21 2211100069
3. Ms. Mane Priti Shrinivas 26 2211100074
4. Ms. Kalel Rohini Mohan 66 23212580360
Name Of Guide: Mr. Kumbhar A.B
ANNEXUER-IA
PART A
Microproject Proposal
“Reverse A String”
1.0Brief Introduction
We have created a assembly language program called “reverse a string”. This project
will help the user to reverse a string. This project ask user to enter string and then it
will be reverse a string. With the help of this project we understand the concept of
almost all instruction of assembly language of 8086 microprocessor.
2.0Aim of Project
With help of some assembly language instruction, provide a simple user interface for
our [Link] understand the concept of instruction set of 8086 microprocessor. To
reverse a string.
3.0 Action Plan :
Actual Actual Roles and
Sr. commencement Finish Date
No Responsible
Details of activity
date Persons
Collect data from different
1. Hivare S.P.
Sources (books/internet/etc.)
Collect data from similar
2. Kare T. S.
Systems
Analysis of the collected data &
3. to generate useful information Mane P.S.
from it
Prepare required drawings and
4. detailed plan for execution of Kalel R.M.
the work.
Present generated
information visually in
5. Hivare S.P.
the form of appropriate
coding
6. Use of Equipment Kare T. S.
Prepare the Micro-project
7. Mane P.S.
report
All
8. Prepare presentation
members
4.0 Resources Required:
Sr. Name of Resource Specification Qty /Units Remark
No.
1. Laptop Hp 1
2. Editor TASM -
5.0 References:
Book Name Author
8086 Microprocessor John Uffenbeck
Fundamentals of B Ram
Microprocessors
Web References:
[Link]
or-not
ANNEXUER-IIA
PART B
Micro-Project Report
“Reverse A String”
1.0Brief Introduction
We have created a assembly language program called “reverse a string”. This project
will help the user to reverse a string. This project ask user to enter string and then it
will be reverse a string. With the help of this project we understand the concept of
almost all instruction of assembly language of 8086 microprocessor.
2.0 Aim of Project
With help of some assembly language instruction, provide a simple user interface for
our [Link] understand the concept of instruction set of 8086 microprocessor. To
reverse a string.
3.0 Course Outcomes Integrated
b) Write assembly language program for the given program.
c) Use instructions for different addressing modes.
d) Develop an assembly language program using assembler.
4.0 Actual Procedure Followed:
[Link] Used:
Language: Assembly
Software: TASM
2. Algorithm:
1. Start
2. Create a string
3. Traverse through the string
4. Push the character in the stack
5. Count the number of characters
6. Load the string address of the string
7. POP the top character of the stack until count is not equal to zero
8. Put the character and reduce the count and increase the address
9. Continue until the count is greater than zero
10. Load the effective address of the string in dx using LEA command
11. Print the string by calling the interrupt with 9H in AH
12. The string must be terminated by ‘$’ sign
13. End
Program of the microproject:
.MODEL SMALL
.STACK 100H
.DATA
; The string to be printed
STRING DB 'This is a sample string', '$'
.CODE
MAIN PROC FAR
MOV AX,@DATA
MOV DS,AX
; call reverse function
CALL REVERSE
; load address of the string
LEA DX,STRING
; output the string
; loaded in dx
MOV AH, 09H
INT 21H
; interrupt to exit
MOV AH, 4CH
INT 21H
MAIN ENDP
REVERSE PROC
; load the offset of
; the string
MOV SI, OFFSET STRING
; count of characters of the;
;string
MOV CX, 0H
LOOP1:
; compare if this is;
;the last character
MOV AX, [SI]
CMP AL, '$'
JE LABEL1
; else push it in the;
;stack
PUSH [SI]
; increment the pointer;
;and count
INC SI
INC CX
JMP LOOP1
LABEL1:
; again load the starting;
;address of the string
MOV SI, OFFSET STRING
LOOP2:
;if count not equal to zero
CMP CX,0
JE EXIT
; pop the top of stack
POP DX
; make dh, 0
XOR DH, DH
; put the character of the;
;reversed string
MOV [SI], DX
; increment si and;
;decrement count
INC SI
DEC CX
JMP LOOP2
EXIT:
; add $ to the end of string
MOV [SI],'$ '
RET
REVERSE ENDP
END MAIN
Outputs of the micro project:
Flowchar:
Actual Actual Roles and
Sr. commencement Finish Date
No Responsible
Details of activity
date Persons
Collect data from different
1. Hivare S.P.
Sources (books/internet/etc.)
2. Collect data from similar Systems Kare T. S.
Analysis of the collected data &
3. to generate useful information Mane P.S.
from it
Prepare required drawings and
4. detailed plan for execution of the Kalel R.M.
work.
Present generated
information visually in
5. Hivare S.P.
the form of appropriate
coding
6. Use of Equipment Kare T. S.
7. Prepare the Micro-project report Mane P.S.
All
8. Prepare presentation
members
5.0 Actual Resources Used:
Sr.
No. Name of Resource Specification Qty /Units Remark
1 Laptop HP 1 -
2 Editor TASM - -
6.0 Output of the micro project:
Enter String: MSBTE
Reverse string: ETBSM
7.0 Skills Developed /learning out of this MicroProject:
• Communication skills (verbal and written)
• Attitude towards work
• Lifelong learning
• Teamwork
• Stress management
• Creativity
8.0 Bibliography:
1) 8086 Microprocessor- John Uffenbeck
2) Fundamentals of Microprocessors- B Ram
Web references:
[Link]
or-not
Books:
1) 8086 Microprocessor- John Uffenbeck
2) Fundamentals of Microprocessors- B Ram
ANNEXURE II
Evaluation Sheet for the Micro Project
Academic Year: 2024- 25 Name of the Faculty: Mr. Kumbhar A.B
Course: Microprocessors Course code: 22415 Semester: 4I
Title of the Project:
Reverse a string
Cos addressed by Micro Project:
b) Write assembly language program for the given program
c) Use instructions for different addressing modes.
d) Develop an assembly language program using assembler.
Major learning outcomes achieved by students by doing the project:
❖ Communications skill
❖ Team work
(a)Practical Outcome:
❖ Develop an assembly language program using assembler.
❖ Develop use the assembly language programming tools and function.
(b)Unit outcomes in Cognitive domain:
❖ Classify computer networks on the specified parameter.
❖ Identify Relevant network topology for the given situation.
(c)Outcomes in Affective domain:
❖ Communication skills (verbal and written)
❖ Attitude towards work
Comments/suggestions about team work /leadership/inter-personal
communication (if any)
Marks out of Marks out of 4
6 for perfor- for performance
Total
Group Roll mance in in oral/
out of
No. No. Student Name group activity presentation
10
(D5 Col.8) (D5 Col.9)
13 Hivare Shraddha Pandit
21 kare Tejashree Sundarrao
02
25 Mane Priti Shrinivas
DSY-64 Kalel Rohini Mohan
(Signature of Faculty)