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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/04/05 16:55
Read: times


 
#90981 - neatly formatted, yes but
Responding to: ???'s previous message
this
ie0vec1: 
	CJNE R0, #00h, DIGIT2 
	SETB P2.2
is neatly formatted, yes but
ie0vec1:
;; ISR for ext int 0
;
; R0 hold ...... throughout this code (main and ISR)
;  
	CJNE R0, #00h, DIGIT2 
	SETB P2.2
would have been neat and complete

It is not immediately obvious that ie0vec1 is the EI0 ISR and the ...... above indicate something that it would have taken more than a few seconds to figure out (I did not).

Erik


List of 18 messages in thread
TopicAuthorDate
Can not write second line on LCD            01/01/70 00:00      
   Since you do not believe in comments            01/01/70 00:00      
      Comments            01/01/70 00:00      
         what would you rather            01/01/70 00:00      
         Untidy            01/01/70 00:00      
   Code with comments            01/01/70 00:00      
      what happened            01/01/70 00:00      
         Did you check the second line address?            01/01/70 00:00      
         How to post code - detailed instructions            01/01/70 00:00      
            neatly formatted, yes but            01/01/70 00:00      
         0xC0 is correct            01/01/70 00:00      
            Can write anywhere            01/01/70 00:00      
               cal which calls which calls which calls            01/01/70 00:00      
               Works here            01/01/70 00:00      
               timing, maybe...            01/01/70 00:00      
                  Timing?            01/01/70 00:00      
   I am sure!            01/01/70 00:00      
   I am not sure now!            01/01/70 00:00      

Back to Subject List