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

Back to Subject List

Thread Closed: Became flame-war

???
06/23/06 13:00
Modified:
  06/23/06 13:39

Read: times


 
#118944 - why do you check for keys a few microsec
Responding to: ???'s previous message
       ACALL KEYPRESSED;       ; to check whether any key is pressed or not
       JNZ CALCULATE           ; if key is pressed then jump to calculate to check is the key     

                               ; pressed is valid key or the previous key is kept pressed till    

                               ; now
       JMP ALTER;              ; If no key is pressed then clear the flag which check whether the 

                               ;  previous key is kept pressed till now

CALCULATE:
       ACALL KEYPRESSED        ; again check whether key is pressed or not


why do you check for keys a few microseconds apart?

Erik

PS the comments are nice, it IS readable (or I would not have posted the above), but it is still spaghetti, I get lost after a few lines. It seems you are trying to get a result by "throwing code at it" rather than "deciding what is needed and then coding"


List of 32 messages in thread
TopicAuthorDate
switch and LED interface problem            01/01/70 00:00      
   Duplicate thread            01/01/70 00:00      
      DIFFERENT            01/01/70 00:00      
         Still unformatted and NO comments            01/01/70 00:00      
   Mr. Andy Neil            01/01/70 00:00      
      Help            01/01/70 00:00      
      Seniors, not baby sitters            01/01/70 00:00      
         Tell it to the Teddy Bear...            01/01/70 00:00      
         comments are added ... have a look again            01/01/70 00:00      
            Formatting!            01/01/70 00:00      
            LOOK AGAIN ... MODIFIED ...            01/01/70 00:00      
               This is hopeless!            01/01/70 00:00      
                  FINAL MODIFIES CODE ... have a look            01/01/70 00:00      
                     why do you check for keys a few microsec            01/01/70 00:00      
                     Debounce scheme cannot be identified            01/01/70 00:00      
                     I had 15 minutes waiting for someone and            01/01/70 00:00      
      no way            01/01/70 00:00      
         i dont know            01/01/70 00:00      
            He responded this morning            01/01/70 00:00      
               He wiil strike again on Monday            01/01/70 00:00      
   Spaghetti code            01/01/70 00:00      
      Before (re)writing            01/01/70 00:00      
      Again            01/01/70 00:00      
      and he comkplains about the tomato sauce            01/01/70 00:00      
   What about this?            01/01/70 00:00      
   HELOOOOOOOOOO !!!...            01/01/70 00:00      
      Why are you shouting??            01/01/70 00:00      
      Pot calling kettle - Come in Kettle!            01/01/70 00:00      
      TANSTAAFL            01/01/70 00:00      
      Consensus            01/01/70 00:00      
   ????????????????????            01/01/70 00:00      
   hitting in dark            01/01/70 00:00      

Back to Subject List