Professional Documents
Culture Documents
Yash Mic
Yash Mic
Micro Project
Academic Year (2021-22)
Maharashtra State Board of Technical Education
Program code and name: CO
Subject: Microprocessor
A Micro Project on
BCD to HEX Conversion
Sr. Roll No. Student Name Enrollment Seat No.
No.
1 Yash Botre 2016240019
2 OM Markad 2016240017
Under Guidance of
Mrs. Yogita Rode mam…
Maharashtra State Board of Technical Education
Certificate
This is to certify that Mr. Yash Botre ……. Roll No….. Of fourth
Semester of Diploma in Computer Engineering of Institute, Siddhant
college of Engineering (Code: 1624) has completed the Practical
Activities (PA) satisfactorily in Course Microprocessor for the
academic year 2021 – 2022 as prescribed in the curriculum.
Certificate
This is to certify that Mr. Om Markad ……. Roll No….. Of fourth
Semester of Diploma in Computer Engineering of Institute, Siddhant
college of Engineering (Code: 1624) has completed the Practical
Activities (PA) satisfactorily in Course Microprocessor for the
academic year 2021 – 2022 as prescribed in the curriculum.
This would not have been possible without the guidance and
help of many people. This is the only page where we have the
opportunity of expressing our emotions and gratitude from the
core of our heart to them. This project would not have been
successful without enlightened ideas, timely suggestions and
interest of our most respected guide Of Mrs. Yogita Rode mam
without her best guidance; this would have been an impossible
task to complete.
LXI H,5000
MOV A,M ;Initialize memory pointer
ADD A ;MSD X 2
MOV B,A ;Store MSD X 2
ADD A ;MSD X 4
ADD A ;MSD X 8
ADD B ;MSD X 10
INX H ;Point to LSD
ADD M ;Add to form HEX
INX H
MOV M,A ;Store the result
HLT
Input:
Data 0: 02H in memory location 5000
Data 1: 09H in memory location 5001
Output:
Data 0: 1DH in memory location 5002
BCD represents decimal digits using groups of 4 bits. Since a
decimal digit can be 0–9 only, but 4 bits can represent 16
possible symbols, this is a little wasteful, but it’s convenient for
some situations, so the inefficiency is accepted.
But over the range that BCD can represent, 0–9, hexadecimal
uses the same symbols. So to convert BCD to hexadecimal,
there is nothing to do - the representation is identical. 123456 in
BCD is 0001 0010 0011 0100 0101 0110 and in hex, that
is….123456
Hex
Problem Statement
Discussion
http://www.roseindia.com/css/asseblyl/lang
http://www.stackoverflow.com/tags/assembly/info
http://wikipedia.com/wiki/mic
Microprocessor Models, Languages, Design and Application
Programming, Ramer Elastic and Sham Kant B.
Navaho, 7th Edition, 2017, Pearson.