• Libray File in C51?
    Hi! I'd like to hide a code snippet in a large program I'm supplying to a customer. Normally, I compile the code snippet to a library file and invoke it from the main file, but how can I hide the snippet...
  • Poll: Just for fun
    If you could assign function to the *reserved A5 instruction in the 8051, what would it be? My vote: Choice 1, movx dptr,@dptr+a Choise 2, dec dptr *From what I recall, this instruction is reserved...
  • Having fun with STR9 context switch for the RealView compiler
    Hello all, If you are interested, I am working on a new personal project - an ARM9 scheduler ("Sand Storm", but the name is still volatile. It will inherit a lot from sourceforge.net/.../, however...
  • Convincing the optimizer (another fun bit of code) to optmize?
    I'm a bit curious as to why this bit of code wasn't AS optimized as it would normally be. I have written compilers, so I am not clueless it's just strange the optimizer didn't optimize out some of this...
  • "using 0" and R0 fun (repost with product field filled in this time)
    With apologies for my oversight, I repost this for the benefit of someone searching the forum by product. We just figured out that placing "using 0" after an interrupt handler definition is a bad idea...