Professional Documents
Culture Documents
OF TECHNICAL EDUCATION
A MICRO PROJECT
ON
BCD To Hexadecimal
Conversion
Submitted by
Derren Tuscano (22)
Aaryan Tuscano (31)
Laveen Dcunha (34)
Ron Correia (36)
1
Subject and code: MIC (22415) Academic Year: 2023-24
Course Name and Code: CO- Semester:Fourth
4I
BCD To Hexadecimal
Conversion
2
Department of Computer Engineering.
St. John Polytechnic, Palghar
3
Certificate
This is to certify that Mr./Ms. DERREN PIUS TUSCANO Roll No: 22 of Fourth
Semester of Computer Engineering Diploma Programme at St. John college of
Engineering and Management has completed the Micro Project satisfactorily in subject
MICROPROCESSOR (22415) in the academic year 2023-2024 asPrescribed in the MSBTE
prescribed curriculum of I Scheme.
4
Certificate
This is to certify that Mr./Ms. AARYAN RICHARD TUSCANO Roll No: 31 of Fourth
Semester of Computer Engineering Diploma Programme at St. John college of
Engineering and Management has completed the Micro Project satisfactorily in subject
MICROPROCESSOR (22415) in the academic year 2023-2024 asPrescribed in the MSBTE
prescribed curriculum of I Scheme.
5
Certificate
This is to certify that Mr./Ms. LAVEEN VIJAY DCUNHA Roll No: 34 of Fourt Semester
of Computer Engineering Diploma Programme at St. John college of Engineering and
Management has completed the Micro Project satisfactorily in subject
MICROPROCESSOR (22415) in the academic year 2023-2024 asPrescribed in the
MSBTE prescribed curriculum of I Scheme.
6
Certificate
This is to certify that Mr./Ms. RON WILLIAM CORREIA Roll No: 36 of Fourth Semester
of Computer Engineering Diploma Programme at St. John college of Engineering and
Management has completed the Micro Project satisfactorily in subject MICROPROCESSOR
(22415) in the academic year 2023-2024 as Prescribed in theMSBTE prescribed curriculum
of I Scheme.
7
INDEX
Sr Topic Page
No. No.
1 Abstract 8
2 Introduction 9
3 Code 10
4 Code Output 11
5 Dump Window 12
6 Conclusion 13
7 Reference 14
8
Abstract:
9
Introduction
10
Code
DATA SEGMENT
DEC_NUM DB
56
HEX_NUM DW 0
MULT_FAC DW
3e8H DIGIT_COUNT
DW 2 DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,
DS:DATA START:
MOV AX,
DATA MOV DS,
AX MOV BX,
0AH
MOV CX, DIGIT_COUNT
MOV SI, OFFSET
DEC_NUM
XOR DX, DX ; Clear DX register before first MUL operation
UP:
MOV AL, [SI]
AND AL, 0FH
MUL
MULT_FAC
ADD HEX_NUM, AX
ADC DX, 0 ; Add carry from multiplication to
DX MOV AX, MULT_FAC
DIV BX
MOV MULT_FAC,
AX INC SI
LOOP UP
CODE
11
ENDS END
START
12
Code Output
Before Execution
After Execution
13
DUMP Window
14
Conclusion:
15
Reference
Microprocessor and interfacing (programming and hard ware) - Hall
Douglas V
https://www.geeksforgeeks.org/8086-program-convert-8-bit-bcd-
number-hexadecimal-number/
https://www.tutorialspoint.com/8086-program-to-convert-an-8-bit-bcd-
number-into-hexadecimal-number
https://codingatharva.blogspot.com/2019/05/program-to-convert-bcd-
number-to-hexadecimal-in-8086.html
https://forum.allaboutcircuits.com/threads/bcd-to-hex-in-
assembly.37947/
16