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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/26/03 15:29
Read: times


 
#40152 - RE: Delay routine for 30 seconds.
Responding to: ???'s previous message
Try This one. It has always worked fine for me.
Hugh


;*************************************************************************
; DELAY LOOP CAUSE THE LCD IS SLOW TO WARM UP
;USING A 11,059,200 hertz CRYSTAL THE TOTAL LOOP TIME IS .0356944 SEC
;*************************************************************************
DELAY:
MOV R0,#00h ; 2 cycle
AGAIN:
MOV R1,#00h ; 2 cycle
HERE:
NOP ; 1 cycle
NOP ; 1 cycle
DJNZ R1,HERE ; 4 cycle
DJNZ R0,AGAIN ; 4 cycle
RET
;

List of 26 messages in thread
TopicAuthorDate
Assembly on C programm            01/01/70 00:00      
   Delay routine for 30 seconds.            01/01/70 00:00      
      RE: Delay routine for 30 seconds.            01/01/70 00:00      
         RE: Delay routine for 30 seconds.            01/01/70 00:00      
            RE: Delay routine for 30 seconds.            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm -Bryan            01/01/70 00:00      
RE: Assembly on C programm - Erik            01/01/70 00:00      
RE: Assembly on C programm - Andy            01/01/70 00:00      
RE: Delays in C            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm, Erik            01/01/70 00:00      
C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output Andy            01/01/70 00:00      

Back to Subject List