Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/08/02 12:14
Read: times


 
#32147 - RE: Interrupts and exit flow control
My solution:

watchdog_int:
pop wd_temp_h_ret ;old return address
pop wd_temp_l_ret
push ACC
push PSW

inc wdog ;count mov A,wdog ;count>limit ->tout
cjne A,wd_timeOut,w_fin mov wdog,#0
;new return address
mov wd_temp_l_ret,wd_crit_l_ret
mov wd_temp_h_ret,wd_crit_h_ret

w_fin: pop PSW
pop ACC
push wd_temp_l_ret push wd_temp_h_ret
reti

List of 11 messages in thread
TopicAuthorDate
Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      
RE: Interrupts and exit flow control            01/01/70 00:00      

Back to Subject List