if any one can please help me with the code please emailme at <snipped email>

the code i wrote is

MVI E,17H
	MVI C,3BH
	MOV D,C
L1:	MVI A,00H
	OUT 01H
	OUT 02H
L2:	CMP C
	JZ L3
	DAA
	OUT 03H
	LXI H,03E8H
D1:	MVI B,0D6H
D2:	DCR B
	JNZ D2
	DCX H
	MOV A,L
	ORA H
	JNZ D1
	INR A
	JMP L2
L3:	XRA A
	INR A
L4:	CMP D
	JZ L5
	DAA
	OUT 02H
	INR A
	JMP L4
L5:	XRA A
	INR A
	CMP E
	JZ L1
	DAA
	OUT 01H
	JMP L1

Recommended Answers

All 2 Replies

check out my website for this code for digital Clock with 8085 microprocessor.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.