• 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;                  ...
  • 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...
  • Selectively disable optimization on macro?
    I have a macro: #define EnterCritical() do { SP++; *(unsigned char idata *)(SP-1) = IE; EA = 0; } while (0); that I call multiple times (along with its complement, ExitCritical()) in a particular...