• Silly assembler optimizations
    Hello! I am trying to write a simple delay function in inline assembler, but no matter how hard I try, the complier always modifies my assembly code. My original BNE LOOP command was compiled into...
  • optimization problem of c51
    hi all I am working with keil ide. And cygnal 8051f120,my compiler version is 7.20, I am facing some problems with the optimization .my code size is above 36 kb, when I use optimization level default...
  • C51/V6.22 OPTIMIZING-PROBLEM
    We currently use the µVision 1 environment includig C51/V5.xx. We now want to update to µVision-2 / C51 V6.22. Cause we want to be sure the new version works without any problems we are currently...
  • Another Optimization Problem
    Greetings all, I'm fairly new to the Keil Toolset and had a question regarding the C51 code optimization levels. It seems that on Level 8: Reuse Common Entry Code (default), the main() entry function...
  • Division optimization problem
    Hello everyone, I implemented a Moving average routine in Keil C51. And as I read else where that whenever I divide the number with 2^n the compiler uses shift operation, so that code is small and...