• __asm uint32_t test (uint32_t data) problem
    Want to declare an assembler function (to be called from standard C) for a Cortex-M3 (LPC1343) like this: __asm uint32_t RevBytes (uint32_t data) { rev r0, r0 bx lr } Using armcc.exe V5.06...
  • __asm uint32_t test (uint32_t data) problem
    Want to declare an assembler function (to be called from standard C) for a Cortex-M3 (LPC1343) like this: __asm uint32_t RevBytes (uint32_t data) { rev r0, r0 bx lr } Using armcc.exe V5.06...
  • Inline __asm function
    I want from my C code to read value of PC, an for that I want write inline __asm function. I wrote this           int Get_Add(void)                  {                       int Add;                  ...
  • Inline __asm function
    I want from my C code to read value of PC, an for that I want write inline __asm function. I wrote this int Get_Add(void) { int Add; __asm { mov Add, PC} return Adresa; } But I got error...
  • Inline __asm function
    I want from my C code to read value of PC, an for that I want write inline __asm function. I wrote this           int Get_Add(void)                  {                       int Add;                  ...