CyberResearch CPEN GX-333-X Manuale Utente

Pagina di 98
CyberResearch
® 
CPU Cards 
 
CPEx GX-333-X 
CyberResearch, Inc.  
73 
25 Business Park Drive 
 
P: (203) 483-8815; F: (203) 483-9024 
Branford, CT USA 
 
www.cyberresearch.com 
 
 NOTE:  
When exiting a program it is necessary to disable the Watchdog Timer, 
otherwise the system will reset.
 
 
Example program: 
 
INITIAL TIMER PERIOD COUNTER 

W_LOOP: 
 
        MOV     AX, 6F02H  
;setting the time-out value 
        MOV     BL, 30 
 
 
;time-out value is 48 seconds 
        INT       15H
 
 ; 
ADD YOUR APPLICATION PROGRAM HERE 

        CMP      EXIT_AP, 1 
 
;is your application over? 
        JNE       W_LOOP   
;No, restart your application 
 
         MOV    AX, 6F02H  
;disable Watchdog Timer 
         MOV    BL, 0 
 
 
         INT      15H
 

EXIT ;