MIC Final Micro
MIC Final Micro
MIC Final Micro
411041
MICRO PROJECT
ON
Certificate
Faculty signature
Guided by prof. Pujari.M.P
. INDEX:
SR CONTENT PAGE
NO. NO.
1. ABSTRACT 05
2. INTRODUCTION 06
3. PROGRAM OF STRING PALINDROME 07
4. OUTPUT OF PROGRAM 09
5. SCOPE OF WORK 10
6. REFRENCE 11
7. CONCLUSION 12
8. WEEKLY PROGRESS REPORT 13
9. EVALUATION SHEET OF MICRO-PROJECT 15
ABSTRACT
Palindrome is a word, phrase, number or sequence of
characters that reads the same from both ends. This program
checks whether a given string is a palindrome using ALP
(Assembly Language Programming). The program will take the
input string, reverse it, and compare it with the original string to
determine if it is a palindrome. This is achieved by manipulating
the memory locations using ALP instructions to reverse the
string and perform the comparison. The program will output
whether the given string is a palindrome or not.
INTRODUCTION
.CODE
MAIN PROC FAR
MOV AX, @DATA
MOV DS, AX
CALL Palindrome
;interrupt to exit
LOOP1 :
MOV AX, [SI]
CMP AL, '$'
JE LABEL1
INC SI
JMP LOOP1
LABEL1 :
MOV DI,OFFSET STRING
DEC SI
LOOP2 :
CMP SI, DI
JL OUTPUT1
MOV AX,[SI]
MOV BX, [DI]
CMP AL, BL
JNE OUTPUT2
DEC SI
INC DI
JMP LOOP2
OUTPUT1:
;load address of the string
LEA DX,STRING1
OUTPUT2:
;load address of the string
LEA DX,STRING2
; output the string
; loaded in dx
MOV AH,09H
INT 21H
RET
Palindrome ENDP
END MAIN
OUTPUT OF PROGRAM
CONCLUSION
In conclusion, by implementing a program in ALP to check whether a
given string is a palindrome, we have demonstrated the power and
flexibility of assembly language programming. Despite the complexity
and low-level nature of ALP, we were able to efficiently manipulate
strings and compare them to determine if they are palindromes. Through
this project, we have showcased the importance of understanding and
leveraging different programming languages and tools to solve various
problems. The use of ALP in checking palindrome strings serves as a
testament to the diverse applications and capabilities of assembly
language programming. With further exploration and experimentation,
we can continue to unlock the full potential of ALP in various computing
tasks and challenges.
REFERENCE
1.https://www.geeksforgeeks.org/
2.https://www.scribd.com/
3.https://www.tutorialspoint.com/
WEEKLY PROGRESS REPORT
MICRO-PROJECT
SR WEEK ACITVITY DATE SIGN OF
NO. PERFORM TEACHER
1. 1ST Discussion and
finalisation of
topic
2. 2ND Preparation and
submission of
abstract
3. 3RD Literature review
4. 4TH Collection of data
5. 5TH Collection of data
6. 6TH Discussion and
outline of
content
7. 7TH Formulation of
content
8. 8TH Editing and proof
reading of
content
9. 9TH Compilation of
report and
presentation
10. 10TH Seminar
11. 11TH Viva voce
12. 12TH Final submission
of micro-project
Title of project:
MAJOR LEARNING OUTCOMES ACHIEVED BY STUDENTS BY DOING THE PROJECT :
[A] practical outcome:
1. PO1 BASIC KNOWLEDGE.
2.PO2 DISPLINE KNOWLEDGE.
3.PO7 ETHICS.
4.PO8 INDIVIDUAL AND TEAM WORK.
5.PO9 COMMUNICATION.
6.PO10 LIFE-LONG LEARNING.
Exa STUDENT Marks out of Marks out of Total out Student
m NAME 5 or 5 for of 10
Seat performance Enrollment
performance. in oral/
No. Number
in presentation
group activity (D5 Col.9)
(D5 Col.8)