HOW TO SET 5 DIFFERNET ALARMS IN THE DIGITAL CLOCK PGM

In the display RTC routine i am checking for the Alarm
PASS:	inc r1
	mov a,#0C7h
	acall command
	mov a,@r1
	mov 51h,@r1
	mov alarm_chk_min,@r1
	acall disp_val
PASS1:	inc r1
	mov a,#0c4h
	acall command
	mov a,@r1
	mov 52h,@r1
	mov alarm_chk_hour,@r1
	mov r4,a

here i am moving the current time to alarm_chk_hour and min registers so that i can use them while comparing.
... Read Compelte post
Other Tags: r1   mov   setb   chk   
Posted by ajay_bhargav on Fri Apr 27 2007, 12:37 pm

Downloads

Comments

Badzaim
Tue Jun 28 2022, 10:12 pm
Sylviavaw
Tue Jun 28 2022, 06:22 pm
KennethLAbly
Tue Jun 28 2022, 02:00 pm
Doylewholi
Tue Jun 28 2022, 12:12 pm
JamesBof
Tue Jun 28 2022, 07:10 am
Michaelcarma
Mon Jun 27 2022, 06:47 pm
Manuelwrism
Mon Jun 27 2022, 04:24 pm
LarryDript
Mon Jun 27 2022, 11:15 am