• compiler warning in function with embedded assembly
    Note: This was originally posted on 9th May 2012 at http://forums.arm.com I'm using inline ARM assembly in C++ functions and I was wondering how to avoid "control reaches end of non-void function" warnings...
  • compiler warning in function with embedded assembly
    Note: This was originally posted on 9th May 2012 at http://forums.arm.com I'm using inline ARM assembly in C++ functions and I was wondering how to avoid "control reaches end of non-void function" warnings...
  • problem in Generating random nmber using rand() function in embedded c
    i modified the example random number generation program from keil help section. keil example program Code: #include <stdlib.h> #include <stdio.h> /* for printf */ void tst_rand (void) { int i;...
  • problem in Generating random nmber using rand() function in embedded c
    i modified the example random number generation program from keil help section. keil example program Code: #include <stdlib.h> #include <stdio.h> /* for printf */ void tst_rand (void) { int i;...
  • Assembly code embedded in C code
    Hi all, I am using the chip C8051F020 manufactured by Cygnal Integrated Products. My compiler is C51. How can I include a assembly code in the C code to implement a clock of 8MHz. I tried using for...