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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Christoph Franck
02/29/12 03:38
Read: 347 times
Sindelfingen
Germany


 
#186274 - The famous (and deadly) example:
Responding to: Erik Malund'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      Erik Malund      02/21/12 14:03      
   "The road to hell is paved with good intentions"        Kalpak Dabir      02/21/12 18:02      
      If the road to Hell ...      Joseph Hebert      02/24/12 08:41      
         It sounds like ...      Christoph Franck      02/25/12 08:21      
            re shortcuts      Erik Malund      02/29/12 07:38      
   "The Price of Tools"      Michael Karas      02/21/12 21:15      
   The famous (and deadly) example:      Christoph Franck      02/29/12 03:38      

Back to Subject List