• Assembly routines producing NOP's
    I'm new to the Keil compiler and am having problems with assembly subroutines. The program compiles and links just fine but when I download the debug file to my Metalink emulator the assembly subroutines...
  • 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...
  • __SMLALD() produces suboptimal code
    Note: This was originally posted on 19th August 2013 at http://forums.arm.com __SMLALD() as implemented in core_cm4_simd.h (V3.20) produces suboptimal code (at leas with GCC). Example: sample = *samp2_p...
  • 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...