Professional Documents
Culture Documents
DTM GRP 8
DTM GRP 8
EDUCATION – MUMBAI
Program: Information Technology Course code:(22323)
Guided by
Prof. C.S Mogare
Lecturer
Department of Information Technology,
MET’S Institute of Technology , Polytechnic , Nasik
Academic Year -2022-2023
ACKNOWLEDGEMENT
We express our sincere Thanks to our guide PROF. C.S. Mogare .lecturer
in IT department. Who has given us valuable suggestion excellent guidance,
continues encouragement and taken keen interest in the completion of this work.
Her kind assistance and constant inspiration will always help us in our future
also.
We have a 4 digit Hex number whose equivalent binary number is to be found i.e.
FFFF H. Initially we compare FFFF H with decimal 10000 ( 2710 H in Hex ). If number
is greater than 10,000 we add it to DH register. Also, we subtract decimal 10,000 from
FFFF H, each time comparison is made. Then we compare the number obtained in AX by
1000 decimal. Each time we subtract 1000 decimal from AX and add 1000 decimal to
BX. Then we compare number obtained in AX by 100 decimals. Each time we subtract
100 decimal from AX and add 100 decimal to BX to obtain BCD equivalent. Then we
compare number obtained in AX with 10 decimal. Each time we subtract 10 decimal
from AX and we add 10 decimal to BX. Finally we add the result in BX with remainder
in AX. The final result is present in register DH with contains the 5th bit if present and
register AX.
4.0 Action Plan:
5 Pratik Girkar
31/11/2022 31/11/2022 Sahil Rajole
Completion of project
Paritosh Sandhan
6 Pratik Girkar
16/11/2022 16/11/2022 Sahil Rajole
Project Report Preparation
Paritosh Sandhan
7 Pratik Girkar
6/12/2022 6/12/2022 Sahil Rajole
Project Report submission
Paritosh Sandhan
2 Website -------------- 1
3 Software 1
TASM
We have a 4 digit Hex number whose equivalent binary number is to be found i.e.
FFFF H. Initially we compare FFFF H with decimal 10000 ( 2710 H in Hex ). If number
is greater than 10,000 we add it to DH register. Also, we subtract decimal 10,000 from
FFFF H, each time comparison is made. Then we compare the number obtained in AX by
1000 decimal. Each time we subtract 1000 decimal from AX and add 1000 decimal to
BX. Then we compare number obtained in AX by 100 decimals. Each time we subtract
100 decimal from AX and add 100 decimal to BX to obtain BCD equivalent. Then we
compare number obtained in AX with 10 decimal. Each time we subtract 10 decimal
from AX and we add 10 decimal to BX. Finally we add the result in BX with remainder
in AX. The final result is present in register DH with contains the 5th bit if present and
register AX.
4.0 Literature review:
We have a 4 digit Hex number whose equivalent binary number is to be found i.e.
FFFF H. Initially we compare FFFF H with decimal 10000 ( 2710 H in Hex ). If number is
greater than 10,000 we add it to DH register. Also, we subtract decimal 10,000 from FFFF H,
each time comparison is made. Then we compare the number obtained in AX by 1000 decimal.
Each time we subtract 1000 decimal from AX and add 1000 decimal to BX. Then we compare
number obtained in AX by 100 decimals. Each time we subtract 100 decimal from AX and add
100 decimal to BX to obtain BCD equivalent. Then we compare number obtained in AX with 10
decimal. Each time we subtract 10 decimal from AX and we add 10 decimal to BX. Finally we
add the result in BX with remainder in AX. The final result is present in register DH with contains
the 5th bit if present and register AX.
.model small
.stack 100
.code
mov ax, 0ffffh ; hex number to find it's bcd
mov bx, 0000
mov dh, 0
l9 : cmp ax, 10000 ; if ax>10000
jb l2
sub ax, 10000 ; subtract 10000
inc dh ; add 1 to dh
jmp l9
l2 : cmp ax, 1000 ; if ax>1000
jb l4
We have a 4 digit Hex number whose equivalent binary number is to be found i.e.
FFFF H. Initially we compare FFFF H with decimal 10000 ( 2710 H in Hex ). If number is
greater than 10,000 we add it to DH register. Also, we subtract decimal 10,000 from FFFF H,
each time comparison is made. Then we compare the number obtained in AX by 1000 decimal.
Each time we subtract 1000 decimal from AX and add 1000 decimal to BX. Then we compare
number obtained in AX by 100 decimals. Each time we subtract 100 decimal from AX and add
100 decimal to BX to obtain BCD equivalent. Then we compare number obtained in AX with
10 decimal. Each time we subtract 10 decimal from AX and we add 10 decimal to BX. Finally
we add the result in BX with remainder in AX. The final result is present in register DH with
contains the 5th bit if present and register AX.
2 Website ------------- 1
3 Software TASM 1
6.0 Outcome of micro project :-
……………………………………………………………………………………………………….
……………………………………………………………………………………………………….
Dated Signature………………………………………………………………………
Micro Project Evaluation Sheet
Seat No.:-348034
Dated Signature:-…………………………………………………………………………….
……………………………………………………………………………………………………