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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/04 20:38
Read: times


 
#67680 - RE: a comment on comments
Responding to: ???'s previous message
Please take this as advice, not criticism
MOV DPTR,#0010H ;LOAD DPTR   the kind of 'comment' that makes no sense
MOV R0,#40H ;IRAM BACKUP PTR very good
MOV R1,#50H ;IRAM PTR        ptr to what
MOV R7,#16 ;COUNT=16         count of what



Re the first comment "makes no sense": the purpose of a comment is to comment what you are doing, not what the instruction does. If someone need that type of comments, they should not attempt to read the code anyhow.

Erik


List of 19 messages in thread
TopicAuthorDate
mistake in my code            01/01/70 00:00      
   RE: mistake in my code            01/01/70 00:00      
   RE: mistake in my code            01/01/70 00:00      
      RE: mistake in my code            01/01/70 00:00      
         RE: mistake in my code            01/01/70 00:00      
      RE: mistake in my code            01/01/70 00:00      
         RE: mistake in my code            01/01/70 00:00      
            RE: mistake in my code            01/01/70 00:00      
               RE: mistake in my code            01/01/70 00:00      
         RE: mistake in my code            01/01/70 00:00      
            RE: mistake in my code            01/01/70 00:00      
   RE: mistake in my code            01/01/70 00:00      
   RE: mistake in my code            01/01/70 00:00      
      RE: a comment on comments            01/01/70 00:00      
      RE: mistake in my code            01/01/70 00:00      
         RE: mistake in my code            01/01/70 00:00      
      Comments            01/01/70 00:00      
         RE: Comments            01/01/70 00:00      
            RE: Comments            01/01/70 00:00      

Back to Subject List