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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/28/04 07:41
Read: times


 
#78232 - RE: BOOTLOADER
Responding to: ???'s previous message
hi,

here is the part of your code:
GoToBoot: 
MOV AUXR1,#020H 
MOV R0,#11 
MOV R1,#06H 
MOV DPTR,#00H 
MOV A,#0FFF0H 
SETB P2.2 ; buzzer on 
CALL DELAY 
CLR P2.2 ; buzzer off 
MOV R1,#0FFH 
DJNZ R1,$ 
SETB P2.2 ; buzzer on 
CALL DELAY 
CLR P2.2 ; buzzer off 
LCALL 0FFFH
Could you make more comments please?
For example, why do you load R0, then R1, DPTR and A before call Delay()? Does subroutine DELAY modify any registers? Why do you call 0xFFF??? What are placed there? And finally: what is this program for?

Thanks,
Oleg


List of 23 messages in thread
TopicAuthorDate
BOOLOADER            01/01/70 00:00      
   RE: BOOLOADER            01/01/70 00:00      
   RE: BOOLOADER            01/01/70 00:00      
      RE: BOOLOADER            01/01/70 00:00      
         RE: BOOLOADER            01/01/70 00:00      
   RE: BOOLOADER            01/01/70 00:00      
      RE: BOOLOADER            01/01/70 00:00      
   RE: BOOLOADER            01/01/70 00:00      
      RE: BOOLOADER            01/01/70 00:00      
         RE: BOOLOADER            01/01/70 00:00      
            RE:            01/01/70 00:00      
               RE: 12V Sigs            01/01/70 00:00      
                  RE: 12V Sigs            01/01/70 00:00      
                     RE: 12V Sigs            01/01/70 00:00      
                        RE: 12V Sigs            01/01/70 00:00      
                           RE: 12V Sigs            01/01/70 00:00      
                              RE: 12V Sigs            01/01/70 00:00      
                     RE: 12V Sigs            01/01/70 00:00      
                        RE: 12V Sigs            01/01/70 00:00      
   RE: BOOTLOADER            01/01/70 00:00      
      RE: BOOTLOADER            01/01/70 00:00      
         RE: BOOTLOADER            01/01/70 00:00      
      RE: BOOTLOADER            01/01/70 00:00      

Back to Subject List