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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/29/12 10:38
Read: times


 
#186274 - The famous (and deadly) example:
Responding to: ???'s previous message
Erik Malund said:
Who has more - naah, let's not limit it to chips, go ahead tell us about the good ideas you or someone else had that backfired.


Setting a flag by incrementing a byte variable. It's nice and short (using an INC instruction instead of having to load a bitmask and using an OR instruction) and works as intended in 255 out of 256 cases.

(Simple bonus question: Name the (infamous) device that contained this bug.)

List of 7 messages in thread
TopicAuthorDate
"elegant" solutions that backfired            01/01/70 00:00      
   "The road to hell is paved with good intentions"            01/01/70 00:00      
      If the road to Hell ...            01/01/70 00:00      
         It sounds like ...            01/01/70 00:00      
            re shortcuts            01/01/70 00:00      
   "The Price of Tools"            01/01/70 00:00      
   The famous (and deadly) example:            01/01/70 00:00      

Back to Subject List