Make a Digital Clock in 8085 programming
8085 is an assembly level programming. It uses a lot of mnemonics to write code. To understand a lot of mnemonics is a negative part of any assembly level programming. The following code designs a digital clock with approximately 1 second delay (it depends upon your kits frequency). The delay is calculated by multiplying total T-states a time required for each T-states. It is a 12 hours clock and resets its time after 12 hours.
Source Code
MVI A,80H
OUT 43
START: MVI D,00H
NEXTHOUR:
MVI C,00H
NEXTMINUTE:
MVI E,00H
NEXTSECOND:
PUSH B
CALL CALLING
POP B
INR E
MOV A,E
OUT 40
CPI 3CH
JNZ NEXTSECOND
INR C
MOV A,C
OUT 41
CPI 3CH
JNZ NEXTMINUTE
INR D
MOV A,D
OUT 42
CPI CH
JNZ NEXTHOUR
JMP START
CALLING:
LXI B,FFFFH
DELAY:
DCX B
MOV A,C
ORA B
NOP
NOP
RZ
JMP DELAYThe two lines of code : MVI A, 80 and OUT 43 is used to initialize output port. It varies on kit to kit. So see your manufacturer’s specifications for this.

i cant understand the codes.. i am kinda coding and working now with 82c55 or the io board 5..i hope you can give me and make understand the codes..
I don't know much but the above program simply doesn't get assembled
this will display time in hexadecimal, how to convert it to decimal ?
Pease sir/mam mention all the instructions function,so that we can easily understand