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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/06/04 12:22
Read: times


 
#75560 - RE: IAP Problem in P89C51RD2HBP
Responding to: ???'s previous message
mov r0,_iap_freq

...maybe should it be
mov r0,#_iap_freq

It's almost unbelievable, I did such a silly mistake

No, it is very believable. I think this mistake is the one that, even seasoned, '51 programmers make most often.

A simple cure is to make the label of all constants CAPITALS and all variable labels something else. It does not keep you from making the mistake, but makes it a lot easier to spot.

Erik

List of 8 messages in thread
TopicAuthorDate
IAP Problem in P89C51RD2HBP            01/01/70 00:00      
   RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      
   RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      
      RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      
   RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      
      RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      
   RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      
   RE: IAP Problem in P89C51RD2HBP            01/01/70 00:00      

Back to Subject List