Some embedded code



  • Just reading some embedded ASM code and found this:

     

    ; WARNING

    ;    >> There appears to be a cock up in #define

    ;    >> When defining a register alias, such as #define Fred R1
    ;       or defining flags, such as #define Flag    Reg,Bit
    ;       do not add ANYTHING after the register name
     

     



  • New Thread Theme!

    Profanity in comments & code!


     



  • Put this little gem in one of our files changelogs yesterday:

     

    '  2007-08-06   Daid    Got rid of the old translation module. How did that monster survive anyhow? New one doesn't drive you insane. 



  • I've preserved this comment in one of our header files because it makes me laugh every time I see it.

     

    // Print out the tabs for all the pages up to the next one after current.
    // TODO rewrite the above comment to make some goddamned sense.



  • Something that i keeping scratching my head over is I don't get this  cock up



  • @Helix said:

    Something that i keeping scratching my head over is I don't get this  cock up

    There are pills to help you with that.


Log in to reply