• Declare function that doesn't automatically save register when called.
    Hi all, In Keil C51 compiler, is there any way to declare a function that doesn't automatically save registers (acc, b, dptr, r0-r7...) when called? I want to do it manually. In SDCC, I can use the attribute...
  • Declare function that doesn't automatically save register when called.
    Hi all, In Keil C51 compiler, is there any way to declare a function that doesn't automatically save registers (acc, b, dptr, r0-r7...) when called? I want to do it manually. In SDCC, I can use the attribute...
  • HardFault after calling math function
    Hi all, I use µVision 4.73 evaluation version. My target device is LPC4357 (cortex M4). All works fine, except when I use floating poit math. volatile float F; #include <math.h> int main(void...
  • HardFault after calling math function
    Hi all, I use µVision 4.73 evaluation version. My target device is LPC4357 (cortex M4). All works fine, except when I use floating poit math. volatile float F; #include <math.h> int main(void...
  • How to call a function after a specific clock period
    hi I am using 89c51. for using serial port I am using these commands SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD = 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xfd; ...