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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/15/05 19:24
Read: times


 
#89744 - description
Responding to: ???'s previous message
ORG 0X0000
LJMP MAIN

ORG 0X0013 /*EXTERNAL INTERRUPT*/
ISR_IE1:
MOV R1,#0x00
RETI


ORG 0X0030
MAIN:
MOV R1,#0x01

/* HERE I AM SETTING THE R1 AS A FLAG IN ORDER TO CHECK WHETHER THE INTERRUPT OCCURS, IF IT OCCURS, THE INTERRUPT ROUTINE WILL CLEAR THIS R1 */

SETB TCON.2
MOV IE,#0x8C
HERE1: CJNE R1,#0x00,HERE1

/*AFTER EXTERNAL INTERRUPT */
CLR IE.2 /*PULSE GENERATION STARTS*/ ...........................
.............................
the code after this is just a look-up table fetching routine, i tested that section without any interrupts and it works well. my aim is this section(look-up table) should start after the external interrupt. but unconditionally the interrupt occurs and starts my pulses. that was my problem


List of 19 messages in thread
TopicAuthorDate
external interupt problem            01/01/70 00:00      
   grounding or noise            01/01/70 00:00      
      initially connected high            01/01/70 00:00      
         Triggered signal generator            01/01/70 00:00      
   Re:external interupt problem            01/01/70 00:00      
      USED CODE            01/01/70 00:00      
         Goobldeygook            01/01/70 00:00      
         formatted code            01/01/70 00:00      
            Formatted ???            01/01/70 00:00      
               only interrupt routine            01/01/70 00:00      
            questions            01/01/70 00:00      
            description            01/01/70 00:00      
               that was my problem            01/01/70 00:00      
                  without interrupt            01/01/70 00:00      
                     OK what happens            01/01/70 00:00      
                     timer?            01/01/70 00:00      
                        source of confoosion            01/01/70 00:00      
         To Vijayganesh!            01/01/70 00:00      
            code confusion            01/01/70 00:00      

Back to Subject List