• Compiler produces inefficient assembly code?
    I and a co-worker are programming an 8051 uController in C. Last week we were struggling with a poor perfomance time of our program. So I talked to the assembly guy and we figured that our way of software...
  • rfft_fast_f32 Not Producing Expected Output
    I have been trying to use the RFFT functions in the CMSIS DSP library which has been giving me some confusing outputs. From the documentation : Looking at the data, we see that we can uniquely represent...
  • No hex file produced!!
    Hello, I'm using µVision2 to write my code for the P89C664 µC. I have written so far a few example programs, and compiled and simulated them. Now i want to download the .hex file into the µC on my...
  • fmod producing strange results
    Hello I am getting strange results for the fmod function in math.h. float f, g; for (f = 0.0; f < 4.0 * PI; f += (5.0 * PI / 180.0)) { g = fmod(f, (2.0 * PI)); printf("%f %f\r\n", f * 180.0...
  • Compiler not producing OBJ files
    Using uVision, I'm not getting .obj files produced by C51. A51 produces .obj files OK in the same project. The example projects do produce .obj files, so the cause is likely project settings. A .LST...